Is there a free forex API?
Yes, with limits. Open Exchange Rates gives 1,000 requests a month on USD only, Fixer and Currencylayer give 100 a month for non-commercial use, and ExchangeRate-API has a keyless daily feed. XE has no free tier. Our list of 7 free exchange rate APIs, with the keyless ones, is at /compare/free-exchange-rate-apis.
Reference rates are not trading quotes
Most forex APIs return reference or indicative rates, set once a day or once an hour from central banks and market sources. They are fine for pricing, invoices and reports. They are not quotes you can trade at, and none of the providers here promises that. For intraday bars and streaming, use a market-data provider.
How fast the rates update
| API | Free plan | Cheapest paid plan |
|---|---|---|
| ExchangeRate-API | Daily | $10 a month, hourly, 30,000 requests |
| Open Exchange Rates | Hourly, USD only | $12 a month, 10,000 requests, all bases |
| Fixer | Hourly, 100 requests a month | $14.99 a month, 10,000 requests |
| Currencylayer | Pages say daily and hourly | Same price ladder as Fixer |
| XE Currency Data | No free tier | $599 a year, daily, 10,000 requests a month |
Currency counts differ by page: Fixer and XE say 170+, Currencylayer says 174, and XE's general text says 220+. Ask for the pairs you need rather than trusting a headline count.
When to use a market-data provider instead
Use a market-data provider, not a reference-rate API, when you need intraday bars, streaming quotes or tick history, or when a price must match what a venue quoted at a moment. Alpha Vantage appears in the table for that reason. Use a reference-rate API for invoices, prices shown to customers, accounting and daily reports, where one agreed rate per day is the point.
The easy Narwhal call
This reads euro to dollar history for September 2026, with only the dates the rate was actually published.
A free Narwhal key comes with $10 of credit every month, with no end date and no card. Beyond that, a call costs $2 per 1,000 ($10 per 1,000 for company and filings data).
# Change: URL and key
url="https://api.narwhalapi.com"
url="$url/v1/fx/rates/EUR/observations"
curl --get \
"$url" \
--data-urlencode "currencies=USD" \
--data-urlencode "start_date=2026-09-01" \
--data-urlencode "end_date=2026-09-30" \
--data-urlencode "limit=100" \
-H "Authorization: Bearer YOUR_API_KEY"Provider shortlist
This is a focused comparison of providers already reviewed for Narwhal. It is not a claim that every FX API has been evaluated, and it does not treat indicative rates as executable quotes. This page is published by Narwhal.
Narwhal API
A connected reference-rate workflow across current rates, conversion, daily history, REST, and hosted MCP.
exchangerate.dev
Use exchangerate.dev for a dedicated currency API with extensive pair coverage and separate official-rate lookups.
Fixer
A dedicated exchange-rate API with broad documented currency coverage and plan-based update frequency.
Open Exchange Rates
A specialist JSON FX API with more than 200 currencies and long daily history.
ExchangeRate-API
Simple all-rates and pair-conversion endpoints, including a no-key daily option.
XE Currency Data API
Commercial FX workflows needing broad fiat, central-bank, crypto, or precious-metal coverage.
API Ninjas
A simple FX API alongside a very broad catalogue of unrelated APIs.
Alpha Vantage
FX alongside equities, commodities, technical indicators, and other market data.
Compare the options
Best fit is not feature parity. Check the evidence and limitation together.
| Provider | Best for | Evidence checked | Important limitation |
|---|---|---|---|
| Narwhal API | A connected reference-rate workflow across current rates, conversion, daily history, REST, and hosted MCP. | The live contract publishes current rates, decimal-safe conversion, and stored historical observations under one account and credit balance. | Coverage, freshness, and genuine historical gaps must be checked; the product does not promise executable bank or trading quotes. |
| exchangerate.dev | Use exchangerate.dev for a dedicated currency API with extensive pair coverage and separate official-rate lookups. | Its documentation covers 144 currencies, 10,296 pairs, daily history, government-published rate tables, REST, and MCP. | Indicative market rates differ from official published rates, and historical coverage varies by pair. |
| Fixer | A dedicated exchange-rate API with broad documented currency coverage and plan-based update frequency. | Its checked material documents 170 currencies, current and historical rates, conversion, fluctuation, and time-series workflows. | Rate semantics, base-currency access, update frequency, and endpoint availability depend on the selected plan. |
| Open Exchange Rates | A specialist JSON FX API with more than 200 currencies and long daily history. | Its documentation describes end-of-day history back to 1 January 1999 plus live, time-series, and conversion products. | Base currency, conversion, time-series, intraday, and bid/ask access vary materially by plan. |
| ExchangeRate-API | Simple all-rates and pair-conversion endpoints, including a no-key daily option. | Its official documentation covers Standard, Pair Conversion, enriched-data, and historical endpoints. | Open, free, and paid tiers differ in attribution, updates, history, limits, and redistribution terms. |
| XE Currency Data API | Commercial FX workflows needing broad fiat, central-bank, crypto, or precious-metal coverage. | XE documents 170+ currencies (its page also says 220+), alternate central-bank sources, conversion, and historical requests. | Packages, usage rights, caching, frequency, and request volume are commercially licensed and plan-specific. |
| API Ninjas | A simple FX API alongside a very broad catalogue of unrelated APIs. | Its checked documentation describes current and historical currency-pair endpoints with daily history extending to 1999. | The wider catalogue is not one financial-data model, and plan requirements must be checked per endpoint. |
| Alpha Vantage | FX alongside equities, commodities, technical indicators, and other market data. | Its documentation includes real-time exchange rates and intraday, daily, weekly, and monthly FX time series. | The product is much broader than Narwhal; entitlement and rate limits depend on the selected plan. |
Choose by requirement
Reference rates and conversion
Start with Narwhal when daily reference or indicative rates, deterministic decimal conversion, and MCP access cover the job.
Dedicated currency APIs
Compare Fixer, Open Exchange Rates, ExchangeRate-API, and XE when currency breadth, history, update frequency, or specialist commercial licensing drives the decision.
Intraday and streaming
Start with Alpha Vantage when the application is fundamentally a market-data workflow rather than a reference-rate lookup.
Long daily history
Compare Open Exchange Rates, API Ninjas, and ExchangeRate-API when the history window matters, then verify currencies, plans, licensing, and rate semantics.
Each detailed provider page lists the first-party documentation used, its evidence boundaries, and its review date. Reviewed: