# US CPI Inflation Data API (Vextorium)

> US CPI Inflation Data API (Vextorium) is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-16).

Returns US Consumer Price Index (CPI-U) year-on-year inflation rates for headline, core, energy, and food categories, month by month, sourced from the US Bureau of Labor Statistics.

## Facts

- Endpoint: POST https://api.vextorium.com/ipc-eeuu-pago?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/us-cpi-inflation-data-api-vextorium-bc77c49a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YBLPsMf3Ai9TUSS_ENX0c

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 us-cpi-inflation-data-api-vextorium-bc77c49a -d '<json body>'
```

Example prompt: What are the latest US inflation figures — headline, core, energy, and food CPI rates year-over-year — for the past 12 months?

## When to prefer this

Choose this endpoint when you need structured, ready-to-use US CPI inflation data broken out by headline, core, energy, and food sub-indices in a single call, without having to parse raw BLS files or build your own aggregation. It is especially useful for agents that need to compare sub-components (e.g. energy vs core) or build month-by-month trend charts. Prefer alternatives if you need international inflation data, seasonally adjusted series, or non-CPI price indices (e.g. PCE, PPI).

## Known failure modes

- Invalid 'meses' value outside 1-24 range may return an error or default behavior
- BLS data lag may mean the most recent month is not yet available
- Network or payment failure returns no data
- Malformed request body returns a validation error

## How this service works

US inflation (CPI-U): year-on-year headline, core (ex food and energy), energy and food rates, month by month. US Bureau of Labor Statistics, public domain.

## Output

Returns a JSON object with four time series (ipc_general, ipc_subyacente, ipc_energia, ipc_alimentos) each containing monthly entries with the CPI index value and year-on-year percentage change, plus a 'ultimo' object with the most recent available data point for each category. Source attribution to the U.S. Bureau of Labor Statistics (CPI-U, non-seasonally adjusted) is included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "meses": {
   "type": "integer",
   "description": "1-24 (default 12)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "fuente": "U.S. Bureau of Labor Statistics (CPI-U, sin desestacionalizar)",
  "series": {
   "ipc_energia": [
    {
     "mes": "2026-03",
     "indice": 310.28,
     "interanual_pct": 12.53
    },
    {
     "mes": "2026-04",
     "indice": 329.907,
     "interanual_pct": 17.87
    }
   ],
   "ipc_general": [
    {
     "mes": "2026-03",
     "indice": 330.213,
     "interanual_pct": 3.26
    },
    {
     "mes": "2026-04",
     "indice": 333.02,
     "interanual_pct": 3.81
    }
   ],
   "ipc_alimentos": [
    {
     "mes": "2026-03",
     "indice": 346.796,
     "interanual_pct": 2.68
    },
    {
     "mes": "2026-04",
     "indice": 348.499,
     "interanual_pct": 3.18
    }
   ],
   "ipc_subyacente": [
    {
     "mes": "2026-03",
     "indice": 334.391,
     "interanual_pct": 2.6
    },
    {
     "mes": "2026-04",
     "indice": 335.803,
     "interanual_pct": 2.75
    }
   ]
  },
  "ultimo": {
   "ipc_energia": {
    "mes": "2026-08",
    "indice": 329.351,
    "interanual_pct": 16.28
   },
   "ipc_general": {
    "mes": "2026-08",
    "indice": 334.98,
    "interanual_pct": 3.4
   },
   "ipc_alimentos": {
    "mes": "2026-08",
    "indice": 350.418,
    "interanual_pct": 2.67
   },
   "ipc_subyacente": {
    "mes": "2026-08",
    "indice": 338.041,
    "interanual_pct": 2.45
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/us-cpi-inflation-data-api-vextorium-bc77c49a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
