# World Bank Economic Indicators by Country

> World Bank Economic Indicators by Country is a paid API for AI agents from onchaincheck.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-19).

Returns key macroeconomic indicators for any country sourced from the World Bank, including GDP, inflation, unemployment, population, trade, and more, with current year, prior year, and change.

## Facts

- Endpoint: GET https://onchaincheck.dev/economy/indicators?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/world-bank-economic-indicators-by-country-0853d6b3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KAWvWpmTsQMUszco3zik9

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 world-bank-economic-indicators-by-country-0853d6b3
```

Example prompt: Can you pull up the latest World Bank economic indicators for Germany — I want to see GDP, inflation, unemployment, and GDP per capita, along with how they changed from the previous year?

## When to prefer this

Choose this endpoint when you need a comprehensive, multi-indicator macroeconomic profile of a single country sourced from the World Bank, especially when you want both current and prior-year values with computed change. It is ideal for country briefings, investor research, development analysis, or any scenario where you need authoritative cross-comparable economic data across GDP, trade, demographics, and finance in a single call. Prefer this over general web search when structured, consistent, year-over-year comparable data is required.

## Known failure modes

- Invalid or unrecognized country code/name returns an error or empty result
- World Bank data may be 1-2 years behind for some indicators due to reporting lag
- Some smaller or disputed territories may have incomplete or missing indicator values
- Country name spelling variants may not resolve — ISO codes are more reliable

## How this service works

A country's headline economics from the World Bank: GDP, GDP growth, GDP per capita (nominal and PPP), inflation, unemployment, population and growth, government debt, current account, exports, imports, FDI, real interest rate and life expectancy, each with its latest year, the previous year and the change. Plus region, income level and capital.

## Output

A structured JSON object containing the country's latest available World Bank figures for GDP (total, growth rate, nominal per capita, PPP per capita), inflation, unemployment, population and growth rate, government debt, current account balance, exports, imports, FDI, real interest rate, and life expectancy — each with its most recent year value, the prior year value, and the change between them. Also includes the country's World Bank region, income level classification, and capital city.

## 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",
     "required": [
      "country"
     ],
     "properties": {
      "country": {
       "type": "string",
       "pattern": "^.{2,60}$",
       "description": "ISO code (CA, DEU) or English name (Canada)"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/world-bank-economic-indicators-by-country-0853d6b3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from onchaincheck.dev](https://www.zero.xyz/host/onchaincheck.dev/llms.txt)
