# DataNexusAI World Bank Country Economic Indicators

> DataNexusAI World Bank Country Economic Indicators is a paid API for AI agents from api.datanexusai.org, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-01).

Retrieves World Bank economic indicators (such as GDP per capita) for a specified country via a micropayment-gated API.

## Facts

- Endpoint: GET https://api.datanexusai.org/api/economic/worldbank/country/%7Bcountry%7D?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datanexusai-world-bank-country-economic-indicators-8f5f42ce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3ER-WtHyvGyXhWwoQje4u

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 datanexusai-world-bank-country-economic-indicators-8f5f42ce
```

Example prompt: What is the GDP per capita for the United States according to World Bank data?

## When to prefer this

Choose this endpoint when you need structured World Bank economic indicator data (especially GDP per capita) for a specific country, delivered via a lightweight micropayment model. Prefer this over direct World Bank API access when you need a simple, agent-callable interface with predictable JSON output and x402 payment support. Best for one-off country lookups rather than bulk data pulls.

## Known failure modes

- Invalid or unrecognized country code returns an error or empty indicators object
- Payment failure (insufficient USDC balance or x402 misconfiguration) results in a 402 Payment Required response
- Network timeout if the upstream World Bank data source is unavailable
- Malformed path parameter (e.g., non-ISO country code) may return a 400 or 404 error

## How this service works

Public data API for SEBRA payments, PTP road accidents, Hearthstone cards, EU agri-food prices, and trade/market analytics. Paid data endpoints use x402 (USDC micropayments). Docs and discovery endpoints are free.

Machine-readable discovery: `https://api.datanexusai.org/openapi.json`, `https://api.datanexusai.org/llms.txt`, `https://api.datanexusai.org/.well-known/x402`.

Human docs: `/docs` and `/api/`.

## Output

A JSON object containing the country identifier, the endpoint name, and a nested indicators object with values such as GDP per capita (e.g., {"country":"USA","endpoint":"worldbank_country","indicators":{"gdp_per_capita":{"value":76329.6}}}).

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    },
    "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": {
  "country": "USA",
  "endpoint": "worldbank_country",
  "indicators": {
   "gdp_per_capita": {
    "value": 76329.6
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datanexusai-world-bank-country-economic-indicators-8f5f42ce/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.datanexusai.org](https://www.zero.xyz/host/api.datanexusai.org/llms.txt)
