---
title: "Current Exchange Rates API Reference | Narwhal API"
description: "Request current exchange rates by base and quote currencies with per-rate timestamps and freshness."
url: "https://narwhalapi.com/docs/api/fx/rates"
---

> Index of every Narwhal page and doc for AI readers: [llms.txt](https://narwhalapi.com/llms.txt)

# Current exchange rates API reference

Request current rates by base and quote currencies.

One base unit equals each returned quote. REST and `fx_get_rates` use the same schema.

## Request

REST

```
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

200 OK

```
{
  "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_session` is `open`, `weekend`, or `interbank_closed`. 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](https://narwhalapi.com/docs/api/prices-stream.md)

## Errors

`400 invalid_query` · `401 invalid_api_key` · `404 currency_not_supported` · `429 rate_limit_exceeded` · `402 insufficient_credits` · `503 upstream_unavailable`

A currency code with an invalid format returns 400. A correctly formatted currency code that Narwhal does not serve returns 404.

[Read errors and credits](https://narwhalapi.com/docs/errors.md) · [View coverage](https://narwhalapi.com/coverage.md#fx) · [Exchange rate API](https://narwhalapi.com/api/fx.md)

## Start with a free key

Free $10 credits every month, no card.

[Get a free API key](https://narwhalapi.com/signup)

Was this page helpful?
