Frankfurter API
Free currency exchange rate API using European Central Bank data — no key required.
What it does
Frankfurter is a free, open-source currency API served from the European Central Bank’s published reference rates. It does latest rates, historical rates for any past date, time series over a range, and conversion — with no key and no rate limit.
Base URL
Authentication
None. No key, no sign-up, no quota. The project is open source and can be self-hosted.
Code examples
curl -s "https://api.frankfurter.dev/v1/latest?base=USD&symbols=EUR,GBP,JPY" curl -s "https://api.frankfurter.dev/v1/2020-01-01..2020-12-31?base=EUR&symbols=USD"
import requests
r = requests.get("https://api.frankfurter.dev/v1/latest",
params={"base": "GBP", "symbols": "NGN"}, timeout=10)
print(r.json()["rates"]["NGN"])Rate limits & quotas
No rate limit is enforced, but be considerate — cache, since rates only change once per business day. The ECB publishes rates around 16:00 CET on working days, so there is no data for weekends or Target holidays — a request for such a date returns the previous working day’s rates.
Key response fields
| rates | Map of currency → rate vs the base (or nested by date for a range) |
| base | Base currency (default EUR) |
| date | The date the returned rates apply to |
| amount | Echoed when you pass ?amount= for conversion |
| start_date / end_date | Bounds of a time-series response |
Common errors
| 404 | Malformed path or a date before 1999 (ECB data start). |
| 422 / not found | Unknown currency code in base or symbols. |
| (weekend date) | Not an error — you get the most recent working-day rates. |
When to use it (and alternatives)
The best zero-friction choice for FX in side projects, invoices and dashboards, and the only one here with free historical data and no key. Its limitation is coverage: ~30 major currencies, business days only. For 160+ currencies use ExchangeRate-API or Open Exchange Rates.
FAQ
Why is there no rate for last Saturday?
The ECB only publishes on working days. Frankfurter returns the previous working day’s rates for weekend and holiday dates — check the date field to see which day you actually got.
Which currencies are covered?
About 30 — the ones in the ECB euro reference set (USD, GBP, JPY, CHF, AUD, CAD, CNY, INR, and so on). Exotic and most emerging-market currencies are not included.
Did the domain change?
Yes — api.frankfurter.dev is current; the older frankfurter.app host may still resolve but use the .dev domain and the /v1 prefix.
New to APIs?
Short guides for working with this API — and any other.