# Inflation Adjust

> Inflation Adjust is a paid API for AI agents from 402.com.tr, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-12).

Converts a monetary amount from one year into equivalent purchasing power in another year using World Bank CPI data for any country

## Facts

- Endpoint: GET https://402.com.tr/api/x402/inflation-adjust
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/inflation-adjust-92a7b62f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wBO8reMyxrxJhyIHcY2hS

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability inflation-adjust-92a7b62f
```

Example prompt: How much would $50,000 from 1985 be worth in today's money in the US? Give me the inflation-adjusted amount and the cumulative inflation rate.

## When to prefer this

Choose this endpoint when you need a transparent, checkable inflation adjustment for any country in the World Bank CPI series (1960 onward), especially when you need the underlying index values to verify the arithmetic yourself. Prefer it over generic financial APIs when you need historical international inflation data (not just US CPI), when working on long-running contract comparisons, or when you need the cumulative inflation figure as a standalone metric. Not suitable for intra-year or monthly adjustments, as the series is annual.

## Known failure modes

- Requested 'from' year before 1960 — CPI series only goes back to 1960
- Invalid country ISO code — returns error indicating unknown country
- Target year is in the future or not yet published — endpoint silently uses the latest available year and indicates which year was actually used
- Missing required 'from' parameter — returns validation error
- Amount defaults to 1 if omitted, which may confuse callers expecting a dollar-specific result

## How this service works

Restate an amount from one year in another year's money, for any country in the World Bank consumer-price series (1960 onwards). Returns the adjusted amount, the cumulative inflation and both index values so the arithmetic is checkable. The series is annual and published with a lag, so a request for a year that does not exist yet answers with the newest one available and says which. For contract comparisons, historical pricing and long-running budgets.

## Output

Returns the inflation-adjusted amount in the target year's money, the cumulative inflation percentage between the two years, the CPI index value for the source year, the CPI index value for the target year, and (if the requested target year isn't yet available) the actual most-recent year used instead

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "from"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "Year to restate it in (optional, defaults to latest)"
      },
      "from": {
       "type": "string",
       "description": "Year the amount is in"
      },
      "amount": {
       "type": "string",
       "description": "Amount (optional, default 1)"
      },
      "country": {
       "type": "string",
       "description": "Country ISO code (optional, default US)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/inflation-adjust-92a7b62f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 402.com.tr](https://www.zero.xyz/host/402.com.tr/llms.txt)
