---
title: "Inflation expectations API reference | Narwhal API"
description: "US inflation expectations by REST and MCP: 5 and 10 year Treasury breakeven rates and New York Fed survey medians, with history and the source on every answer."
url: "https://narwhalapi.com/docs/api/inflation-expectations"
---

# Inflation expectations API reference

US breakeven inflation rates and the New York Fed survey of expected inflation

## Overview

What bond prices and households expect United States inflation to be, in percent a year: the latest figure of one measure, or its history. Every request needs a Bearer key, and REST and MCP draw on one credit balance.

`measure` picks the figure. `breakeven_5y` and `breakeven_10y` are the Treasury nominal par yield minus the Treasury par real yield of the same day and maturity, which Narwhal computes; the answer gives both yields. `survey_1y`, `survey_3y` and `survey_5y` are the median expected inflation rate one, three and five years ahead in the New York Fed Survey of Consumer Expectations.

`value_percent` is a string with two decimals. A breakeven has one `period` a day, as YYYY-MM-DD, and a survey figure one a month, as YYYY-MM. `method` says how the figure is made and `source` who published it. For a survey measure the source is the attribution line of the New York Fed's file, and both yields are null.

Base URL: `https://api.narwhalapi.com`. Each route below is an MCP tool of its own, with the same parameters.

## What every account gets

| What | Every account |
| --- | --- |
| One latest figure | One Economics call |
| One page of history | One Economics call; an empty page is free |

