forex-historical
Retrieve historical ECB exchange rates for up to 30 major currencies from 1999 to present. Use for tax-date FX rates, expense reconciliation, or trend analysis.
Instructions
Historical ECB exchange rates — single date lookup or time-series range. Returns rates for up to 30 major currencies (EUR, GBP, JPY, CAD, CHF, CNY, AUD, KRW, etc.) from 1999-01-04 to present. Free, no key, sourced from Frankfurter/ECB. Use for: tax-date FX rates, historical expense reconciliation, multi-year trend analysis, point-in-time currency conversion. Weekends and holidays return the nearest prior business day. Complements forex-rates (real-time) with retrospective data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Date in YYYY-MM-DD format (e.g. '2023-03-15'). Use 'latest' for today's ECB rate. Historical data available from 1999-01-04. | |
| end_date | No | Optional end date YYYY-MM-DD for a time-series range. Max recommended range: 365 days. Returns rates keyed by date. | |
| base | No | Base currency ISO 4217 (e.g. USD, EUR, GBP). Default: USD. | |
| symbols | No | Specific currencies to return (e.g. ['EUR','GBP','JPY']). Omit for all 30 supported currencies. | |
| convert | No | Optional point-in-time conversion. E.g. {amount: 1000, from: 'USD', to: 'EUR'} at the requested date. |