Current exchange rates API reference
Request current rates by base and quote currencies.
One base unit equals each returned quote. REST and fx_ use the same schema.
Request
curl --request GET \
--url "https://api.narwhalapi.com/v1/fx/rates/USD?currencies=EUR,JPY" \
--header "Authorization: Bearer $NARWHAL_API_KEY"| Parameter | Rule |
|---|---|
base | Required uppercase circulating ISO 4217 code. |
currencies | Optional comma-separated list of 1–64 unique quote currencies. The base currency cannot appear in the list. Omit it for all supported quotes. The MCP tool takes a JSON array. |
Response
{
"base": "USD",
"market_session": "open",
"rates": [
{
"currency": "EUR",
"rate": "0.91090",
"timestamp": "2026-11-20T05:54:26.558140Z",
"stale": false
},
{
"currency": "JPY",
"rate": "159.19",
"timestamp": "2026-11-20T05:54:26.558140Z",
"stale": false
}
]
}Rates are ordered records, not dynamic keys. Every rate keeps its own timestamp and stale state.
Freshness
market_ is open, weekend, or interbank_. A weekend response can remain usable when its timestamp and stale state are clear.
Rates are live for every account, including accounts that only use free credit. The prices stream has ended; poll this route instead. Prices stream reference
Errors
400 invalid_ · 401 invalid_ · 404 currency_ · 429 rate_ · 402 insufficient_ · 503 upstream_
A currency code with an invalid format returns 400. A correctly formatted currency code that Narwhal does not serve returns 404.
Start with a free key
Free $10 credits every month, no card.Free $10 credits a month, no card.
Was this page helpful?