Free historical exchange rates by API

The easiest free source is Frankfurter (api.frankfurter.dev), which serves the European Central Bank's reference rates for any date since 1999 with no key, including time series. You can also download the ECB's own history file and read it yourself. Our Historical Exchange Rates API serves the same ECB data with any base currency, a note when a date falls on a weekend, and min, max, mean and change for a range, for $0.003 per call.

Try it free Historical Exchange Rates API — ECB rates since 1999, $0.003 · $0.003 / call

Free sources compared

Checked December 2026.

SourceKeyHistoryNotes
FrankfurterNoneECB rates since 1999, time seriesOlder api.frankfurter.app URLs now redirect to api.frankfurter.dev
ECB history file (eurofxref-hist)NoneEvery fixing since 1999 in one CSVYou parse and compute cross rates yourself
exchangerate.hostNow needs an apilayer keyPer its plansOld keyless tutorials no longer work
Historical Exchange Rates (iamai.markets)None; x402ECB since 1999-01-04, ranges up to a year$0.003 per call

Things that surprise people

One date, or a whole range

A single date returns rate_date next to requested_date, so you can see when the previous fixing was used. Ranges can cover up to one year per call. Currencies the ECB didn't quote on that date are refused and not charged.

curl -i -X POST https://iamai.markets/api/x402/services/UrX8-O3z1qRQ \
  -H "Content-Type: application/json" \
  -d '{"date": "2020-03-16", "base": "USD", "symbols": ["EUR", "GBP", "JPY"]}'

# Range: {"start": "2024-01-01", "end": "2024-12-31", "base": "USD", "symbols": ["EUR"]}
# returns a daily series plus summary: first, last, min, max, mean, change_pct

Which to pick

If you can call a free endpoint from your code, Frankfurter is excellent and costs nothing. Pay per call when you want an AI agent or a no-code flow to get a ready summary, such as the yearly average rate for a tax report, without writing the maths.

The product

Questions

Which rate should I use for accounting?

Ask your accountant or tax authority; many accept ECB reference rates or a central bank rate. Use one source consistently.

Are there rates before 1999?

Not from the ECB, since the euro started in 1999. Use your national central bank for older data.

How fresh is today's rate?

The ECB publishes in the afternoon CET on working days. Our copy of the file is cached for up to a day.

Related

Updated 2026-12-02