See [pricing](https://narwhalapi.com/pricing.md) for what a call costs. A request is charged at the price of its API unless a route says otherwise.

- Only the United States is served. Any other country is 404 not_covered and is not charged.
- Breakeven history starts in January 2003, with the Treasury's real yield curve. The one and three year survey figures start in June 2013 and the five year figure in January 2022.
- A breakeven exists only for a day on which both curves have that maturity. The latest answer looks back 45 days.
- A breakeven is the difference of two market yields. It also carries risk and liquidity premiums, so it is not a pure forecast.
- The survey is read once a week and is published monthly, so its newest month is behind the newest breakeven. The University of Michigan survey is not served.
- These figures are republished or computed from public sources, for analysis, not financial, investment, legal or tax advice. The New York Fed does not endorse Narwhal.

## 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.

### Latest expected inflation

`GET /v1/economics/{country}/inflation-expectations`

The newest figure of one measure of expected inflation in the United States: the breakeven rate between two Treasury yields, which Narwhal computes, or the median of the New York Fed's household survey. The answer names its source.

MCP: tool `economics_get_inflation_expectations`.

#### Parameters

| Parameter | Where | Required | Type | Meaning |
| --- | --- | --- | --- | --- |
| `country` | path | Yes | string | USA; any other country is not covered. |
| `measure` | query | Yes | one of breakeven_5y, breakeven_10y, survey_1y, survey_3y, survey_5y | `breakeven_5y` or `breakeven_10y`: the Treasury nominal par yield minus the Treasury par real yield, by day. `survey_1y`, `survey_3y` or `survey_5y`: the median expected inflation rate one, three or five years ahead in the New York Fed survey, by month. |

#### Response fields

| Field | Type | Sent | Meaning |
| --- | --- | --- | --- |
| `country` | string | Always |  |
| `measure` | one of breakeven_5y, breakeven_10y, survey_1y, survey_3y, survey_5y | Always |  |
| `kind` | one of breakeven, survey | Always | `breakeven` is computed from two bond yields; `survey` is what households answered. |
| `horizon_years` | integer | Always | How many years ahead the figure looks. |
| `period` | string | Always | The day of a breakeven (YYYY-MM-DD) or the survey month (YYYY-MM). |
| `value_percent` | string | Always | Expected inflation in percent per year, with two decimals. |
| `nominal_yield_percent` | string | Always | The Treasury nominal par yield a breakeven is computed from; null for a survey measure. |
| `real_yield_percent` | string | Always | The Treasury par real yield taken from it; null for a survey measure. |
| `method` | string | Always | How the figure is made, in words. |
| `source` | string | Always | Who published the figures. A survey answer carries the attribution line the New York Fed asks for. |

Request

```
curl -H "Authorization: Bearer $NARWHAL_API_KEY" \
  "https://api.narwhalapi.com/v1/economics/USA/inflation-expectations?measure=breakeven_10y"
```

Example response

```
{
  "country": "USA",
  "measure": "breakeven_10y",
  "kind": "breakeven",
  "horizon_years": 10,
  "period": "2026-11-25",
  "value_percent": "2.12",
  "nominal_yield_percent": "4.85",
  "real_yield_percent": "2.73",
  "method": "Computed by Narwhal: the 10 year Treasury nominal par yield minus the 10 year Treasury par real yield of the same day.",
  "source": "U.S. Department of the Treasury, Daily Treasury Par Yield Curve Rates and Daily Treasury Par Real Yield Curve Rates; difference computed by Narwhal"
}
```

A survey measure: what households expect one year ahead.

Request

```
curl -H "Authorization: Bearer $NARWHAL_API_KEY" \
  "https://api.narwhalapi.com/v1/economics/USA/inflation-expectations?measure=survey_1y"
```

Example response

```
{
  "country": "USA",
  "measure": "survey_1y",
  "kind": "survey",
  "horizon_years": 1,
  "period": "2026-10",
  "value_percent": "3.91",
  "nominal_yield_percent": null,
  "real_yield_percent": null,
  "method": "Median expected inflation rate one year ahead in the New York Fed Survey of Consumer Expectations, rounded to two decimals.",
  "source": "Survey of Consumer Expectations, © 2013-26 Federal Reserve Bank of New York (FRBNY). The SCE data are available without charge at www.newyorkfed.org and may be used subject to license terms posted there. FRBNY disclaims any responsibility or legal liability for this analysis and interpretation of Survey of Consumer Expectations data."
}
```

### Expected inflation history

`GET /v1/economics/{country}/inflation-expectations/observations`

The history of one measure of expected inflation in the United States, oldest first: breakeven rates by day, survey medians by month. An empty page costs nothing.

Observations are oldest first. When `next_cursor` is not null, send it back with the same other parameters. A cursor lasts one day. For a survey measure, `start` and `end` are days, and a month is returned when it falls in the months of those days.

MCP: tool `economics_get_inflation_expectations_history`.

#### Parameters

| Parameter | Where | Required | Type | Meaning |
| --- | --- | --- | --- | --- |
| `country` | path | Yes | string | USA; any other country is not covered. |
| `measure` | query | Yes | one of breakeven_5y, breakeven_10y, survey_1y, survey_3y, survey_5y | `breakeven_5y` or `breakeven_10y`: the Treasury nominal par yield minus the Treasury par real yield, by day. `survey_1y`, `survey_3y` or `survey_5y`: the median expected inflation rate one, three or five years ahead in the New York Fed survey, by month. |
| `start` | query | No | string | First day to return, YYYY-MM-DD. A survey month is returned when it is the month of this day or later. |
| `end` | query | No | string | Last day to return, YYYY-MM-DD. |
| `limit` | query | No | integer | Most observations in one page. |
| `cursor` | query | No | string | The next_cursor from the previous page. |

#### Response fields

| Field | Type | Sent | Meaning |
| --- | --- | --- | --- |
| `country` | string | Always |  |
| `measure` | one of breakeven_5y, breakeven_10y, survey_1y, survey_3y, survey_5y | Always |  |
| `kind` | one of breakeven, survey | Always |  |
| `horizon_years` | integer | Always |  |
| `method` | string | Always |  |
| `source` | string | Always |  |
| `observations` | list of object | Always |  |
| `observations[].period` | string | Always |  |
| `observations[].value_percent` | string | Always |  |
| `observations[].nominal_yield_percent` | string | Always |  |
| `observations[].real_yield_percent` | string | Always |  |
| `next_cursor` | string | Always | Pass as cursor to read the next page. Always sent; null on the last page. |

Request

```
curl -H "Authorization: Bearer $NARWHAL_API_KEY" \
  "https://api.narwhalapi.com/v1/economics/USA/inflation-expectations/observations?measure=breakeven_10y&start=2026-11-19&end=2026-11-25"
```

Example response

```
{
  "country": "USA",
  "measure": "breakeven_10y",
  "kind": "breakeven",
  "horizon_years": 10,
  "method": "Computed by Narwhal: the 10 year Treasury nominal par yield minus the 10 year Treasury par real yield of the same day.",
  "source": "U.S. Department of the Treasury, Daily Treasury Par Yield Curve Rates and Daily Treasury Par Real Yield Curve Rates; difference computed by Narwhal",
  "observations": [
    {
      "period": "2026-11-19",
      "value_percent": "2.16",
      "nominal_yield_percent": "5.04",
      "real_yield_percent": "2.88"
    },
    {
      "period": "2026-11-20",
      "value_percent": "2.15",
      "nominal_yield_percent": "4.92",
      "real_yield_percent": "2.77"
    },
    {
      "period": "2026-11-23",
      "value_percent": "2.13",
      "nominal_yield_percent": "4.92",
      "real_yield_percent": "2.79"
    },
    {
      "period": "2026-11-24",
      "value_percent": "2.12",
      "nominal_yield_percent": "4.91",
      "real_yield_percent": "2.79"
    },
    {
      "period": "2026-11-25",
      "value_percent": "2.12",
      "nominal_yield_percent": "4.85",
      "real_yield_percent": "2.73"
    }
  ],
  "next_cursor": null
}
```

## Errors

Errors use the shared problem shape with a `request_id`. See [Errors and credits](https://narwhalapi.com/docs/errors.md) for the shape and the credit headers. Failed requests are not charged.

| Code | Status | Meaning |
| --- | --- | --- |
| `invalid_query` | 400 | `measure` is missing or not one of the five, `country` is not three uppercase letters, a date is not YYYY-MM-DD, `start` is after `end`, or `limit` is outside 1 to 1000. Not charged. |
| `not_covered` | 404 | The country is not USA. Not charged. |
| `invalid_cursor` | 400 | The cursor is not one this request returned, or it comes from a different request. |
| `cursor_expired` | 409 | The cursor is more than a day old. Start again without it. Not charged. |
| `insufficient_credits` | 402 | Your credit balance is less than the request costs. |
| `economics_unavailable` | 503 | No figure is stored for the measure, or the stored data cannot answer right now. Not charged. |

Was this page helpful?
