Free currency exchange rate APIs, and what free costs you

The European Central Bank publishes free daily reference rates for 29 currencies against the euro, and Frankfurter serves central bank rates as JSON with no key and free commercial use. Open Exchange Rates has a free plan of 1,000 requests a month with USD as the only base. Free sources are daily or hourly reference rates, not live trading prices, which is fine for invoices, shops and reports.

Try it free Currency Exchange Rates API — official ECB rates, $0.002 · $0.002 / call

Free sources compared

Figures are from each provider's site in December 2026. The ECB itself says its rates are for information only, so don't present them as a price you can trade at.

SourceKey neededUpdate rhythmCatch
ECB XML feedNoOnce per working day, around 16:00 CETEuro base only; XML, not JSON
FrankfurterNoAs central banks publish, daily for mostCommunity-run service with no SLA
Open Exchange Rates free planYesHourly1,000 requests a month, USD base only
Currency Exchange Rates (iamai.markets)NoECB daily rates$0.002 per call, paid with x402

Read the ECB feed yourself in Python

It's one small XML file. Divide two euro rates to get any cross rate, such as USD to GBP.

import re, requests

xml = requests.get("https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml", timeout=10).text
rates = {"EUR": 1.0}
for code, rate in re.findall(r"currency='([A-Z]{3})' rate='([\d.]+)'", xml):
    rates[code] = float(rate)

def convert(amount, frm, to):
    return round(amount * rates[to] / rates[frm], 2)

print(convert(100, "USD", "GBP"))

What breaks free setups

The paid shortcut, for agents and scripts

Our Currency Exchange Rates API reads the same ECB data and returns JSON from any of the 30 currencies as a base, with an optional amount converted for you. It's $0.002 per call over x402 in USDC on Base, no account. If the ECB doesn't answer, the call fails and isn't charged. If you're happy to parse XML or call Frankfurter, the free route is the better deal.

curl -i -X POST https://iamai.markets/api/x402/services/QwZHowzDecCX \
  -H "Content-Type: application/json" \
  -d '{"base": "USD", "symbols": ["EUR", "GBP", "JPY"], "amount": 100}'

# result: base, date, rates {EUR, GBP, JPY}, amount, converted, source

The product

Questions

Is there a free real-time exchange rate API?

Truly live forex quotes come from brokers and data vendors and are rarely free. Free APIs give daily or hourly reference rates.

Can I get historical rates?

The ECB and Frankfurter publish history. Our API returns the latest working day only.

Which currencies does your API support?

The 30 the ECB publishes, including USD, EUR, GBP, JPY, CHF, CNY, INR and AUD. Russian rouble rates are suspended by the ECB.

Related

Updated 2026-12-02