Historical exchange rates
getHistoricalReturns the exchange rates for a specific date. Historical data is available back to 1999. The date must be at least one day in the past.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Date to retrieve historical rates for (format `YYYY-MM-DD`). | |
| type | No | Filter the returned currencies by type. | |
| currencies | No | Comma-separated list of currency codes to include (e.g. `EUR,USD,CAD`). The array form `currencies[]=EUR¤cies[]=USD` is also accepted. By default all supported currencies are returned. | |
| base_currency | No | The base currency that all returned values are relative to. Defaults to `USD`. |