Compare inflation across countries
Rank the latest inflation rates and keep each release date.
Read the guide →One source for CPI, inflation, labour, GDP, and trade data from official statistical agencies.
curl --request GET \
--url "https://api.narwhalapi.com/v1/economics/USA/cpi?period=2026-07" \
--header "Authorization: Bearer $NARWHAL_API_KEY"/v1/economics/{country}/cpiRetrieve the headline consumer price index for one country and month.
countryrequiredOne supported uppercase country code; see this operation’s coverage list.
periodoptionalOmit it for the latest accepted complete release, or pass one exact period.
version_idoptionalOptional immutable publication version. Use resource_version from a dataset.published or dataset.revised event; omit to read the current admitted indicator.
countrystringThe requested uppercase ISO alpha-3 country code.
periodstringThe official observation period returned.
valuepositive decimal stringThe headline index level.
index_basestringBase period and base value of the index, for example 1982-84=100.
released_ondateThe official publication date, not Narwhal's retrieval time.
sourceobjectThe optional source object appears only when the statistic is received through a distributor. It contains publisher (the original publisher named by the distributor) and distributor (the distributing organisation). When source is present, released_on is the distributor's publication date, not the original publisher's release date. Publisher-direct series omit source.
/v1/economics/{country}/inflationRetrieve year-over-year, month-over-month, and year-to-date inflation for one month.
countryrequiredOne supported uppercase country code; see this operation’s coverage list.
periodoptionalOmit it for the latest accepted complete release, or pass one exact period.
version_idoptionalOptional immutable publication version. Use resource_version from a dataset.published or dataset.revised event; omit to read the current admitted indicator.
countrystringThe requested uppercase ISO alpha-3 country code.
periodstringThe official observation period returned.
year_over_yeardecimal stringChange from the same month one year earlier, in percent.
month_over_monthdecimal stringChange from the previous month, in percent.
year_to_datedecimal stringChange from the prior December, in percent. Omitted when the publisher does not release it.
released_ondateThe official publication date, not Narwhal's retrieval time.
sourceobjectThe optional source object appears only when the statistic is received through a distributor. It contains publisher (the original publisher named by the distributor) and distributor (the distributing organisation). When source is present, released_on is the distributor's publication date, not the original publisher's release date. Publisher-direct series omit source.
/v1/economics/{country}/unemploymentRetrieve the official unemployment rate for one observation period.
countryrequiredOne supported uppercase country code; see this operation’s coverage list.
periodoptionalOmit it for the latest accepted complete release, or pass one exact period.
version_idoptionalOptional immutable publication version. Use resource_version from a dataset.published or dataset.revised event; omit to read the current admitted indicator.
countrystringThe requested uppercase ISO alpha-3 country code.
periodstringThe official observation period returned.
ratedecimal stringThe published rate, in percent, from 0 through 100.
released_ondateThe official publication date, not Narwhal's retrieval time.
sourceobjectThe optional source object appears only when the statistic is received through a distributor. It contains publisher (the original publisher named by the distributor) and distributor (the distributing organisation). When source is present, released_on is the distributor's publication date, not the original publisher's release date. Publisher-direct series omit source.
/v1/economics/{country}/labour-force-participationRetrieve the official labour-force participation rate for one observation period.
countryrequiredOne supported uppercase country code; see this operation’s coverage list.
periodoptionalOmit it for the latest accepted complete release, or pass one exact period.
version_idoptionalOptional immutable publication version. Use resource_version from a dataset.published or dataset.revised event; omit to read the current admitted indicator.
countrystringThe requested uppercase ISO alpha-3 country code.
periodstringThe official observation period returned.
ratedecimal stringThe published rate, in percent, from 0 through 100.
released_ondateThe official publication date, not Narwhal's retrieval time.
sourceobjectThe optional source object appears only when the statistic is received through a distributor. It contains publisher (the original publisher named by the distributor) and distributor (the distributing organisation). When source is present, released_on is the distributor's publication date, not the original publisher's release date. Publisher-direct series omit source.
/v1/economics/{country}/gdpRetrieve national GDP for one quarter, always at current prices.
countryrequiredOne supported uppercase country code; see this operation’s coverage list.
periodoptionalOmit it for the latest accepted complete release, or pass one exact period.
version_idoptionalOptional immutable publication version. Use resource_version from a dataset.published or dataset.revised event; omit to read the current admitted indicator.
countrystringThe requested uppercase ISO alpha-3 country code.
periodstringThe official observation period returned.
valuepositive decimal stringThe current-price GDP value.
currencyISO 4217 stringThe national currency for the GDP value.
not_seasonally_adjustedtruePresent, as true, only when the official series is not seasonally adjusted.
annualizedtruePresent, as true, only when the official level is annualized.
released_ondateThe official publication date, not Narwhal's retrieval time.
sourceobjectThe optional source object appears only when the statistic is received through a distributor. It contains publisher (the original publisher named by the distributor) and distributor (the distributing organisation). When source is present, released_on is the distributor's publication date, not the original publisher's release date. Publisher-direct series omit source.
/v1/economics/{country}/gdp-growthRetrieve official real GDP growth for one quarter, measured at constant prices and expressed in percent.
countryrequiredOne supported uppercase country code; see this operation’s coverage list.
periodoptionalOmit it for the latest accepted complete release, or pass one exact period.
version_idoptionalOptional immutable publication version. Use resource_version from a dataset.published or dataset.revised event; omit to read the current admitted indicator.
countrystringThe requested uppercase ISO alpha-3 country code.
periodstringThe official observation period returned.
year_over_yeardecimal stringReal GDP change from the same quarter one year earlier, in percent.
quarter_over_quarterdecimal stringReal GDP change from the previous quarter, in percent, not annualized.
year_to_datedecimal stringOfficial year-to-date growth, in percent, when the source publishes it; otherwise omitted.
not_seasonally_adjustedtruePresent, as true, only when the growth rates are not seasonally adjusted.
annualizedtruePresent, as true, only when the published growth rate is annualized.
year_over_year_not_seasonally_adjustedtruePresent, as true, only for a country that mixes bases: its year-over-year figure is not seasonally adjusted. The top-level flag is then absent.
quarter_over_quarter_not_seasonally_adjustedtruePresent, as true, only for a country that mixes bases: its quarter-over-quarter figure is not seasonally adjusted. The top-level flag is then absent.
released_ondateThe official publication date, not Narwhal's retrieval time.
sourceobjectThe optional source object appears only when the statistic is received through a distributor. It contains publisher (the original publisher named by the distributor) and distributor (the distributing organisation). When source is present, released_on is the distributor's publication date, not the original publisher's release date. Publisher-direct series omit source.
/v1/economics/{country}/tradeRetrieve exports, imports, and the exact merchandise-trade balance for one period. Services are excluded.
countryrequiredOne supported uppercase country code; see this operation’s coverage list.
periodoptionalOmit it for the latest accepted complete release, or pass one exact period.
version_idoptionalOptional immutable publication version. Use resource_version from a dataset.published or dataset.revised event; omit to read the current admitted indicator.
countrystringThe requested uppercase ISO alpha-3 country code.
periodstringThe official observation period returned.
exportsnon-negative decimal stringTotal merchandise exports.
importsnon-negative decimal stringTotal merchandise imports.
balancedecimal stringExact exports minus imports; it may be negative.
currencyISO 4217 stringThe currency for all three monetary values.
released_ondateThe official publication date, not Narwhal's retrieval time.
sourceobjectThe optional source object appears only when the statistic is received through a distributor. It contains publisher (the original publisher named by the distributor) and distributor (the distributing organisation). When source is present, released_on is the distributor's publication date, not the original publisher's release date. Publisher-direct series omit source.
Rank the latest inflation rates and keep each release date.
Read the guide →Work out quarterly growth and show it as an annual rate.
Read the guide →Compare two yields and read the spread in basis points.
Read the guide →Take inflation off a nominal yield with the Fisher formula.
Read the guide →List release times in UTC for the countries and dates you choose.
Read the guide →Download a full series page by page and resume if it stops.
Read the guide →Release schedules, status, and publication versions.
Explore the 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.
Explore the API →How releases are checked and revised.
Read the methodology →Check the coverage table for the published countries. Available indicators and historical periods vary by country.
Yes. Each of the seven latest-release operations has a matching observations route for the current accepted historical series.
Every live stream comes from a government statistics office or another official national publisher named in the coverage matrix.
Narwhal publishes a release after it passes validation. The public beta does not promise a fixed source-to-publication delay.
$10 of free credit every month for 12 months. No card needed.$10 of free credit a month. No card needed.