# Datakoot Country Profile (World Bank Economic Data)

> Datakoot Country Profile (World Bank Economic Data) is a paid API for AI agents from x402.datakoot.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-11).

Returns key macroeconomic indicators for a given country (GDP, inflation, GDP growth, population, unemployment, GDP per capita) sourced from the World Bank.

## Facts

- Endpoint: POST https://x402.datakoot.com/api/country_profile?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datakoot-country-profile-world-bank-economic-data-ff5b1f8c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oWplexYyClA3llb9KNi4i

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 datakoot-country-profile-world-bank-economic-data-ff5b1f8c -d '<json body>'
```

Example prompt: Can you pull up the latest World Bank economic profile for Japan — GDP, inflation, unemployment, population, and GDP per capita?

## When to prefer this

Choose this endpoint when you need a quick, authoritative macroeconomic snapshot of a country from the World Bank — covering GDP, inflation, growth, population, unemployment, and GDP per capita in a single call. It is ideal for country-level economic research, investment due diligence, academic analysis, or enriching agent workflows with standardized macro data. Prefer this over scraping Wikipedia or unofficial sources when you need citable, structured World Bank data. For more granular time-series or sector-specific data, a dedicated World Bank API may be more appropriate.

## Known failure modes

- Unrecognized country code or name returns an error or empty result
- Ambiguous country names may fail without ISO code
- World Bank data may lag real-time by 1-2 years for some indicators
- Network or upstream World Bank API outages can cause failures
- Payment failure via x402 prevents the call from completing

## How this service works

48 live public-data tools (security, packages, SEC filings, economy, FX, weather, domains, Federal Register, Base) for AI agents. $0.002 USDC per call on Base via x402, charged only on success. The same tools are free for 100 calls/day via MCP at <server>.datakoot.com/mcp.

## Output

A JSON object with the country name, data source attribution, and a 'latest' object containing GDP (current USD), inflation (annual %), GDP growth (annual %), total population, unemployment (% of labor force), and GDP per capita (current USD), each with year and label metadata.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "country": {
   "type": "string",
   "description": "Country as an ISO code or name, e.g. DE, DEU, or Germany."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "latest": {
   "gdp": {
    "year": "2025",
    "label": "GDP (current US$)",
    "value": 4435162999976.94
   },
   "inflation": {
    "year": "2025",
    "label": "Inflation, consumer prices (annual %)",
    "value": 3.17253034260248
   },
   "gdp_growth": {
    "year": "2025",
    "label": "GDP growth (annual %)",
    "value": 1.19311288444599
   },
   "population": {
    "year": "2025",
    "label": "Population, total",
    "value": 123366734
   },
   "unemployment": {
    "year": "2025",
    "label": "Unemployment (% of labor force)",
    "value": 2.451
   },
   "gdp_per_capita": {
    "year": "2025",
    "label": "GDP per capita (current US$)",
    "value": 35951.0449549304
   }
  },
  "source": "World Bank (CC-BY 4.0)",
  "country": "Japan"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datakoot-country-profile-world-bank-economic-data-ff5b1f8c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.datakoot.com](https://www.zero.xyz/host/x402.datakoot.com/llms.txt)
