NewAPIVerve Academy: free courses and certifications anyone can verify.Explore the Academy →

CPI Inflation API

GET

Track monthly US inflation and year-over-year rate changes.

CPI Inflation provides monthly Consumer Price Index data broken down by category including food, housing, transportation, medical care, and more. Includes year-over-year and month-over-month inflation rates for each category, with three-month changes on paid plans.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/cpiinflation?category=food
Query parameters
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "yearMonth": "2026-08",
    "year": 2026,
    "month": 8,
    "category": "food",
    "index": 350.418,
    "yearOverYearChange": 2.67
  }
}

Start from a template — a working app you can deploy in a minute

About the CPI Inflation API

CPI Inflation is built on the official U.S. Bureau of Labor Statistics (BLS) Consumer Price Index series. Monthly all-items data is available from 1913 to the latest release, with category breakdowns (from 1947 or later, depending on the category) for detailed inflation analysis. Each category carries its year-over-year, month-over-month and three-month percent changes.

What people use it for

Inflation Tracking
Monitor inflation trends across different spending categories
Economic Analysis
Analyze inflation patterns for economic research and forecasting
Cost Adjustments
Calculate inflation adjustments for contracts, salaries, and pricing
Investment Research
Factor inflation data into investment decisions and real returns

Without writing code

Evlar Markets, a Windows app built on this API, shows it on its markets dashboard beside your watchlist.

Raise vs. inflation calculator on DigestYourFinances checks whether a raise beat inflation.

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use CPI Inflation

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the CPI Inflation API.

Read the docs →
Can I build an inflation calculator with this CPI API?
Yes. Fetch the all-items index for two months, such as 1990-01 and the latest release, and divide the later value by the earlier one to get the cumulative inflation factor. Multiply any dollar amount by that factor to express it in today's dollars. The all-items index is available on every plan.
Where does the inflation data come from?
The figures are the official U.S. Bureau of Labor Statistics (BLS) Consumer Price Index series, retrieved through the Federal Reserve Bank of St. Louis FRED service, which republishes the BLS data. New months appear after BLS publishes them.
How far back does the historical CPI data go?
Monthly all-items CPI records go back to January 1913; the category series start in 1947 or later, and are null before they begin. October 2025 is not available because BLS did not publish it during the federal government shutdown, so a request for it returns a 404 that says so. You can query any specific historical month using a YYYY-MM date format, or omit the date parameter entirely to fetch the most recent available report.
Do I get category breakdowns like food and housing on the Free plan?
No, category breakdowns for food, housing, transportation, medical care, gasoline, and electricity require a paid plan. The Free plan returns the overall index with its year-over-year and month-over-month rates across all items. Any paid plan unlocks every individual category and the three-month change.
Which plan fits 10,000 inflation lookups a month?
The Starter plan covers that volume with plenty of room to spare. At 2 credits per lookup, 10,000 requests consume 20,000 credits, using a tenth of the Starter tier's 200,000 monthly credits. That works out to about $0.0003 per call, or $0.30 per 1,000 calls. The Free plan provides 100 calls each month.
Can I use this inflation data in a commercial financial tool?
Yes, you can integrate the data into commercial software, research tools, and customer reports on any paid plan. The Free plan is limited to non-commercial evaluation. You may not resell or redistribute the raw data as-is.
Why is the year-over-year change null for the latest month?
BLS did not publish CPI for October 2025 during the federal shutdown, so October 2026 has no month a year earlier to compare with. When that happens yearOverYearChange stays null, yearOverYearNote explains why, and latestAvailableYearOverYear carries the most recent month that has a 12-month change (with latestAvailableYearOverYearMonth). The month-over-month change is unaffected.

Ready to build with CPI Inflation? Start with 200 free credits — one key unlocks all 404+ APIs.

Explore the catalog

404+ APIs on the same key and the same response shape.

Browse all APIs