# World Bank Country Data - Country Profile

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

Returns a comprehensive country profile including region, income group, capital city, and latest key economic indicators (GDP, growth, inflation, unemployment, population) for a given country name or ISO code.

## Facts

- Endpoint: GET https://world-bank.x402tookit.com/country-profile?utm_source=zero.xyz
- Price: $0.03/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-country-profile-75ff3001
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BNeKuFtMI6jlcZ8lmhPYv

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-country-profile-75ff3001
```

Example prompt: Can you pull up the World Bank country profile for Brazil — I need its region, income group, capital, and the latest GDP, inflation, and population figures?

## When to prefer this

Use this endpoint when you need a broad, single-country economic and demographic snapshot — combining identity metadata (region, income group, capital) with several key indicators (GDP, growth, inflation, unemployment, population) in one call. Prefer it over the specialized time-series or ranking sibling endpoints when you need a quick overview rather than historical trends or multi-country comparisons.

## Known failure modes

- Unknown or misspelled country name returns an error or empty result
- Very small territories or disputed regions may not have World Bank data
- Some indicators may be null or missing if the World Bank has not published recent data
- Ambiguous input (e.g. abbreviation matching multiple countries) may return unexpected result
- Network or upstream World Bank API outage may cause degraded or empty response

## How this service works

Country profile by name or ISO code: region, income group, capital and latest GDP, growth, inflation, jobs, population.

## Output

Returns a structured country profile object including: country name, ISO2/ISO3 codes, World Bank region, capital city, income group classification, and the latest available values (with year) for GDP, GDP growth rate, inflation, unemployment, population, and internet usage — plus a human-readable summary, data source URL, and any data quality/degradation flags.

## 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"
     ],
     "properties": {
      "country": {
       "type": "string",
       "description": "Country name or ISO code, e.g. Brazil, BR, BRA"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "country": {
       "type": [
        "null",
        "object"
       ],
       "properties": {
        "iso2": {
         "type": [
          "null",
          "string"
         ]
        },
        "iso3": {
         "type": [
          "null",
          "string"
         ]
        },
        "name": {
         "type": [
          "null",
          "string"
         ]
        },
        "region": {
         "type": [
          "null",
          "string"
         ]
        },
        "capital": {
         "type": [
          "null",
          "string"
         ]
        },
        "incomeGroup": {
         "type": [
          "null",
          "string"
         ]
        }
       }
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "sourceUrl": {
       "type": [
        "null",
        "string"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "indicators": {
       "type": [
        "null",
        "object"
       ],
       "properties": {
        "gdp": {
         "type": [
          "null",
          "object"
         ],
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/world-bank-country-data-country-profile-75ff3001/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)
