Endpoints
All endpoints are read-only (GET), return JSON and are versioned under /v1. Base URL: https://api.currencyrest.com/v1
The source parameter
Without source, the rate comes from the highest-priority source available for the pair (default mode), with cross-rate calculation via USD/EUR when needed. With source, the rate comes strictly from that source — never a silent fallback. Sources: ecb, boe, fed, boj, fixed, binance, google-finance, tradingview, google-search.
GET
/convertConvert an amount
Convert an amount from one currency to another.
fromstring · requiredSource currency (e.g. EUR)tostring · requiredTarget currency (e.g. USD)amountnumber · requiredAmount to convertsourcestringSpecific source (optional)Requestbash
curl "https://api.currencyrest.com/v1/convert?from=EUR&to=USD&amount=100" \
-H "X-API-Key: your_api_key"200 OKjson
{
"from": "EUR",
"to": "USD",
"amount": 100,
"result": 116.07,
"rate": 1.1607,
"source": "ecb",
"timestamp": "2026-06-16T00:00:00.000Z"
}GET
/ratesAll rates for a base
Returns all available rates for a base currency.
basestringBase currency (default USD)sourcestringFilter to one source200 OKjson
{
"base": "EUR",
"source": "default",
"timestamp": "2026-06-16T09:00:00.000Z",
"rates": { "USD": 1.1607, "GBP": 0.8648, "JPY": 186.1, "EUR": 1 }
}GET
/rates/pairSingle pair rate
fromstring · requiredSource currencytostring · requiredTarget currencysourcestringSpecific source200 OKjson
{ "from": "EUR", "to": "GBP", "rate": 0.86483, "source": "ecb", "timestamp": "2026-06-15T00:00:00.000Z" }GET
/rates/sourcesSources for a pair
Lists the sources that currently have a rate for the pair.
200 OKjson
{ "from": "EUR", "to": "USD", "sources": ["ecb", "google-finance", "tradingview"] }GET
/historicalHistorical series
fromstring · requiredSource currencytostring · requiredTarget currencysourcestringFilter to one sourcestartDateISO dateRange startendDateISO dateRange endlimitnumberNumber of points (max 5000)200 OKjson
{
"from": "EUR",
"to": "USD",
"source": "all",
"count": 2,
"points": [
{ "rate": 1.1607, "source": "ecb", "timestamp": "2026-06-15T00:00:00.000Z" },
{ "rate": 1.1612, "source": "tradingview", "timestamp": "2026-06-14T17:00:00.000Z" }
]
}GET
/statusSource status
Live health of each source (operational / degraded / outage). Public, no key required.
200 OKjson
{
"overall": "operational",
"sources": [
{ "source": "ecb", "status": "operational", "latencyMs": 95, "lastCheckedAt": "..." },
{ "source": "binance", "status": "operational", "latencyMs": 290, "lastCheckedAt": "..." }
],
"services": []
}