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

Cost of Living API

GET

Compare cost of living across US states and metro areas.

Cost of Living is a cost of living API that returns price-level indices for US states and metropolitan areas, with the US average at 100. Compare the relative cost of living between two states or cities and calculate salary equivalents for relocation decisions on paid plans.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/costliving?location=California
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": {
    "searchedLocation": "California",
    "region": "west-large",
    "regionName": "West Large Metros (LA, SF, Seattle, Phoenix, Denver area)",
    "costIndex": 107,
    "description": "7% above average",
    "cpi": 356.993,
    "usAverageCPI": 334.98,
    "period": "2026-08",
    "note": "Cost index is relative to US average (100). Values above 100 indicate higher than average cost of living."
  }
}

About the Cost of Living API

Cost of Living uses Regional Price Parities from the Bureau of Economic Analysis, the official US measure of how price levels differ between areas. The national average is 100, so an index of 120 means prices are 20% higher than average. Indices cover all 50 states, DC and every metropolitan statistical area, with goods, housing, utilities and other services broken out. Regional CPI is included as change-over-time context only.

What people use it for

Relocation Planning
Compare cost of living when considering job offers in different states or cities
Salary Negotiations
Calculate salary equivalents across different regions
Business Location
Factor cost of living into business location and expansion decisions
HR Planning
Set location-adjusted compensation for remote or distributed teams

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 Cost of Living

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

Questions.

Common questions about the Cost of Living API.

Read the docs →
Which US locations can I look up?
You can query by full state name, two-letter state code like CA or NY, a city name such as Chicago or Austin, or a city with its state code such as Portland, ME. Cities resolve to their metropolitan statistical area, so all 50 states, DC and every US metro area are covered. A 5-digit ZIP code such as 78701 also works: it resolves to the metropolitan area of its main county, or to its state when that county is outside any metro area. PO-box-only ZIPs are not covered. Saint and St., Fort and Ft., Mount and Mt. are treated as the same spelling.
Can I calculate equivalent salaries on the Free plan?
No, salary conversions require a paid plan. Passing the salary parameter and receiving equivalent salary amounts or regional identifiers are premium features available on Starter and higher tiers. The Free plan returns standard cost index and percentage difference data.
Is it cheap enough to calculate living cost adjustments for every relocation inquiry?
Yes. Each comparison or lookup costs 2 credits, which works out to about $0.30 per 1,000 calls on the Starter plan. You also receive 100 free calls each month to test your integration before subscribing.
Where does the cost of living data come from?
Indices are the Bureau of Economic Analysis Regional Price Parities, published annually and built specifically to compare price levels between areas, with the US average at 100. The response includes the data year. Area CPI figures are not used for comparison because they only measure price change within each area.
Can I display these cost comparisons in a commercial relocation app?
Yes, commercial use is permitted on any paid plan. You can integrate index comparisons and salary calculations directly into your product, provided you do not resell or redistribute the raw data as-is.

Ready to build with Cost of Living? Start with 200 free credits — one key unlocks all 406+ APIs.

Explore the catalog

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

Browse all APIs