---
title: "Interest rates API | Narwhal API"
description: "Get government yield curves across nine countries and areas through REST and MCP. Read one source date or a paginated history, with decimal percent strings."
url: "https://narwhalapi.com/api/economics/rates"
---

All APIs

# Interest rates API

Get government yield curves across nine countries and areas through REST and MCP. Read one source date or a paginated history, with decimal percent strings.

[Get a free API key](https://narwhalapi.com/signup)
[Read the docs →](https://narwhalapi.com/docs/api/economics.md)

## First request

### Get a yield curve

```
curl --request GET \
  --url "https://api.narwhalapi.com/v1/economics/GBR/yield-curve?date=2026-09-10&maturity=2y%2C10y" \
  --header "Authorization: Bearer $NARWHAL_API_KEY"
```

## Endpoints

GET Government bond yield curves`/v1/economics/{country}/yield-curve`

One observation for a country: the latest, or the exact source date you ask for.

#### Parameters

- `country` required Three-letter code: USA, GBR, DEU, JPN, CAN, SWE, NOR, AUS, EMU.
- `date` optional Omit for the latest admitted observation. A supplied value selects that exact period; unavailable periods return 404.
- `version_id` optional Optional immutable publication version. Omit to read the current admitted curve.
- `spreads` optional Default false. true adds `spreads` to the answer: 2s10s_bp, 3m10s_bp and 5s30s_bp (long tenor minus short, in basis points) and `inverted`. They are computed from the same date's points, whichever maturities you asked to see, so they do not depend on `maturity`. A spread is null where the country's curve has no point at one of its two tenors.
- `curve_type` optional Optional curve_type names a curve on both routes, only for USA, NOR, AUS and EMU, which each serve more than one curve (USA: nominal_par, treasury_bill and real_par). Omit it for the first curve, which the response names in curve_type. A curve the country does not serve gives a 400 error.
- `maturity` optional Optional on both routes. Omit for the whole available curve. USA: 1m, 1.5m, 2m, 3m, 4m, 6m, 1y, 2y, 3y, 5y, 7y, 10y, 20y, 30y. GBR: 0.5y, 1y, 1.5y, 2y, 2.5y, 3y, 3.5y, 4y, 4.5y, 5y, 5.5y, 6y, 6.5y, 7y, 7.5y, 8y, 8.5y, 9y, 9.5y, 10y, 10.5y, 11y, 11.5y, 12y, 12.5y, 13y, 13.5y, 14y, 14.5y, 15y, 15.5y, 16y, 16.5y, 17y, 17.5y, 18y, 18.5y, 19y, 19.5y, 20y, 20.5y, 21y, 21.5y, 22y, 22.5y, 23y, 23.5y, 24y, 24.5y, 25y, 25.5y, 26y, 26.5y, 27y, 27.5y, 28y, 28.5y, 29y, 29.5y, 30y, 30.5y, 31y, 31.5y, 32y, 32.5y, 33y, 33.5y, 34y, 34.5y, 35y, 35.5y, 36y, 36.5y, 37y, 37.5y, 38y, 38.5y, 39y, 39.5y, 40y. DEU: 1y, 2y, 3y, 4y, 5y, 6y, 7y, 8y, 9y, 10y, 11y, 12y, 13y, 14y, 15y, 16y, 17y, 18y, 19y, 20y, 21y, 22y, 23y, 24y, 25y, 26y, 27y, 28y, 29y, 30y. JPN: 1y, 2y, 3y, 4y, 5y, 6y, 7y, 8y, 9y, 10y, 15y, 20y, 25y, 30y, 40y. CAN: 0.25y, 0.5y, 0.75y, 1y, 1.25y, 1.5y, 1.75y, 2y, 2.25y, 2.5y, 2.75y, 3y, 3.25y, 3.5y, 3.75y, 4y, 4.25y, 4.5y, 4.75y, 5y, 5.25y, 5.5y, 5.75y, 6y, 6.25y, 6.5y, 6.75y, 7y, 7.25y, 7.5y, 7.75y, 8y, 8.25y, 8.5y, 8.75y, 9y, 9.25y, 9.5y, 9.75y, 10y, 10.25y, 10.5y, 10.75y, 11y, 11.25y, 11.5y, 11.75y, 12y, 12.25y, 12.5y, 12.75y, 13y, 13.25y, 13.5y, 13.75y, 14y, 14.25y, 14.5y, 14.75y, 15y, 15.25y, 15.5y, 15.75y, 16y, 16.25y, 16.5y, 16.75y, 17y, 17.25y, 17.5y, 17.75y, 18y, 18.25y, 18.5y, 18.75y, 19y, 19.25y, 19.5y, 19.75y, 20y, 20.25y, 20.5y, 20.75y, 21y, 21.25y, 21.5y, 21.75y, 22y, 22.25y, 22.5y, 22.75y, 23y, 23.25y, 23.5y, 23.75y, 24y, 24.25y, 24.5y, 24.75y, 25y, 25.25y, 25.5y, 25.75y, 26y, 26.25y, 26.5y, 26.75y, 27y, 27.25y, 27.5y, 27.75y, 28y, 28.25y, 28.5y, 28.75y, 29y, 29.25y, 29.5y, 29.75y, 30y. SWE: 1m, 3m, 6m, 2y, 5y, 7y, 10y. NOR: 6m, 9m, 1y, 2y, 3y, 4y, 5y, 6y, 7y, 8y, 9y, 10y. AUS: 2y, 3y, 5y, 10y. EMU: 3m, 6m, 9m, 1y, 2y, 3y, 4y, 5y, 6y, 7y, 8y, 9y, 10y, 11y, 12y, 13y, 14y, 15y, 16y, 17y, 18y, 19y, 20y, 21y, 22y, 23y, 24y, 25y, 26y, 27y, 28y, 29y, 30y. Duplicates are removed and terms sorted. Unsupported labels return 400.

#### Response fields

- `country` ISO alpha-3 string The requested country or territory.
- `curve_type` "nominal_par" | "nominal_zero_coupon" | "spot_svensson" | "constant_maturity_ytm" | "zero_coupon" | "constant_maturity_benchmark" | "spot_svensson_aaa" | "treasury_bill" | "real_par" United States: Nominal par yield (US Department of the Treasury). United Kingdom: Continuously compounded nominal zero-coupon yield (Bank of England). Germany: Svensson spot yield (Deutsche Bundesbank). Japan: Constant-maturity JGB yield to maturity (Ministry of Finance, Japan). Canada: Zero-coupon (discount) yield (Bank of Canada). Sweden: Government bill and bond benchmark yields (Sveriges Riksbank). Norway: Government security zero-coupon yields (Norges Bank). Australia: Government bond yield to maturity (Reserve Bank of Australia). Euro area: AAA-rated government bond spot rates (European Central Bank).
- `date` YYYY-MM-DD string The source date shared by all points in this curve.
- `yields` array Available maturities, ordered shortest to longest. Even one maturity remains an array.
- `yields[].maturity` string One of the supported maturity labels.
- `yields[].tenor` string tenor is the maturity as a standard duration, so six months is P6M in every country, whether the source writes 6m or 0.5y.
- `yields[].yield_percent` decimal string Yield in percent, preserving source decimal precision.
- `spreads` object Sent only when the request has spreads=true. Spreads are long tenor minus short tenor, in basis points, read from the same date's points.
- `spreads.2s10s_bp` decimal string or null 10-year yield minus 2-year yield. Null where the curve has no 2-year or 10-year point.
- `spreads.3m10s_bp` decimal string or null 10-year yield minus 3-month yield. Null where the curve has no 3-month or 10-year point.
- `spreads.5s30s_bp` decimal string or null 30-year yield minus 5-year yield. Null where the curve has no 5-year or 30-year point.
- `spreads.inverted` boolean or null true when 2s10s_bp is below zero (3m10s_bp when there is no 2s10s). Null when neither can be computed.

---

[Full reference →](https://narwhalapi.com/docs/api/economics/yield-curve.md)

GET Government bond yield curves history`/v1/economics/{country}/yield-curve/history`

Every observation in a range, oldest first, up to 1,000 per page. Follow next_cursor until it is null.

#### Parameters

- `country` required Three-letter code: USA, GBR, DEU, JPN, CAN, SWE, NOR, AUS, EMU.
- `start` optional Inclusive lower bound. Omit for the first available period.
- `end` optional Inclusive upper bound; cannot precede start. Omit for the last available period.
- `limit` optional Default 100. Counts dates or years, not individual yield points.
- `cursor` optional Pass next_cursor unchanged with the same country, filters and limit. Cursors expire after 24 hours.
- `as_of` optional Return the curves as published up to the end of this UTC day.
- `curve_type` optional Optional curve_type names a curve on both routes, only for USA, NOR, AUS and EMU, which each serve more than one curve (USA: nominal_par, treasury_bill and real_par). Omit it for the first curve, which the response names in curve_type. A curve the country does not serve gives a 400 error.
- `maturity` optional Optional on both routes. Omit for the whole available curve. USA: 1m, 1.5m, 2m, 3m, 4m, 6m, 1y, 2y, 3y, 5y, 7y, 10y, 20y, 30y. GBR: 0.5y, 1y, 1.5y, 2y, 2.5y, 3y, 3.5y, 4y, 4.5y, 5y, 5.5y, 6y, 6.5y, 7y, 7.5y, 8y, 8.5y, 9y, 9.5y, 10y, 10.5y, 11y, 11.5y, 12y, 12.5y, 13y, 13.5y, 14y, 14.5y, 15y, 15.5y, 16y, 16.5y, 17y, 17.5y, 18y, 18.5y, 19y, 19.5y, 20y, 20.5y, 21y, 21.5y, 22y, 22.5y, 23y, 23.5y, 24y, 24.5y, 25y, 25.5y, 26y, 26.5y, 27y, 27.5y, 28y, 28.5y, 29y, 29.5y, 30y, 30.5y, 31y, 31.5y, 32y, 32.5y, 33y, 33.5y, 34y, 34.5y, 35y, 35.5y, 36y, 36.5y, 37y, 37.5y, 38y, 38.5y, 39y, 39.5y, 40y. DEU: 1y, 2y, 3y, 4y, 5y, 6y, 7y, 8y, 9y, 10y, 11y, 12y, 13y, 14y, 15y, 16y, 17y, 18y, 19y, 20y, 21y, 22y, 23y, 24y, 25y, 26y, 27y, 28y, 29y, 30y. JPN: 1y, 2y, 3y, 4y, 5y, 6y, 7y, 8y, 9y, 10y, 15y, 20y, 25y, 30y, 40y. CAN: 0.25y, 0.5y, 0.75y, 1y, 1.25y, 1.5y, 1.75y, 2y, 2.25y, 2.5y, 2.75y, 3y, 3.25y, 3.5y, 3.75y, 4y, 4.25y, 4.5y, 4.75y, 5y, 5.25y, 5.5y, 5.75y, 6y, 6.25y, 6.5y, 6.75y, 7y, 7.25y, 7.5y, 7.75y, 8y, 8.25y, 8.5y, 8.75y, 9y, 9.25y, 9.5y, 9.75y, 10y, 10.25y, 10.5y, 10.75y, 11y, 11.25y, 11.5y, 11.75y, 12y, 12.25y, 12.5y, 12.75y, 13y, 13.25y, 13.5y, 13.75y, 14y, 14.25y, 14.5y, 14.75y, 15y, 15.25y, 15.5y, 15.75y, 16y, 16.25y, 16.5y, 16.75y, 17y, 17.25y, 17.5y, 17.75y, 18y, 18.25y, 18.5y, 18.75y, 19y, 19.25y, 19.5y, 19.75y, 20y, 20.25y, 20.5y, 20.75y, 21y, 21.25y, 21.5y, 21.75y, 22y, 22.25y, 22.5y, 22.75y, 23y, 23.25y, 23.5y, 23.75y, 24y, 24.25y, 24.5y, 24.75y, 25y, 25.25y, 25.5y, 25.75y, 26y, 26.25y, 26.5y, 26.75y, 27y, 27.25y, 27.5y, 27.75y, 28y, 28.25y, 28.5y, 28.75y, 29y, 29.25y, 29.5y, 29.75y, 30y. SWE: 1m, 3m, 6m, 2y, 5y, 7y, 10y. NOR: 6m, 9m, 1y, 2y, 3y, 4y, 5y, 6y, 7y, 8y, 9y, 10y. AUS: 2y, 3y, 5y, 10y. EMU: 3m, 6m, 9m, 1y, 2y, 3y, 4y, 5y, 6y, 7y, 8y, 9y, 10y, 11y, 12y, 13y, 14y, 15y, 16y, 17y, 18y, 19y, 20y, 21y, 22y, 23y, 24y, 25y, 26y, 27y, 28y, 29y, 30y. Duplicates are removed and terms sorted. Unsupported labels return 400.

#### Response fields

- `country` ISO alpha-3 string The requested country or territory.
- `curve_type` "nominal_par" | "nominal_zero_coupon" | "spot_svensson" | "constant_maturity_ytm" | "zero_coupon" | "constant_maturity_benchmark" | "spot_svensson_aaa" | "treasury_bill" | "real_par" United States: Nominal par yield (US Department of the Treasury). United Kingdom: Continuously compounded nominal zero-coupon yield (Bank of England). Germany: Svensson spot yield (Deutsche Bundesbank). Japan: Constant-maturity JGB yield to maturity (Ministry of Finance, Japan). Canada: Zero-coupon (discount) yield (Bank of Canada). Sweden: Government bill and bond benchmark yields (Sveriges Riksbank). Norway: Government security zero-coupon yields (Norges Bank). Australia: Government bond yield to maturity (Reserve Bank of Australia). Euro area: AAA-rated government bond spot rates (European Central Bank).
- `observations` array Oldest first. Missing periods are omitted; an empty valid range returns an empty array.
- `observations[].date` YYYY-MM-DD string The source date shared by all points in this curve.
- `observations[].yields` array Available maturities, ordered shortest to longest. Even one maturity remains an array.
- `observations[].yields[].maturity` string One of the supported maturity labels.
- `observations[].yields[].tenor` string tenor is the maturity as a standard duration, so six months is P6M in every country, whether the source writes 6m or 0.5y.
- `observations[].yields[].yield_percent` decimal string Yield in percent, preserving source decimal precision.
- `next_cursor` string or null Opaque continuation token; null means there is no next page.

---

[Full reference →](https://narwhalapi.com/docs/api/economics/yield-curve-history.md)

## Use cases

### Check if the yield curve is inverted

Compare two yields and read the spread in basis points.

[Read the guide →](https://narwhalapi.com/how-to/check-if-the-yield-curve-is-inverted.md)

### Calculate the real interest rate

Take inflation off a nominal yield with the Fisher formula.

[Read the guide →](https://narwhalapi.com/how-to/calculate-the-real-interest-rate.md)

### Backfill history

Download a full series page by page and resume if it stops.

[Read the guide →](https://narwhalapi.com/how-to/backfill-historical-data.md)

## Coverage

### Indicators

- [Policy rates](https://narwhalapi.com/docs/api/economics/policy-rate.md)
- [Rate decisions](https://narwhalapi.com/docs/api/economics/rate-decisions.md)
- [Yield curves](https://narwhalapi.com/api/economics/yield-curve.md)

### Countries

- [United States](https://narwhalapi.com/economics/united-states/yield-curve.md)Nominal par yield. Daily from 2 January 1990.
- [United Kingdom](https://narwhalapi.com/economics/united-kingdom/yield-curve.md)Continuously compounded nominal zero-coupon yield. Daily from 2 January 1979.
- [Germany](https://narwhalapi.com/economics/germany/yield-curve.md)Svensson spot yield. Daily from 7 August 1997.
- [Japan](https://narwhalapi.com/economics/japan/yield-curve.md)Constant-maturity JGB yield to maturity. Daily from 1974.
- [Canada](https://narwhalapi.com/economics/canada/yield-curve.md)Zero-coupon (discount) yield. Daily from 2 January 1986.
- [Sweden](https://narwhalapi.com/economics/sweden/yield-curve.md)Government bill and bond benchmark yields. Daily from 3 January 1983.
- [Norway](https://narwhalapi.com/economics/norway/yield-curve.md)Government security zero-coupon yields. Daily from 2 January 2015.
- [Australia](https://narwhalapi.com/economics/australia/yield-curve.md)Government bond yield to maturity. Daily from 20 May 2013.
- [Euro area](https://narwhalapi.com/economics/euro-area/yield-curve.md)AAA-rated government bond spot rates. Daily from 6 September 2004.

## Sources

- United States[US Department of the Treasury](https://home.treasury.gov/resource-center-data-chart-center/interest-rates)
- United Kingdom[Bank of England](https://www.bankofengland.co.uk/statistics/yield-curves)
- Germany[Deutsche Bundesbank](https://www.bundesbank.de/en/statistics/money-and-capital-markets/interest-rates-and-yields/daily-term-structure-on-listed-federal-securities-651570)
- Japan[Ministry of Finance, Japan](https://www.mof.go.jp/english/policy/jgbs/reference/interest_rate/index.htm)
- Canada[Bank of Canada](https://www.bankofcanada.ca/rates/interest-rates/bond-yield-curves/)
- Sweden[Sveriges Riksbank](https://www.riksbank.se/en-gb/statistics/interest-rates-and-exchange-rates/)
- Norway[Norges Bank](https://www.norges-bank.no/en/topics/statistics/norwegian-government-securities/)
- Australia[Reserve Bank of Australia](https://www.rba.gov.au/statistics/tables/#interest-rates)
- Euro area[European Central Bank](https://data.ecb.europa.eu/methodology/yield-curves)

## Related APIs

### Economic data API

Official indicators for prices, labour, output, trade, and rates.

[Explore the API →](https://narwhalapi.com/api/economics.md)

### Economic calendar API

Release schedules, status, and publication versions.

[Explore the API →](https://narwhalapi.com/api/economic-calendar.md)

### Methodology

How releases are checked and revised.

[Read the methodology →](https://narwhalapi.com/methodology/economics.md)

## FAQ

Which countries have live yield curves?

Get government yield curves across nine countries and areas through REST and MCP. Read one source date or a paginated history, with decimal percent strings.

Can I retrieve historical rate data?

Yes. Live series support dated history and exact-period requests, alongside the latest accepted value.

Do REST and MCP use the same API key?

Yes. The same API key provides access through REST and MCP.

## Start with a free key

Free $10 credits every month, no card.Free $10 credits a month, no card.

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