Reference rates API reference
Overnight reference rates: SOFR and its averages, EFFR, ESTR, SONIA, SARON and TONAR
Overview
The overnight benchmark rates that loans, swaps and floating rate notes are priced from, one call per country. The United States has SOFR, its 30, 90 and 180 day averages and the effective federal funds rate (EFFR). The euro area has the euro short-term rate (ESTR), the United Kingdom has SONIA, Switzerland has SARON and Japan has TONAR. Every request needs a Bearer key, and REST and MCP draw on one credit balance.
A country is its ISO 3166 alpha-3 code, with EMU for the euro area. The answer lists the newest day Narwhal holds for each rate of that country. rate_ is a string with the digits the publisher prints, so 3.90 stays 3.90. date is the day the rate applies to, source names the publisher, and volume_ is the transaction volume behind the rate in billions of its currency, where the publisher gives one.
Each rate is also a catalogue series named refrate:<rate>, for example refrate:sofr or refrate:estr, with its whole daily history. Read the history with the any-series routes, not with this route.
Base URL: https:/. Each route below is an MCP tool of its own, with the same parameters.
What every account gets
| What | Every account |
|---|---|
| Reference rates | One Economics call |
See pricing for what a call costs. A request is charged at the price of its API unless a route says otherwise; the dividends, splits and registrations calendars are Companies data, $10 per 1,000 calls.
- The sources are the Federal Reserve Bank of New York (SOFR, its averages and EFFR, from its Markets Data API), the European Central Bank (ESTR, from its Data Portal), the Bank of England (SONIA, from its Interactive Statistical Database), the Swiss National Bank (SARON, from its data portal) and the Bank of Japan (TONAR, from its time series data search). All are free public releases, read directly from the publisher.
- History starts where each publisher's does: EFFR on 3 July 2000, SOFR on 2 April 2018, the SOFR averages on 2 March 2020, ESTR on 1 October 2019, SONIA on 2 January 1997, SARON on 24 August 2009 and TONAR on 5 January 1998.
- Rates are read as the publishers release them, so the newest day differs by rate. The New York Fed and ECB publish for the previous business day. The Bank of England and the Bank of Japan reach us one to two days after the day they apply to. The Swiss National Bank's daily feed runs about a week behind.
datealways tells you which day you have. - SARON is printed to two decimals in the Swiss National Bank's daily series, so the daily value here is rounded the same way.
volume_is null for SONIA, SARON and TONAR, whose publishers give no volume in the series we read, and for the SOFR averages.bn - The Euro Interbank Offered Rate (Euribor) is not served. Its administrator, EMMI, offers delayed data only after registration and licenses it for non-commercial use, so we do not read it.
published_is when Narwhal first read the value, in UTC. It is null for history loaded in bulk, which has no publication time. A day the publisher revises later keeps its firstat published_and shows the revised rate.at - A country with no reference rate, and a country whose rates are not stored yet, is 404 not_found and is not charged. These figures are republished from public sources, for analysis, not financial, investment, legal or tax advice.
Endpoints
Every route is a GET and needs your key in the Authorization: Bearer header. The examples show the shape of an answer, not live data.
Get Reference Rates
GET /v1/economics/{country}/reference-rates
The example is the United States. An answer for another country has the same fields with that country's rates: one rate for the euro area, the United Kingdom, Switzerland and Japan.
MCP: tool economics_.
Parameters
| Parameter | Where | Required | Type | Meaning |
|---|---|---|---|---|
country | path | Yes | string | ISO 3166 alpha-3 country code, or EMU for the euro area, for example USA. |
Response fields
| Field | Type | Sent | Meaning |
|---|---|---|---|
country | string | Always | The country asked for, or EMU for the euro area. |
rates | list of object | Always | The newest day held of each rate of the country, in the order the publisher lists them. |
rates[].rate | one of sofr, sofr_30d, sofr_90d, sofr_180d, effr, estr, sonia, saron, tonar | Always | The rate's key, also its catalogue series: refrate:<rate>. |
rates[].name | string | Always | Name as our symbol list holds it. |
rates[].tenor | string | Always | overnight, or the length of an average, for example 30-day average. |
rates[].date | string | Always | The day the rate applies to, as the publisher dates it. |
rates[].rate_ | string | Always | The rate in percent per year, with the digits the publisher prints. |
rates[].volume_ | string | Always | The transaction volume behind the rate, in billions of the rate's currency; null where the publisher gives none. |
rates[].source | string | Always | The publisher of the rate, for example Federal Reserve Bank of New York. |
rates[].published_ | date-time | Always | When Narwhal first read the value, UTC; null for history loaded in bulk. |
curl -H "Authorization: Bearer $NARWHAL_API_KEY" \
"https://api.narwhalapi.com/v1/economics/USA/reference-rates"{
"country": "USA",
"rates": [
{
"rate": "sofr",
"name": "Secured Overnight Financing Rate",
"tenor": "overnight",
"date": "2026-11-18",
"rate_percent": "3.90",
"volume_bn": "3134",
"source": "Federal Reserve Bank of New York",
"published_at": "2026-11-19T12:10:04Z"
},
{
"rate": "sofr_30d",
"name": "SOFR 30-day average",
"tenor": "30-day average",
"date": "2026-11-19",
"rate_percent": "3.92233",
"volume_bn": null,
"source": "Federal Reserve Bank of New York",
"published_at": "2026-11-19T12:10:04Z"
},
{
"rate": "sofr_90d",
"name": "SOFR 90-day average",
"tenor": "90-day average",
"date": "2026-11-19",
"rate_percent": "3.83811",
"volume_bn": null,
"source": "Federal Reserve Bank of New York",
"published_at": "2026-11-19T12:10:04Z"
},
{
"rate": "sofr_180d",
"name": "SOFR 180-day average",
"tenor": "180-day average",
"date": "2026-11-19",
"rate_percent": "3.75612",
"volume_bn": null,
"source": "Federal Reserve Bank of New York",
"published_at": "2026-11-19T12:10:04Z"
},
{
"rate": "effr",
"name": "Effective Federal Funds Rate",
"tenor": "overnight",
"date": "2026-11-18",
"rate_percent": "3.88",
"volume_bn": "88",
"source": "Federal Reserve Bank of New York",
"published_at": "2026-11-19T12:10:04Z"
}
]
}Errors
Errors use the shared problem shape with a request_. See Errors and credits for the shape and the credit headers. Failed requests are not charged.
| Code | Status | Meaning |
|---|---|---|
invalid_ | 400 | The country is not a three letter ISO 3166 alpha-3 code or EMU. Not charged. |
not_ | 404 | The country has no reference rate, or none is stored for it yet. Not charged. |
insufficient_ | 402 | Your credit balance is less than the request costs. |
economics_ | 503 | The stored data cannot answer right now. Not charged. |
Was this page helpful?