get_historical_exchange_rates
Retrieve historical currency exchange rates for a specific date or range using the Frankfurter API. Specify base and target currencies to filter results or return all supported currencies. If exact rates are unavailable, the closest previous date’s rates are provided.
Instructions
Returns historical exchange rates for a specific date or date range. If the exchange rates for a specified date is not available, the rates available for the closest date before the specified date will be provided. Either a specific date, a start date, or a date range must be provided. The symbols can be used to filter the results to specific currencies. If symbols are not provided, all supported currencies will be returned.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
base_currency | Yes | A base currency code for which rates are to be requested. | |
end_date | No | The end date, of a date range, for which the historical rates are requested in the YYYY-MM-DD format. | |
specific_date | No | The specific date for which the historical rates are requested in the YYYY-MM-DD format. | |
start_date | No | The start date, of a date range, for which the historical rates are requested in the YYYY-MM-DD format. | |
symbols | No | A list of target currency codes for which rates against the base currency will be provided. If not provided, all supported currencies will be shown. |