Skip to main content

FX Rates API — Free Forex Exchange Rates

The XRates FX Rates API delivers live and historical foreign exchange rates for 45+ currencies via a simple JSON REST API. Powered by the European Central Bank (ECB), Central Bank of Russia (CBR) and other trusted providers.

Why Choose XRates for FX Rates

Free forever tier

100 requests/month free, no credit card. Ideal for prototyping, hobby projects and small integrations.

Trusted sources

Rates aggregated from ECB, CBR, FloatRates, fawazahmed0 and IMF with priority-based fallback for maximum reliability.

Full FX toolkit

Latest rates, historical data, currency conversion, time-series and fluctuation analysis — all through one API.

Simple JSON REST

Clean JSON responses, Bearer-token authentication, descriptive error codes. Works with any programming language.

Get FX Rates in 10 Seconds

A single HTTP request returns the latest FX rates in JSON. Replace YOUR_API_KEY with your token from the dashboard.

cURL

curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://xratesapi.com/api/v1/latest?base=USD&symbols=EUR,GBP,JPY"

Response

{
"success": true,
"base": "USD",
"date": "2026-05-12",
"rates": { "EUR": 0.9214, "GBP": 0.7843, "JPY": 154.32 }
}

FX Rates API Endpoints

Available FX Rates API endpoints
Endpoint What it returns
/api/v1/latestLatest FX rates for any base currency
/api/v1/{date}Historical FX rates for a specific date
/api/v1/convertConvert an amount between two currencies
/api/v1/timeseriesDaily FX rates over a date range
/api/v1/fluctuationRate changes and % volatility between dates
/api/v1/currenciesList all supported currencies with ISO codes and names

Popular FX Pairs

Jump into any major FX pair for live rates, historical data and code samples:

FX Rates API — FAQ

What is an FX Rates API?

An FX Rates API (foreign exchange rates API) is a REST service that returns current and historical currency exchange rates in JSON. Developers integrate it to display live prices, convert currencies, or analyze forex trends.

Is XRates FX Rates API free?

Yes. The free tier includes 100 API requests per month with access to latest rates for 45+ currencies. No credit card required to sign up.

How often are FX rates updated?

Rates are refreshed every 4 hours from the European Central Bank, Central Bank of Russia, FloatRates and other official providers.

Which currencies are supported?

45+ major and emerging currencies including USD, EUR, GBP, JPY, CHF, CAD, AUD, NZD, CNY, RUB, INR, BRL, MXN, ZAR, SEK, NOK, SGD, HKD, and more.

Start Using the FX Rates API Today

100 free requests per month · 45+ currencies · Trusted sources

Get Your Free API Key