Browse all documentation

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

WhatEvery account
One latest figureOne Economics call
One page of historyOne Economics call; an empty page is free

See pricing 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

ParameterWhereRequiredTypeMeaning
countrypathYesstringUSA; any other country is not covered.
measurequeryYesone of breakeven_5y, breakeven_10y, survey_1y, survey_3y, survey_5ybreakeven_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

FieldTypeSentMeaning
countrystringAlways
measureone of breakeven_5y, breakeven_10y, survey_1y, survey_3y, survey_5yAlways
kindone of breakeven, surveyAlwaysbreakeven is computed from two bond yields; survey is what households answered.
horizon_yearsintegerAlwaysHow many years ahead the figure looks.
periodstringAlwaysThe day of a breakeven (YYYY-MM-DD) or the survey month (YYYY-MM).
value_percentstringAlwaysExpected inflation in percent per year, with two decimals.
nominal_yield_percentstringAlwaysThe Treasury nominal par yield a breakeven is computed from; null for a survey measure.
real_yield_percentstringAlwaysThe Treasury par real yield taken from it; null for a survey measure.
methodstringAlwaysHow the figure is made, in words.
sourcestringAlwaysWho 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

ParameterWhereRequiredTypeMeaning
countrypathYesstringUSA; any other country is not covered.
measurequeryYesone of breakeven_5y, breakeven_10y, survey_1y, survey_3y, survey_5ybreakeven_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.
startqueryNostringFirst day to return, YYYY-MM-DD. A survey month is returned when it is the month of this day or later.
endqueryNostringLast day to return, YYYY-MM-DD.
limitqueryNointegerMost observations in one page.
cursorqueryNostringThe next_cursor from the previous page.

Response fields

FieldTypeSentMeaning
countrystringAlways
measureone of breakeven_5y, breakeven_10y, survey_1y, survey_3y, survey_5yAlways
kindone of breakeven, surveyAlways
horizon_yearsintegerAlways
methodstringAlways
sourcestringAlways
observationslist of objectAlways
observations[].periodstringAlways
observations[].value_percentstringAlways
observations[].nominal_yield_percentstringAlways
observations[].real_yield_percentstringAlways
next_cursorstringAlwaysPass 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 for the shape and the credit headers. Failed requests are not charged.

CodeStatusMeaning
invalid_query400`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_covered404The country is not USA. Not charged.
invalid_cursor400The cursor is not one this request returned, or it comes from a different request.
cursor_expired409The cursor is more than a day old. Start again without it. Not charged.
insufficient_credits402Your credit balance is less than the request costs.
economics_unavailable503No figure is stored for the measure, or the stored data cannot answer right now. Not charged.

Was this page helpful?