# ExchangeRebel Macro CPI Data

> ExchangeRebel Macro CPI Data is a paid API for AI agents from exchangerebel.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-13).

Retrieves Consumer Price Index (CPI) macroeconomic data for inflation and price-level analysis

## Facts

- Endpoint: GET https://exchangerebel.com/toll/macro/cpi?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/exchangerebel-macro-cpi-data-f48f97a7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SodL51nmgAgsNK8dYWCfp

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 exchangerebel-macro-cpi-data-f48f97a7
```

Example prompt: Can you pull the latest Consumer Price Index (CPI) data from ExchangeRebel's macro endpoint so I can see current inflation figures?

## When to prefer this

Choose this endpoint when you need quick, pay-per-call access to CPI/inflation macroeconomic data without a subscription, especially in agent workflows that require on-demand economic indicators at low cost ($0.005 per call).

## Known failure modes

- Missing or invalid query parameters may return an error or empty result
- Rate limiting if called excessively without proper payment
- Service unavailability resulting in a non-200 response
- Stale or delayed CPI data if the source feed is not updated

## How this service works

macro-cpi

## Output

Returns Consumer Price Index (CPI) data including current and/or historical inflation metrics, price-level indicators, and related macroeconomic figures as structured JSON.

## 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"
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

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