← Back to discover
httpcdp
2s
Adjust a US dollar amount for inflation between two dates ('what is $100 in 1990 worth today?'). Pass amount, from (YYYY-MM-DD or YYYY), and optional to (defaults to the latest CPI month). Uses CPI-U (CPIAUCNS — the same not-seasonally-adjusted all-items index as the official BLS inflation calculator), data back to 1913. Returns the inflation-adjusted amount, cumulative inflation %, annualized rate, and the CPI index values used on each date. Source: BLS CPI via FRED (St. Louis Fed).
Resource URL
https://2s.io/api/inflation/calculator
Payment options
exactBase (8453)
$0.0012 USDC
Max amount
- Pay to
- 0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5
- Timeout
- 60s
exactSolana
$0.0012 USDC
Max amount
- Pay to
- TW6ntaGzvj63ZgPjszd4FCGmVTGfzv1MAYZbjYcyWhn
- Timeout
- 60s
Tags
public-recordsidentifiersai-agentsus-gov-datax402
For agents
Prompt snippet for AI agents
Find and pay for this x402 resource: URL: https://2s.io/api/inflation/calculator Type: http Sources: cdp