# Economy OpenVerbs Inflation & CPI History

> Economy OpenVerbs Inflation & CPI History is a paid API for AI agents from economy.openverbs.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-29).

Returns annual consumer price inflation (%) and CPI index (2010=100) for a given country over 1–10 years, sourced from World Bank WDI data.

## Facts

- Endpoint: POST https://economy.openverbs.com/v1/inflation?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/economy-openverbs-inflation-cpi-history-4210c18f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wosEJmgYJskqvo8r8obg2

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 economy-openverbs-inflation-cpi-history-4210c18f -d '<json body>'
```

Example prompt: Can you pull the World Bank inflation and CPI history for Brazil for the last 5 years? I want to see the annual consumer price inflation percentage and the price index trend.

## When to prefer this

Prefer this endpoint when you need reliable, World Bank-sourced annual inflation and CPI history for a specific country, especially for economic research, country risk assessments, or trend analysis. It is ideal when you need IMF-attributed data with explicit null-handling and clear index-base (2010=100) semantics. Not suitable for monthly inflation releases, real-time price data, cross-country price-level comparisons, or regional aggregates.

## Known failure modes

- Invalid ISO3 country code returns an error (no region aggregates supported)
- Requesting more than 10 or fewer than 1 year returns a validation error
- Countries with sparse World Bank data may return nulls for some years
- Payment failure via x402 protocol blocks the response
- Source data lag may mean the most recent calendar year is incomplete and excluded

## How this service works

Country inflation and CPI history from World Bank WDI: annual consumer-price inflation (%) and consumer price index (2010=100), by ISO3 country for the last 1-10 complete years. Includes independent latest values, units, nulls, source update date and IMF/CC BY attribution. Annual history, not monthly releases or forecasts; CPI levels do not compare prices across countries.

## Output

Returns a structured response containing annual consumer price inflation (%) and CPI values (indexed to 2010=100) for the requested country over the specified number of complete calendar years, plus the latest observed values, units, any null/missing observation flags, source update date, and IMF/CC BY attribution metadata.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "years": {
   "type": "integer",
   "default": 5,
   "maximum": 10,
   "minimum": 1,
   "description": "Last N complete calendar years in UTC, resolved before payment. Missing observations are not filled."
  },
  "country": {
   "type": "string",
   "pattern": "^[A-Za-z]{3}$",
   "description": "ISO 3166 alpha-3 code for one of 215 World Bank-supported countries/territories, e.g. BRA, IND or ZAF. No region aggregates."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/economy-openverbs-inflation-cpi-history-4210c18f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from economy.openverbs.com](https://www.zero.xyz/host/economy.openverbs.com/llms.txt)
