Tool detail
Inflation Adjust
Restates a money amount from one year into another year's equivalent using World Bank CPI data (1960+), returning the adjusted amount, cumulative inflation and both index values.
Categories: Macro economics
Use when
- convert a past dollar amount into today's money
- compute cumulative inflation between two years for a country
- adjust a historical price for a contract or budget comparison
Not for
- not monthly or real-time inflation - annual World Bank series only
Inputs
GET query params: from (string year, required); amount (string, optional, default 1), country (ISO code, optional, default US), to (string year, optional, default latest).
Admitted input schema
{
"type": "object",
"properties": {
"amount": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"description": "Amount (optional, default 1)"
},
"country": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"description": "Country ISO code (optional, default US)"
},
"from": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"description": "Year the amount is in"
},
"to": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"description": "Year to restate it in (optional, defaults to latest)"
}
},
"required": [
"from"
],
"additionalProperties": false
}Endpoint
- Method
GET- URL
https://402.com.tr/api/x402/inflation-adjust
Payment
- Protocol
- x402
- Listed price
- 0.002 USDC per request on Base
- Payment method
- exact
- Network
- eip155:8453
- Asset
- 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.
Source
- Directory
- Coinbase x402 Bazaar
- Record
- GET https://402.com.tr/api/x402/inflation-adjust
- Retrieved
- 2026-09-30T20:37:07.382Z
- Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524- Catalog built
- 2026-09-30T22:31:58.034Z