InputPOST /api/v1/x402/inflation-calculator
{
"amount": 100,
"from_year": 2020,
"to_year": 2024,
"series": "cpi_u"
}
Web and API intelligence · utility
Revalue an amount between years using U.S. BLS CPI for $0.002 USDC—informational only. Call when you need this bounded result without an API key or subscription. Returns machine-readable JSON via x402 on Base or Solana. Limitation: results cover only the supplied input or one bounded public endpoint at request time; callers must verify before acting.
One-command purchase
No account or API key. AgentCash reads the 402 challenge, pays no more than the declared cap, retries the request and returns the result.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/inflation-calculator -m POST -H 'x-delx-source: product-page' --max-amount 0.002 -b '{"amount":100,"from_year":2020,"to_year":2024,"series":"cpi_u"}'
{
"amount": 100,
"from_year": 2020,
"to_year": 2024,
"series": "cpi_u"
}
{
"tool_name": "util_inflation_calculator",
"result": {
"schema": "delx/inflation-calculator/v1",
"amount": 100,
"from_year": 2020,
"to_year": 2024,
"series_id": "CUUR0000SA0",
"series_label": "cpi_u",
"start_index": 258.8,
"end_index": 313.7,
"revalued_amount": 121.21329211746522,
"factor": 1.212132921174652,
"methodology": "amount * (CPI_end / CPI_start) using BLS annual average when available, otherwise mean of published months.",
"disclaimer": "Informational only — not investment, tax, or legal advice. BLS data may be revised.",
"source": {
"provider": "U.S. Bureau of Labor Statistics",
"series_id": "CUUR0000SA0",
"attribution": "U.S. BLS public data; cite BLS and retrieval date for redistribution.",
"url": "https://api.bls.gov/publicAPI/v2/timeseries/data/CUUR0000SA0"
}
}
}
Illustrative response using upstream test fixtures; no live data was retrieved.
Machine-readable evidence