# ADH Country Data Lookup

> ADH Country Data Lookup is a paid API for AI agents from agentdatum.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-15).

Returns structured geographic and demographic data for a given country, including borders, capital, population, currencies, languages, and more.

## Facts

- Endpoint: GET https://agentdatum.com/api/v1/d/country-data?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/adh-country-data-lookup-b5361dd0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FEuvuHVD5AssVQLsdLeVV

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 adh-country-data-lookup-b5361dd0
```

Example prompt: Pull the country profile for China — I need the capital, population, borders, currency, language, ISO codes, and calling code.

## When to prefer this

Choose this endpoint when you need structured, enriched country-level geographic and demographic metadata — especially ISO codes, borders, population, currencies, and languages — delivered as a clean JSON object with source attribution. Prefer it over raw REST Countries API calls when you want normalized data with provenance metadata and agent-native x402 micropayment support.

## Known failure modes

- Invalid or unrecognized country identifier returns an error or empty result
- Missing required 'input' field returns a 400-level validation error
- Network or upstream data source unavailability returns a 5xx error
- Payment failure via x402 protocol results in 402 response and no data returned

## How this service works

ADH 金融情报层：把 239 个原始数据源洗成带实体解析、时间同步、溯源与派生结论的情报（宏观regime / 加密尽调 / 事件窗口），免费注入你的 AI 上下文。Agent 走 x402 结算，人类订阅（PayPal）即将上线。

## Output

A JSON object containing raw country data including official and common names, ISO alpha-2/alpha-3/numeric codes, capital(s), region, subregion, coordinates, area, population, languages, currencies, calling code, borders, landlocked status, UN membership, and data collection timestamp with source attribution.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "raw": {
   "area": 9706961,
   "name": "China",
   "latlng": [
    35,
    35
   ],
   "region": "Asia",
   "source": "mledoze/countries (open dataset, replaces deprecated restcountries v3.1)",
   "borders": [
    "AFG",
    "AFG"
   ],
   "capital": [
    "Beijing"
   ],
   "name_zh": "中国",
   "official": "People's Republic of China",
   "unMember": true,
   "languages": [
    "Chinese"
   ],
   "subregion": "Eastern Asia",
   "timezones": [],
   "currencies": [
    "CNY"
   ],
   "iso_alpha2": "CN",
   "iso_alpha3": "CHN",
   "landlocked": false,
   "population": 1406585000,
   "calling_code": "+86",
   "iso_numeric_m49": "156"
  },
  "source": "restcountries",
  "data_type": "地理",
  "collected_at": "2026-08-09T18:12:04Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/adh-country-data-lookup-b5361dd0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentdatum.com](https://www.zero.xyz/host/agentdatum.com/llms.txt)
