# Datakoot Country Economic Indicator

> Datakoot Country Economic Indicator 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 time-series World Bank economic indicator data (GDP, inflation, unemployment, etc.) for a specified country over recent years

## Facts

- Endpoint: POST https://x402.datakoot.com/api/country_indicator?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-economic-indicator-1e99d61d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NYtOQTxpFAChELnh872Ak

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-economic-indicator-1e99d61d -d '<json body>'
```

Example prompt: Pull the inflation data for Japan from the World Bank for the last 8 years so I can see how consumer prices have trended.

## When to prefer this

Choose this endpoint when you need official, sourced macroeconomic time-series data for a specific country from the World Bank — ideal for economic research, country comparisons, policy analysis, or data enrichment pipelines that need GDP, inflation, unemployment, trade, debt, or development indicators. Prefer this over scraped or proprietary sources when CC-BY licensed World Bank provenance is acceptable or required.

## Known failure modes

- Invalid or unrecognized country code/name returns an error
- Invalid indicator key returns an error (use list_indicators to discover valid keys)
- World Bank data may be missing for recent years (e.g. 2024/2025 may be preliminary or absent)
- Payment failure via x402 results in no data returned
- Rate limit exceeded on free MCP tier after 100 calls/day

## 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 containing the World Bank indicator code, the country name, a human-readable indicator label, the data source attribution, and an array of year/value pairs for the requested number of most recent years.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "years": {
   "type": "integer",
   "default": 12,
   "description": "How many of the most recent years to return."
  },
  "country": {
   "type": "string",
   "description": "Country as an ISO code or name, e.g. JP, JPN, or Japan."
  },
  "indicator": {
   "type": "string",
   "description": "World Bank indicator key: gdp, gdp_per_capita, gdp_growth, inflation, population, unemployment, life_expectancy, exports, imports, govt_debt_pct_gdp, real_interest_rate, fdi, co2_per_capita, internet_users. Call list_indicators for the full set. Raw World Bank codes are also accepted."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "code": "FP.CPI.TOTL.ZG",
  "series": [
   {
    "year": "2025",
    "value": 2.17178770949721
   },
   {
    "year": "2024",
    "value": 2.2564981433876
   }
  ],
  "source": "World Bank (CC-BY 4.0)",
  "country": "Germany",
  "indicator": "Inflation, consumer prices (annual %)"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datakoot-country-economic-indicator-1e99d61d/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)
