# fittings CPI-U Inflation Adjuster

> fittings CPI-U Inflation Adjuster is a paid API for AI agents from fittings.sh, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-10).

Adjusts a US dollar amount between two time periods using the official BLS CPI-U index, returning inflation-adjusted value and both index values.

## Facts

- Endpoint: GET https://fittings.sh/v1/cpi/adjust?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fittings-cpi-u-inflation-adjuster-aeb8b8ea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_leDhwObh11LfO5xn20F5H

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 fittings-cpi-u-inflation-adjuster-aeb8b8ea
```

Example prompt: Using the official BLS CPI-U index, how much would $10,000 from January 1990 be worth in today's dollars?

## When to prefer this

Choose this endpoint when you need to adjust a US dollar amount for inflation using the authoritative BLS CPI-U index. Prefer it over custom inflation calculators when official government data is required, or when you need both the adjusted amount and underlying index values for transparency. Best for US-dollar-denominated amounts; for foreign currency inflation, consider country-specific indices.

## Known failure modes

- Invalid or future date period returns an error — only periods with published BLS data are supported
- Missing required 'amount' or 'from' parameters returns a validation error
- Non-numeric amount value causes a schema validation failure
- Target period defaults to latest published month if omitted, which may change over time as new data is published

## How this service works

Adjusts a US dollar amount between two dates using the official BLS CPI-U index, returning both index values.

## Output

Returns the inflation-adjusted dollar amount along with the CPI-U index values for both the source and target periods, allowing comparison of purchasing power across time.

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "amount",
      "from"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "Target period, YYYY or YYYY-MM. Defaults to the latest published month."
      },
      "from": {
       "type": "string",
       "description": "Source period, YYYY or YYYY-MM"
      },
      "amount": {
       "type": "number",
       "description": "US dollar amount to adjust"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fittings-cpi-u-inflation-adjuster-aeb8b8ea/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fittings.sh](https://www.zero.xyz/host/fittings.sh/llms.txt)
