Inflation Rate API

GET

Compare annual inflation rates and CPI figures across over 180 countries.

Inflation Rate reports annual inflation rates and Consumer Price Index (CPI) values for any country by two-letter country code. Outputs include the year-over-year price change percentage, CPI index, and base comparison year, with paid plans supporting historical lookups by year.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/inflation?country=US
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": {
    "country": "US",
    "countryName": "United States",
    "year": 2023,
    "inflationRate": 4.12,
    "cpiIndex": 139.81,
    "cpiBaseYear": 2010,
    "lastUpdated": "2026-02-05T04:00:00.000Z"
  }
}

About the Inflation Rate API

Inflation Rate works by aggregating consumer price index data from the World Bank for over 180 countries. It provides both the annual inflation rate (year-over-year percentage change in consumer prices) and the CPI index value (base year 2010 = 100). Data is refreshed daily.

What people use it for

Salary Adjustment Calculations
Compensation software calculates real wage growth across international offices by adjusting regional salaries against annual inflation figures.
Cross-Border Contract Indexing
When drafting multi-year vendor agreements, legal teams index payment schedules to annual consumer price changes for each supplier's country.
Portfolio Return Deflation
Wealth management dashboards subtract local consumer price index shifts from gross portfolio returns to present accurate purchasing power gains.
Purchasing Power Modeling
To forecast global product pricing, revenue teams evaluate relative purchasing power trends using annual price change rates and index values.

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 Inflation Rate

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

Questions.

Common questions about the Inflation Rate API.

Read the docs →
Which countries and years does the dataset cover?
Over 180 countries are supported using standard two-letter ISO country codes. The dataset includes annual inflation rates and consumer price index figures for the previous year on every plan; paid plans can request any year dating back to 1960.
Can I pick a specific year on the Free plan?
No, querying custom historical years requires a paid plan. On the Free plan, requests default to returning data for the previous calendar year. Any paid plan unlocks the year parameter so you can query data back to 1960.
How far does the Starter plan go for inflation data lookups?
Starter covers up to 100,000 lookups per month. Each request uses 2 credits, working out to about $0.0003 per lookup or $0.30 per 1,000 calls. The Free plan includes 100 lookups every monthly billing cycle.
Where does the inflation and CPI data come from?
Data is sourced directly from the World Bank for over 180 countries. It provides annual year-over-year percentage changes in consumer prices along with CPI values indexed to 2010, refreshed daily.
Can I use this inflation data in a commercial financial product?
Yes, commercial use is permitted on any paid plan. You can display the figures in your own software, charts, and financial analysis tools, but you may not resell or redistribute the raw data.

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

Explore the catalog

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

Browse all APIs