# WorldData402 Country Data

> WorldData402 Country Data is a paid API for AI agents from worlddata402.worlddata402.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-23).

Returns global market, government, and reference data for a specific country identified by its country code

## Facts

- Endpoint: POST https://worlddata402.worlddata402.workers.dev/v1/country/%7Bcode%7D?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/worlddata402-country-data-ddf06bc3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wYcRaDfI4oXT-9bmHj4Av

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 worlddata402-country-data-ddf06bc3 -d '<json body>'
```

Example prompt: Pull up the full country profile for Germany — I need market data, government stats, and key economic indicators like GDP and population.

## When to prefer this

Choose this endpoint when you need structured, machine-readable country-level data — including market, government, and economic reference data — on a pay-per-call basis via USDC on Base mainnet. It is ideal for AI agents that need to enrich records with country profiles, perform compliance lookups, or surface economic indicators without committing to a subscription. Prefer it over bulk data providers when you only need occasional country lookups or when the x402 micropayment model fits your agent's cost structure.

## Known failure modes

- Invalid or unrecognized country code returns an error or empty response
- Unsupported country code format (e.g. numeric instead of alpha) may cause lookup failure
- Payment failure over x402/USDC results in 402 response and no data returned
- Network timeout or Cloudflare Worker cold start may cause latency spikes
- Country code with no available data may return partial or null fields

## How this service works

Global market, government and reference data for AI agents. Pay-per-call over x402 (USDC on Base mainnet).

## Output

A structured data object containing global market, government, and reference information for the requested country, likely including fields such as country name, capital, region, population, GDP, currency, government type, and other economic and demographic indicators.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/worlddata402-country-data-ddf06bc3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from worlddata402.worlddata402.workers.dev](https://www.zero.xyz/host/worlddata402.worlddata402.workers.dev/llms.txt)
