Primary sources
Every live stream comes from an official national publisher.
Read the methodology →Monthly CPI data from official sources in ten countries.
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",
"base_period": "1982-84",
"base_value": "100",
"released_on": "2026-08-12"
}/v1/economics/{country}/cpicountryperiodMCP · 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"{
"observations": [
{
"country": "USA",
"measure": "cpi",
"value": "333.918",
"unit": "INDEX",
"transformation": "",
"period": "2026-07"
}
],
"next_cursor": null,
"as_of": "2026-08-29T16:00:00Z"
}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.
CPI is an index level, while inflation measures a percentage change in prices; use the inflation API when you need an inflation rate.
Check base_period and base_value 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.