Primary sources
Every live stream comes from an official national publisher.
Read the methodology →Monthly CPI data from official sources; coverage is listed by country.
curl --request GET \
--url "https://api.narwhalapi.com/v1/economics/USA/cpi?period=2026-07" \
--header "Authorization: Bearer $NARWHAL_API_KEY"{
"country": "USA",
"period": "2026-07",
"value": "333.918",
"index_base": "1982-84=100",
"released_on": "2026-08-12"
}/v1/economics/{country}/cpicountryperiodversion_idMCP · economics_get_cpi
/v1/economics/{country}/cpi/observationscountrystartendlimitcursorMCP · economics_get_cpi_history
curl --request GET \
--url "https://api.narwhalapi.com/v1/economics/USA/cpi/observations?start=2026-07&limit=100" \
--header "Authorization: Bearer $NARWHAL_API_KEY"{
"country": "USA",
"index_base": "1982-84=100",
"as_of": "2026-08-12T00:00:00Z",
"observations": [
{
"period": "2026-07",
"value": "333.918"
}
],
"next_cursor": null
}Every live stream comes from an official national publisher.
Read the methodology →Omit it for the latest accepted complete release, or pass one exact period.
Use one API key for current and historical data through REST or MCP.
Parameters and response fields.
Read the docs →Release schedules, status, and publication versions.
Explore the API →Official indicators for prices, labour, output, trade, and rates.
Explore the API →CPI is an index level, while inflation measures a percentage change in prices; use the inflation API when you need an inflation rate.
Check index_base before comparing index levels: countries can use different reference bases.
Omit period for the latest accepted complete release, or specify a month using YYYY-MM.
The CPI API covers many countries using each country's official national statistics publisher; see the Coverage section for the full list. Use one API key and the same request shape for every country by passing a country code.
Yes, CPI is available on every plan, including Free, with no card needed for Free. Free includes 5,000 successful requests a month and the last 12 months of history; Basic includes the last 5 years, and Pro the full history.