# World Bank Country Data – Single Indicator Time Series

> World Bank Country Data – Single Indicator Time Series is a paid API for AI agents from world-bank.x402tookit.com, paid per call via x402, $0.02/call, status down (last checked 2026-10-24).

Returns a time-series of a single World Bank economic or social indicator for a country, including yearly values, average, change ratio, and trend verdict over 3–40 years.

## Facts

- Endpoint: GET https://world-bank.x402tookit.com/indicator-series?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: down
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/world-bank-country-data-single-indicator-time-series-3ef3812a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zp2G_EZveI31uuuS8lK4V

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-single-indicator-time-series-3ef3812a
```

Example prompt: Pull the World Bank GDP per capita data for Mexico over the last 20 years and tell me the average, the overall change, and whether the trend is up or down.

## When to prefer this

Choose this endpoint when you need a full time-series breakdown of a single economic or social indicator for one country — including trend direction, average, and change ratio — rather than a snapshot or cross-country ranking. Prefer it over the country profile endpoint (which only shows the latest values) and over the GDP-specific growth endpoint when you need non-GDP indicators like inflation, unemployment, life expectancy, debt-to-GDP, internet penetration, or CO2 per capita.

## Known failure modes

- Unknown country name or ISO code returns an error or empty result
- Unsupported indicator string outside the allowed enum returns an error
- Requesting fewer than 3 or more than 40 years returns a validation error
- World Bank source data unavailable for the requested period may trigger a degraded flag with partial results
- Network timeout or upstream World Bank API unavailability

## How this service works

An economic or social indicator for a country over 3-40 years: values, change, average and trend direction.

## Output

Returns a structured object with: a year-by-year series of indicator values, the newest and oldest data points with their years, an average across the period, a change ratio between first and last, a trend verdict, a plain-language summary, the country name, ISO3 code, indicator label, data source URL, attribution, and optional disclaimer or degraded flag.

## 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": {
      "years": {
       "type": "integer",
       "description": "How many years back, 3 to 40, default 10"
      },
      "country": {
       "type": "string",
       "description": "Country name or ISO code"
      },
      "indicator": {
       "type": "string",
       "description": "gdp, gdp_growth, gdp_per_capita, population, inflation, unemployment, life_expectancy, debt_gdp, internet, co2_per_capita"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "iso3": {
       "type": [
        "null",
        "string"
       ]
      },
      "label": {
       "type": [
        "null",
        "string"
       ]
      },
      "newest": {
       "type": [
        "null",
        "object"
       ],
       "properties": {
        "year": {
         "type": [
          "null",
          "number"
         ]
        },
        "value": {
         "type": [
          "null",
          "number"
         ]
        }
       }
      },
      "oldest": {
       "type": [
        "null",
        "object"
       ],
       "properties": {
        "year": {
         "type": [
          "null",
          "number"
         ]
        },
        "value": {
         "type": [
          "null",
          "number"
         ]
        }
       }
      },
      "series": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "year": {
          "type": [
           "null",
           "number"
          ]
         },
         "value": {
          "type": [
           "null",
           "number"
          ]
         }
        }
       }
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
   
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/world-bank-country-data-single-indicator-time-series-3ef3812a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from world-bank.x402tookit.com](https://www.zero.xyz/host/world-bank.x402tookit.com/llms.txt)
