TickersFeed · Econ Inflation

by TickersFeed

GETBase

$0.003

per call · USD Coin on Base

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.

Endpoint

GET https://api.tickersfeed.net/econ/inflation

1

Calls / 30d

1

Unique payers / 30d

Aug 25

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://api.tickersfeed.net/econ/inflation", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://api.tickersfeed.net/econ/inflation?amount=100&from=2010&to=2026" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "amount_adjusted": 152.9,
  "amount_in": 100,
  "cumulative_inflation_pct": 52.9,
  "from": "2010-01-01",
  "to": "2026-06-01"
}

Payment details

Pay to0xe82ebef57fa5af958b8ecb6843d4327d314f59e3
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from TickersFeed & similar services