# ISO3166 Country Lookup

> ISO3166 Country Lookup is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Looks up a country name from a static ISO 3166-1 alpha-2 country code table and returns the name and code as deterministic JSON.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/iso3166-country-lookup
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/iso3166-country-lookup-55c6e417
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nlwo6KCagFpCEaof5h5wG

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 iso3166-country-lookup-55c6e417 -d '<json body>'
```

Example prompt: What country name corresponds to the ISO 3166-1 alpha-2 code 'DE'?

## When to prefer this

Choose this endpoint when you need a fast, deterministic, offline-style country code-to-name resolution with no API key setup, no live data dependency, and a predictable sub-cent cost — ideal for data labeling, display enrichment, or pipeline annotation where accuracy over a standard ISO table is sufficient.

## Known failure modes

- Unrecognized or invalid alpha-2 code returns an error or empty result
- Lowercase or malformed codes may not match the expected format
- Codes for territories not in the subset table may not be found
- Payment failure via x402 prevents the request from being processed

## How this service works

Lookup country name from a static ISO3166-1 alpha-2 table subset. Call when labeling country codes offline. Returns name and code as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.

## Output

A deterministic JSON object containing the matched country's full name and its ISO 3166-1 alpha-2 code, computed locally from a static table with no external calls.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "code": {
   "type": "string",
   "description": "ISO3166-1 alpha-2 code"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "code": "BR",
  "schema": "delx/util-iso3166-country-lookup/v1",
  "country_name": "Brazil"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/iso3166-country-lookup-55c6e417/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
