# World Bank Country Indicators

> World Bank Country Indicators is a paid API for AI agents from bess-x402.onrender.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-30).

Fetches World Bank development indicators (GDP, population, inflation, CO2, etc.) for any country or region by year range.

## Facts

- Endpoint: GET https://bess-x402.onrender.com/v1/finance/worldbank?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/world-bank-country-indicators-fbaca2e7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_B4XkZShJtFvc67dwqQWO2

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-country-indicators-fbaca2e7
```

Example prompt: Pull 10 years of World Bank data for Germany — I need GDP, GDP per capita, population, and inflation — so I can size the market.

## When to prefer this

Use this endpoint when you need authoritative macroeconomic or development data for any country — GDP, population, inflation, CO2, life expectancy, FDI, etc. — sourced directly from the World Bank. Prefer this over proprietary financial APIs when you need historical depth (up to 60 years), global country coverage including developing nations, or recognized institutional data for research, market sizing, or policy analysis.

## Known failure modes

- Invalid or unsupported ISO country code returns an error or empty dataset
- Unknown indicator alias or malformed World Bank indicator code returns no data
- Years parameter out of range (outside 1-60) may be rejected or clamped
- World Bank data gaps for certain years/countries may return null values for those periods
- Network timeout if the World Bank upstream API is slow

## How this service works

World Bank development data for any country: GDP, GDP per capita, growth, population, inflation, unemployment, life expectancy, CO2, exports, debt, internet use, FDI or any indicator code, by year. Use for country comparisons and market sizing.

## Output

Returns a structured dataset with annual values for the requested indicator(s) and country, including the indicator name, country name, ISO code, year, and numeric value — ready for charting, comparison, or market analysis.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "country"
     ],
     "properties": {
      "years": {
       "type": "integer",
       "description": "Years of data (1-60)"
      },
      "country": {
       "type": "string",
       "description": "ISO country code (AE, DEU) or WLD"
      },
      "indicator": {
       "type": "string",
       "description": "Alias (gdp, population...) or World Bank code"
      }
     }
    }
   },
   "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-country-indicators-fbaca2e7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bess-x402.onrender.com](https://www.zero.xyz/host/bess-x402.onrender.com/llms.txt)
