# World Bank Development Indicator Lookup

> World Bank Development Indicator Lookup is a paid API for AI agents from worldbank-x402.vercel.app, paid per call via x402, $0.002/call, status down (last checked 2026-09-15).

Fetches historical World Bank development indicator data (GDP, population, life expectancy, etc.) for a specified country using named shortcuts or raw indicator codes.

## Facts

- Endpoint: GET https://worldbank-x402.vercel.app/worldbank/indicator
- Price: $0.002/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/worldbank-x402-vercel-app-e90ec612
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nyImYzGKdl5O3CIvxBOBy

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 worldbank-x402-vercel-app-e90ec612
```

Example prompt: Can you pull the World Bank GDP data for the US from the last 5 years, and also grab life expectancy for India using the World Bank indicator shortcuts?

## When to prefer this

Use this endpoint when you need structured, time-series World Bank development data for a single country and a single indicator. It supports convenient named shortcuts (gdp, population, inflation, etc.) so agents don't need to memorize raw World Bank codes. Prefer this over the dashboard endpoint when you only need one metric, or over the comparison endpoint when you only need one country.

## Known failure modes

- Invalid or unsupported ISO2 country code returns an error or empty observations
- Unknown indicator alias or malformed raw indicator code returns an error
- No data available for the requested country/indicator/year combination returns empty observations array
- Payment failure (402) if x402 USDC micropayment is not processed correctly
- Rate limiting or Vercel serverless timeout on slow World Bank API responses

## How this service works

World Bank development indicator for any country. Supports named shortcuts (gdp, gdp_per_capita, population, life_expectancy, inflation, unemployment, co2_per_capita, poverty, internet_users, gini, literacy) or raw indicator codes like NY.GDP.MKTP.CD.

## Output

Returns an array of annual observations for the requested indicator and country, each containing the year, numeric value, country name, country code, full indicator name, and indicator code. Covers up to the last 5 available years by default, or a specific year if requested.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "country": "GB",
   "indicator": "population"
  }
 }
}
```

## 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",
      "indicator"
     ],
     "properties": {
      "year": {
       "type": "string",
       "description": "Specific year (default: last 5 available years)"
      },
      "country": {
       "type": "string",
       "description": "ISO2 country code (US, CN, DE, JP, GB, IN, BR, etc.) or WLD for world"
      },
      "indicator": {
       "type": "string",
       "description": "Named alias (gdp, population, life_expectancy, inflation, unemployment, co2_per_capita, gini) or raw World Bank code"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "country": {
       "type": "string"
      },
      "indicator": {
       "type": "string"
      },
      "observations": {
       "type": "array"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/worldbank-x402-vercel-app-e90ec612/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from worldbank-x402.vercel.app](https://www.zero.xyz/host/worldbank-x402.vercel.app/llms.txt)
