# World Bank Country Data Bundle (GDP + Population)

> World Bank Country Data Bundle (GDP + Population) is a paid API for AI agents from agent402.tools, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Fetches GDP and population data for a given country from the World Bank in a single bundled API call using one x402 payment.

## Facts

- Endpoint: POST https://agent402.tools/api/skill/world-data
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/world-bank-country-data-bundle-gdp-population-4d0e5c8b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VVtk7IgzZ03uUsYHuP3n5

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-data-bundle-gdp-population-4d0e5c8b -d '<json body>'
```

Example prompt: Can you pull the GDP and population figures for Japan from the World Bank in a single call using the country code JP?

## When to prefer this

Use this endpoint when you need both GDP and population data for a country simultaneously and want to avoid paying separately for multiple World Bank indicator calls — it bundles multiple indicators into one x402 payment, making it more cost-efficient than calling individual indicator endpoints.

## Known failure modes

- Invalid or unsupported ISO 3166-1 alpha-2 country code returns an error
- World Bank data unavailable for a specific country or indicator returns missing/null fields
- Payment failure via x402 protocol prevents execution
- Network timeout from upstream World Bank API

## How this service works

Bundled execution of the World Bank country data workflow - GDP and population for a country - two key World Bank indicators in one call. One x402 payment runs 3 underlying tools (world-bank-indicator, world-bank-indicator, world-bank-indicator); partial-success per step.

## Output

Returns GDP and population World Bank indicator values for the specified country, bundled from three underlying world-bank-indicator tool calls into a single response, covering key macroeconomic metrics.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "country": {
   "type": "string",
   "description": "ISO 3166-1 alpha-2 country code (e.g. US, GB, JP)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "args": {
   "country": "US"
  },
  "pack": "world-data",
  "steps": [
   {
    "ok": true,
    "slug": "world-bank-indicator",
    "result": {}
   },
   {
    "ok": true,
    "slug": "world-bank-indicator",
    "result": {}
   },
   {
    "ok": true,
    "slug": "world-bank-indicator",
    "result": {}
   }
  ],
  "summary": "3/3 steps succeeded"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/world-bank-country-data-bundle-gdp-population-4d0e5c8b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.tools](https://www.zero.xyz/host/agent402.tools/llms.txt)
