fxapi.app

Free currency exchange rate API

Try it

Select currencies above

API Endpoints

Single pair

Get the exchange rate between two currencies

/api/{base}/{target}.json
{
  "base": "USD",
  "target": "EUR",
  "rate": 0.9234,
  "timestamp": "2026-03-28T12:00:00Z"
}

All rates for a base

Get all exchange rates from a single base currency

/api/{base}.json
{
  "base": "USD",
  "timestamp": "2026-03-28T12:00:00Z",
  "rates": { "EUR": 0.9234, "GBP": 0.7891, "JPY": 149.3, ... }
}

Historical rates

Get daily rates for a date range with summary stats

/api/history/{base}/{target}.json?from=&to=
{
  "base": "USD", "target": "EUR",
  "from": "2026-01-01", "to": "2026-03-28",
  "count": 87,
  "stats": { "open": 0.92, "close": 0.93, "high": 0.95, "low": 0.91, "average": 0.93, "change": 0.01, "change_pct": 1.09 },
  "rates": [{ "date": "2026-01-01", "rate": 0.92 }, ...]
}

Supported currencies

List all available currency codes

/api/currencies.json

Features

Updated every 5 min
28,000+ currency pairs
No API key required
CORS enabled
JSON responses
Edge-cached globally