# AgentRXI US Inflation Calculator (CPI-U)

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

Converts a dollar amount from one year or month to its equivalent value in another year or month using official US CPI-U data, returning cumulative and average annual inflation.

## Facts

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

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 agentrxi-us-inflation-calculator-cpi-u-ba355038
```

Example prompt: How much would $5,000 from 1985 be worth in today's dollars, based on official CPI-U inflation data? Show me the cumulative and average annual inflation rate too.

## When to prefer this

Choose this endpoint when you need authoritative US inflation adjustments grounded in official Bureau of Labor Statistics CPI-U data, especially for historical comparisons going back to 1913 or for month-level granularity. Prefer this over general LLM-computed estimates when precision and official sourcing matter — e.g. legal, financial, or academic contexts.

## Known failure modes

- 'from' year before 1913 — CPI-U data only starts in 1913
- Invalid date format for 'from' or 'to' parameter — must be YYYY or YYYY-MM
- Target date in the future beyond available CPI-U release — returns error or most recent available period
- Missing required 'from' parameter — returns validation error
- Non-numeric amount value — returns schema validation error

## 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 or month, along with the cumulative percentage inflation and average annual inflation rate over the specified period, computed from official US CPI-U 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/agentrxi-us-inflation-calculator-cpi-u-ba355038/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentrxi.com](https://www.zero.xyz/host/agentrxi.com/llms.txt)
