# ISO Country Lookup

> ISO Country Lookup is a paid API for AI agents from api.strale.io, paid per call via x402, $0.0216/call, status unknown (last checked 2026-09-13).

Look up country metadata by name, ISO alpha-2/3, or numeric code, returning region, capital, currency, and EU/Schengen/Eurozone membership status.

## Facts

- Endpoint: GET https://api.strale.io/x402/iso-country-lookup
- Price: $0.0216/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-strale-io-0ee48e0f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oxKbi0KWXUhSJrjP7dWns

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 api-strale-io-0ee48e0f
```

Example prompt: What are the region, capital, currency, and EU/Schengen/Eurozone membership details for Germany — look it up by its ISO alpha-2 code DE.

## When to prefer this

Use this endpoint when you need authoritative country metadata — especially ISO code resolution, regional classification, capital/currency lookup, or EU/Schengen/Eurozone membership checks — in a single lightweight call. Prefer this over general web search or geocoding APIs when the input is already a country identifier (name or ISO code) and you need structured, machine-readable output.

## Known failure modes

- Unrecognized country name or code returns a 4xx error with no results
- Ambiguous country name (e.g. 'Congo') may return unexpected result or error
- Numeric code with leading zeros may need to be passed as a string
- Non-existent ISO codes return empty or error response
- Payment failure (402) if USDC balance is insufficient

## How this service works

Look up any country by name, ISO code (alpha-2/3/numeric). Returns region, capital, currency, EU/Schengen/Eurozone membership.

## Output

Returns structured country metadata including the full country name, geographic region, capital city, currency, and boolean or status flags for EU membership, Schengen area membership, and Eurozone membership.

## Example request

```json
{
 "query": "DE"
}
```

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "query"
     ],
     "properties": {
      "query": {
       "type": "string",
       "description": "Country name, alpha-2, alpha-3, or numeric code"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-strale-io-0ee48e0f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
