# US Inflation Data — CPI & PCE via x402atlas

> US Inflation Data — CPI & PCE via x402atlas is a paid API for AI agents from marketdata.use.x402atlas.com, paid per call via x402, $0.015/call, status unknown (last checked 2026-09-15).

Returns US headline and core CPI and PCE inflation indexes with year-over-year rates, sourced from Federal Reserve macro time-series, with optional date range filtering.

## Facts

- Endpoint: GET https://marketdata.use.x402atlas.com/inflation
- Price: $0.015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/us-inflation-data-cpi-pce-via-x402atlas-f1f1358b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oJ_NsPD3f-RE_xCbtBSKS

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-inflation-data-cpi-pce-via-x402atlas-f1f1358b
```

Example prompt: Pull the latest US inflation data — I want headline CPI, core CPI, headline PCE, and core PCE with their year-over-year rates for the past 12 months ending today.

## When to prefer this

Choose this endpoint when you need authoritative US inflation macro data (CPI and PCE) directly sourced from Federal Reserve time series, especially when you need both headline and core variants side-by-side with year-over-year rates. Prefer over generic data providers when you need structured, filterable historical inflation data with consistent Federal Reserve sourcing and per-call micro-payment access without a subscription.

## Known failure modes

- Invalid date format (not YYYY-MM-DD) returns a 400 error
- Date range with no available observations returns empty result set
- limit=0 or negative limit may return error or empty set
- Future dates return no data since Fed data is historical only
- Payment failure (insufficient USDC) returns 402 before data is served

## How this service works

US inflation — headline and core CPI and PCE indexes plus year-over-year rates, macro time-series from the Federal Reserve.

## Output

Returns a time-series collection of US inflation observations including headline CPI, core CPI, headline PCE, and core PCE index values along with year-over-year percentage change rates for each, sourced from Federal Reserve data. Results are filterable by date range or exact observation date, with up to 100 observations by default.

## 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",
     "properties": {
      "limit": {
       "type": "integer",
       "maximum": 50000,
       "minimum": 1,
       "description": "Max observations returned"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "queried_at",
      "series",
      "count",
      "observations"
     ],
     "properties": {
      "count": {
       "type": "integer",
       "description": "Number of observations returned."
      },
      "series": {
       "type": "string",
       "description": "Which macro series this response is for."
      },
      "queried_at": {
       "type": "string",
       "format": "date-time",
       "description": "UTC timestamp when this bridge queried the upstream."
      },
      "observations": {
       "type": "array",
       "items": {
        "type": "object"
       },
       "description": "Raw upstream observations for the series, passed through as reported (shape varies by series)."
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "series": "inflation",
  "queried_at": "2026-07-06T12:00:00Z",
  "observations": [
   {
    "cpi": 310.45,
    "date": "2025-06-01",
    "pce_core": 131.9,
    "cpi_year_over_year": 3.18
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/us-inflation-data-cpi-pce-via-x402atlas-f1f1358b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from marketdata.use.x402atlas.com](https://www.zero.xyz/host/marketdata.use.x402atlas.com/llms.txt)
