# Polyform World Bank Economic Data API

> Polyform World Bank Economic Data API is a paid API for AI agents from api.polyform.org, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Returns World Bank macroeconomic indicators (e.g. GDP) for a given country and year, paid per-call via USDC micropayment.

## Facts

- Endpoint: GET https://api.polyform.org/v1/econ/worldbank
- 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/polyform-world-bank-economic-data-api-1870e573
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4Sz5umJplARAu0fPginev

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 polyform-world-bank-economic-data-api-1870e573
```

Example prompt: What's the World Bank GDP figure for the United States in 2025? Just pay the micropayment and fetch it — no API key needed.

## When to prefer this

Choose this endpoint when you need World Bank macroeconomic indicator data (such as GDP) for a specific country without setting up an account or API key, and you are able to make a USDC micropayment on Base via x402. Ideal for AI agents that need on-demand economic data in automated workflows at very low cost per call.

## Known failure modes

- Invalid or unsupported country name returns an error or empty result
- Unsupported indicator type returns an error
- Insufficient USDC payment results in 402 Payment Required response
- Network or upstream World Bank data unavailability causes a service error
- Malformed query parameters return a 400 Bad Request

## How this service works

Pay-per-call data endpoints for AI agents. USDC on Base via x402. No account, no API key — one micropayment per call.

## Output

Returns a JSON object containing the year, country name, indicator name (e.g. 'GDP (current US$)'), and the numeric value of the indicator — for example, GDP in current US dollars for the requested country and year.

## 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",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "year": 2025,
  "value": 29000000000000,
  "country": "United States",
  "indicator": "GDP (current US$)"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/polyform-world-bank-economic-data-api-1870e573/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.polyform.org](https://www.zero.xyz/host/api.polyform.org/llms.txt)
