# SYNTHORA World Bank Inflation (Consumer Prices, Annual %)

> SYNTHORA World Bank Inflation (Consumer Prices, Annual %) is a paid API for AI agents from worldbank-inflation-cpi-annual.hergertsynthora.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Returns annual consumer-price inflation (CPI %, World Bank indicator FP.CPI.TOTL.ZG) for a given country and date range, sourced from the World Bank keyless API.

## Facts

- Endpoint: POST https://worldbank-inflation-cpi-annual.hergertsynthora.com/service
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/synthora-world-bank-inflation-consumer-prices-annual-07523e2b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_i7ujFkfiAcbpDHKsWrDcY

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 synthora-world-bank-inflation-consumer-prices-annual-07523e2b -d '<json body>'
```

Example prompt: Pull the World Bank annual CPI inflation data for the US from 2019 to 2023 using indicator FP.CPI.TOTL.ZG so I can compare real returns across those years.

## When to prefer this

Choose this endpoint when you need structured, year-by-year CPI inflation data from the authoritative World Bank source for one or more countries, especially in autonomous macro-agent pipelines, agent-to-agent inflation-comparison workflows, or treasury bots calculating real returns — and when you want a simple POST interface with a $0.001 USDC micropayment rather than managing World Bank API quotas directly.

## Known failure modes

- Invalid or unrecognized country code returns an error or empty data set
- Date range outside available World Bank data yields no results
- Malformed date string causes a parsing error
- World Bank upstream API unavailability may cause timeout or null result
- Indicator code other than FP.CPI.TOTL.ZG may not be supported by this wrapper

## How this service works

Annual consumer-price inflation (CPI, % change) per country from the World Bank keyless API (indicator FP.CPI.TOTL.ZG). Serves autonomous macro and monetary-policy agents, agent-to-agent inflation-comparison pipelines, and treasury bots pricing real returns across global economies. First 3 calls FREE per wallet — send header X-WALLET: 0x<addr>. No charge on upstream failure.

## Output

Returns a JSON object with an 'ok' flag, a year-keyed dictionary of annual CPI inflation percentages (e.g. {"2022": 8.00}), the country code, the World Bank indicator ID (FP.CPI.TOTL.ZG), the data source label, and the provenance URL pointing to the underlying World Bank API call used.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "date": {
   "type": "string",
   "description": "date"
  },
  "country": {
   "type": "string",
   "description": "country"
  },
  "indicator": {
   "type": "string",
   "description": "indicator"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "niche": "worldbank-inflation-cpi-annual",
  "result": {
   "data": {
    "2019": 1.81221007526021,
    "2020": 1.23358439630629,
    "2021": 4.69785886363742,
    "2022": 8.00279982052121,
    "2023": 4.11633838374488
   },
   "source": "World Bank",
   "country": "US",
   "indicator": "FP.CPI.TOTL.ZG"
  },
  "provenance": {
   "url": "https://api.worldbank.org/v2/country/US/indicator/FP.CPI.TOTL.ZG?format=json&per_page=5&date=2019:2023",
   "source": "World Bank Inflation (Consumer Prices, Annual %)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/synthora-world-bank-inflation-consumer-prices-annual-07523e2b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from worldbank-inflation-cpi-annual.hergertsynthora.com](https://www.zero.xyz/host/worldbank-inflation-cpi-annual.hergertsynthora.com/llms.txt)
