US inflation calculator — cumulative CPI inflation between any two years, e
US inflation calculator — cumulative CPI inflation between any two years, e.g. what $100 in 1990 is worth today (?from=1990&to=2026&amount=100). Returns cumulative inflation % and the inflation-adjusted value as JSON, from official CPI data via FRED (Federal Reserve). Use for: purchasing power comparison, real vs nominal value, historical price adjustment, cost-of-living calculation. $0.003 USDC per call.
3000 (raw units)
price
1
calls / 30d
1
unique payers
2026-08-25
updated
Provider
api.tickersfeed.net · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xE82EBef57Fa5aF958B8ECB6843D4327d314F59E3",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "3000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"category": "economic-data",
"info": {
"input": {
"method": "GET",
"queryParams": {
"amount": 100,
"from": "2010",
"to": "2026"
},
"type": "http"
},
"output": {
"example": {
"amount_adjusted": 152.9,
"amount_in": 100,
"cumulative_inflation_pct": 52.9,
"from": "2010-01-01",
"to": "2026-06-01"
},
"type": "json"
}
},
"routeTemplate": "/econ/inflation",
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"amount": {
"description": "Dollar amount to adjust (default 100)",
"type": "number"
},
"from": {
"description": "Start year, e.g. 2010",
"type": "string"
},
"to": {
"description": "End year (default latest)",
"type": "string"
}
},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
}
},
"type": "object"
}
}
}Use it
curl
curl "https://api.tickersfeed.net/econ/inflation" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.tickersfeed.net/econ/inflation");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.tickersfeed.net/econ/inflation")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/4154.json, and this resource appears in /discovery/resources and /discovery/search.