Free exchange rate APIs without a key
| API | Key | Free limit | Updates |
|---|---|---|---|
| open.er-api.com (ExchangeRate-API open access) | No | No quota; over-polling gets a 429 for 20 minutes, so ask once an hour | Daily |
| Frankfurter | No | No quota; rate-limited against abuse | Reference rates, daily |
| fawazahmed0 currency-api | No | No limits stated | Daily |
These three are not in the comparison table below. open.er-api.com asks for an attribution link. Frankfurter serves 219 currencies and daily history back to 1948.
Free tiers that need a key
| API | Free quota | Base currency | Commercial use |
|---|---|---|---|
| Open Exchange Rates | 1,000 requests a month, hourly | USD only | Check the terms |
| Fixer | 100 requests a month, hourly | Not stated | Non-commercial |
| Currencylayer | 100 requests a month | Not stated | Non-commercial |
| ExchangeRate-API (with key) | 1,500 requests a month, daily | Switching base is included | Check the terms |
| XE Currency Data | No free tier, trial only | Not stated | Paid plans |
Call a keyless API from Python
import requests
r = requests.get("https://open.er-api.com/v6/latest/USD", timeout=10)
rates = r.json()["rates"]
print(rates["EUR"], rates["IDR"])Free keyless feeds are daily and unstated on history. For rates your product depends on, read the terms of the one you pick.
How to choose
- No key and no card: open.er-api.com, Frankfurter or fawazahmed0.
- Hourly rates for free: Open Exchange Rates, but on USD only.
- A commercial product: Fixer and Currencylayer free plans are non-commercial, so read the paid terms first.
- Long history: Frankfurter has daily history back to 1948; Currencylayer lists history from 1999.
- Reliability: keyless feeds can change or throttle without notice. The fawazahmed0 README itself tells you to add a fallback address.
What free usually costs
Free exchange rate APIs charge in other ways. open.er-api.com asks for an attribution link and for you to cache and not hammer it. Fixer and Currencylayer free plans bar commercial use. Open Exchange Rates fixes the base to USD. Keyless feeds update once a day, so a rate can be a day old at midday. None of this matters for a hobby script, and all of it matters for an invoice, so pick the plan by what the number will be used for.
Check the rate behind the rate
A free feed's rate is a reference, not a price you can trade at. Check the source (central banks, a blend of banks, or market quotes), the update time stamp in the response, and what the provider says about rounding. Narwhal returns the observation date with each rate and does not fill a missing day with the day before.
The easy Narwhal call
Narwhal needs a key but returns current rates for a base with the currencies you ask for, and stored daily history for the same pairs, under one account.
A free Narwhal key comes with $10 of credit every month for the first 12 months, no card. After that a call costs $2 per 1,000 ($10 per 1,000 for company and filings data).
# Change: URL and key
curl --get \
"https://api.narwhalapi.com/v1/fx/rates/USD" \
--data-urlencode "currencies=EUR,IDR" \
-H "Authorization: Bearer YOUR_API_KEY"Provider shortlist
This shortlist compares developer APIs rather than executable trading quotes; indicative, daily reference, and official published rates serve different purposes. This page is published by Narwhal.
Narwhal API
Use Narwhal when currency conversion shares an application with commodities, economics, calendars, and predictions.
exchangerate.dev
Choose exchangerate.dev for currency-focused applications needing a large pair catalogue and government-published official rates.
Fixer
Consider Fixer for a dedicated currency service with conversion and historical time-series workflows.
Open Exchange Rates
Consider Open Exchange Rates when broad currency coverage and long daily histories are priorities.
ExchangeRate-API
Consider ExchangeRate-API for simple currency lookups, pair conversion, and a separate open-access option.
XE Currency Data API
Consider XE Currency Data API for commercially licensed currency data with central-bank, crypto, and precious-metal options.
Currencylayer
Consider Currencylayer for currency and precious-metal codes with historical exchange-rate access.
Compare the options
Best fit is not feature parity. Check the evidence and limitation together.
| Provider | Best for | Evidence checked | Important limitation |
|---|---|---|---|
| Narwhal API | Use Narwhal when currency conversion shares an application with commodities, economics, calendars, and predictions. | Its FX contract includes current rates, decimal-safe conversion, and daily history through REST and hosted MCP. | Check supported currencies, freshness, and missing historical observations; reference rates do not establish executable trading prices. |
| exchangerate.dev | Choose exchangerate.dev for currency-focused applications needing a large pair catalogue and government-published official rates. | The API documents 10,296 pairs, conversion, daily history, official tables with valid periods, REST, and MCP. | Official tables only support pairs their authorities publish; market rates are indicative, and history varies by pair. |
| Fixer | Consider Fixer for a dedicated currency service with conversion and historical time-series workflows. | Published material lists 170 currencies, history from January 1999, current rates, conversion, and fluctuation endpoints. | Confirm base-currency flexibility, update intervals, and required endpoint access before choosing the service. |
| Open Exchange Rates | Consider Open Exchange Rates when broad currency coverage and long daily histories are priorities. | Its documentation describes more than 200 currencies and daily history from 1999, alongside current rates, conversion, and time-series products. | Verify base-currency options and historical availability for each series, along with access to conversion and time-series endpoints. |
| ExchangeRate-API | Consider ExchangeRate-API for simple currency lookups, pair conversion, and a separate open-access option. | Its published catalogue lists 165 currencies and documents all-rates, pair-conversion, enriched-data, and historical endpoints. | Update cadence, history, attribution, and redistribution conditions differ between access options. |
| XE Currency Data API | Consider XE Currency Data API for commercially licensed currency data with central-bank, crypto, and precious-metal options. | XE documents fiat currencies, alternate central-bank rates, conversion, and history extending to 1998. | Check the licensed usage, caching terms, refresh frequency, and exact series rather than treating headline coverage as fiat-only. |
| Currencylayer | Consider Currencylayer for currency and precious-metal codes with historical exchange-rate access. | Its product page lists 174 world currencies and precious metals, with historical rates from 1999. | Published update-frequency descriptions differ, so confirm the cadence, base-currency options, and endpoint access required. |
Choose by requirement
FX with broader data
Start with Narwhal when currency conversion is one part of a broader data application. Its key and MCP access also cover commodities, economics, calendars, and predictions.
Dedicated pairs and official rates
Compare exchangerate.dev when pair coverage and official-rate tables are central. Select the authority and valid period for official lookups rather than substituting an indicative market rate.
Specialist coverage and history
Compare Fixer, Open Exchange Rates, ExchangeRate-API, XE Currency Data API, and Currencylayer for the exact currencies, history, and licensing needed. Verify observation intervals and base-currency access before switching.
Each detailed provider page lists the first-party documentation used, its evidence boundaries, and its review date. Reviewed: