Get historical exchange rates
get_historical_ratesFetch historical exchange rates for a specific past date, with optional base currency and symbol filters, to analyze past currency values.
Instructions
Returns exchange rates for a specific past date. Major fiat currencies go back to 1984-11-28; newer currencies and crypto start from their own listing date (see list_currencies with detailed=true). Starter plan and above (any paid plan).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Base currency code the rates are expressed against (e.g. 'EUR'). Default is USD. Changing the base requires the Starter plan or above (any paid plan). | |
| date | Yes | Date in YYYY-MM-DD format. | |
| symbols | No | Comma-separated currency codes to return, e.g. 'EUR,GBP,PKR' or 'BTC,ETH' or 'XAU,XAG'. Case-insensitive. Omit to get every supported currency (1000+ entries) — prefer passing symbols to keep responses small. Use list_currencies to look up a code. |