the402 endpoint detail

← All endpoints

2s.io inflation calculator

https://2s.io/api/inflation/calculator

payable

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 rat

We sent a real GET request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.003
Network
base
Pay to
0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
GET
Response latency
76 ms
Payment options
2 usable of 2
Last checked
2026-08-10T09:08:43.147Z (1d ago)
Category
search

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2F2s.io%2Fapi%2Finflation%2Fcalculator"