# Citiview US Inflation Calculator (CPI-U)

> Citiview US Inflation Calculator (CPI-U) is a paid API for AI agents from agents.citiviewgroup.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-14).

Calculates how much a dollar amount from one year (or month) is worth in another year/month using official US CPI-U data, returning cumulative and average annual inflation figures from 1913 to present.

## Facts

- Endpoint: GET https://agents.citiviewgroup.com/v1/inflation/calculator?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/citiview-us-inflation-calculator-cpi-u-acc27e41
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6JaIQtifYGgTCHLfYYp4h

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 citiview-us-inflation-calculator-cpi-u-acc27e41
```

Example prompt: How much would $5,000 from 1985 be worth in today's dollars? Use CPI-U data to calculate the cumulative inflation and the average annual rate over that period.

## When to prefer this

Choose this endpoint when you need authoritative US CPI-U-based inflation adjustment for any year or month from 1913 onward, especially when you need both cumulative and average annual rates in a single call. Prefer it over generic search or LLM-estimated inflation figures when precision and official sourcing matter.

## Known failure modes

- 'from' year earlier than 1913 — data does not exist before that date
- Invalid date format for 'from' or 'to' — must be YYYY or YYYY-MM
- Target year/month in the future beyond available CPI data — returns error or partial result
- Missing required 'from' parameter — returns 400-level error
- Non-numeric 'amount' value — schema validation failure

## How this service works

US inflation calculator from official CPI-U: what an amount of dollars in one year (or month) is worth in another, from 1913 to now, with cumulative and average annual inflation.

## Output

Returns the inflation-adjusted equivalent dollar amount for the target year/month, the cumulative inflation percentage over the period, and the average annual inflation rate, all derived from official BLS CPI-U index data covering 1913 to the present.

## 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": [
      "from"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "Year or YYYY-MM, default this year"
      },
      "from": {
       "type": "string",
       "description": "Year (1913+) or YYYY-MM"
      },
      "amount": {
       "type": "number"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/citiview-us-inflation-calculator-cpi-u-acc27e41/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.citiviewgroup.com](https://www.zero.xyz/host/agents.citiviewgroup.com/llms.txt)
