Query exchange-rate history by day, date range, hour, or daily OHLC. Choose a base currency and the pairs you need, then receive structured JSON ready for applications, analysis, and charts.
Get a Free API Key Read the API ReferenceRequest one date in YYYY-MM-DD format or use yesterday. Free plans include the latest 30 days; paid plans unlock older stored history.
Retrieve daily rates across a timeframe. Free plans support recent ranges up to 5 days and one quote currency; paid plans support up to 365 days and multiple currencies.
Receive 24 observations per day for one quote currency. Free plans include the latest 2 days; paid plans can query stored hourly data from June 19, 2025.
Get open, high, low, and close values for one pair and GMT trading day. Free plans include the latest 5 days; paid plans unlock older stored OHLC.
Use consistent historical rates across customer-facing products, financial operations, and market analysis without maintaining your own currency archive.
Plot currency movements and give customers useful historical context.
Convert transactions and balances using rates from the relevant date.
Evaluate strategies against daily, hourly, or OHLC currency observations.
Reproduce past conversions with a clear date, base, and quote currency.
Choose a historical date, base currency, and the currencies you need. ForexRateAPI returns structured JSON that is easy to use in applications, spreadsheets, and data pipelines.
The free plan includes the latest 30 days of daily history, so you can test the integration before choosing a paid plan.
See parameters and response fieldsGET /v1/2026-03-17
?base=USD
¤cies=EUR,GBP,JPY
{
"base": "USD",
"rates": {
"EUR": 0.9291,
"GBP": 0.7932,
"JPY": 148.67
}
}
Swap 2026-03-17 for any supported date, or use yesterday for the most
recent close. A single pair is just ?base=USD¤cies=EUR.
Start with recent data on the free plan. Upgrade when you need older history, longer ranges, or multiple currencies in one timeframe.
| Data | Free plan | Paid plans |
|---|---|---|
| Daily history | Latest 30 days | Older stored dates |
| Date ranges | Recent ranges up to 5 days and one quote currency | Up to 365 days and multiple currencies |
| Hourly observations | Latest 2 days | Stored history from June 19, 2025 in windows up to 7 days |
| Daily OHLC | Latest 5 days and one currency pair | Older stored dates |
Every request requires an API key and counts toward your plan’s monthly quota. See plans and quotas or the complete API reference.
Create an API key, choose a date and currency pair, and make your first request.
Get a Free API Key Use ForexRateAPI with Python