# ISO 3166-1 Country Code to English Name Lookup

> ISO 3166-1 Country Code to English Name Lookup is a paid API for AI agents from agentshield.live, paid per call via x402, $0.002/call, status unknown (last checked 2026-12-03).

Resolves an ISO 3166-1 alpha-2 or alpha-3 country code to its official English short name

## Facts

- Endpoint: GET https://agentshield.live/country?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/iso-3166-1-country-code-to-english-name-lookup-6f311c97
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lqLueqHATra6Sa688W7hB

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 iso-3166-1-country-code-to-english-name-lookup-6f311c97
```

Example prompt: What is the official English country name for the ISO 3166-1 code 'DEU'?

## When to prefer this

Use this endpoint when you have an ISO 3166-1 alpha-2 (e.g. 'DE') or alpha-3 (e.g. 'DEU') country code and need the standardized English short name. It is ideal for enriching structured data, display layers, or any workflow requiring human-readable country names from machine codes. It is not a full country database — use it only for code-to-name resolution, not for capitals, populations, or other country metadata.

## Known failure modes

- Unknown or invalid ISO code returns HTTP 404
- Passing a non-standard or obsolete code (e.g. former country codes) may return 404
- Alpha-4 or numeric ISO codes are not supported and will fail validation
- Malformed or empty code parameter causes request failure

## How this service works

Call when an agent has an ISO 3166-1 code and needs the English short name. Unknown codes return 404.

## Output

A JSON object containing the submitted ISO code, the official English short name of the country (e.g. 'Germany'), and a boolean 'known' field confirming the code was recognized. Returns a 404 error for unrecognized codes.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "code"
     ],
     "properties": {
      "code": {
       "type": "string",
       "description": "ISO 3166-1 alpha-2 or alpha-3 code."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "code": "DE",
  "name": "Germany",
  "known": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/iso-3166-1-country-code-to-english-name-lookup-6f311c97/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshield.live](https://www.zero.xyz/host/agentshield.live/llms.txt)
