get_historical_exchange_rates
Retrieve historical currency exchange rates for specific dates or date ranges. Specify a base currency and optionally filter by target currencies to access past foreign exchange data for analysis and reporting.
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 ISO4217 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 ISO4217 codes for which rates against the base currency will be provided. If not provided, all supported currencies will be shown. |