# Country Metadata Lookup

> Country Metadata Lookup is a paid API for AI agents from mcpfax-utility.bowling-anthony.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns currency, capital city, calling code, languages, and flag for a country given its name or ISO code.

## Facts

- Endpoint: GET https://mcpfax-utility.bowling-anthony.workers.dev/v1/country
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/country-metadata-lookup-56469b32
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OHx_NrlISKTKG9pGjoM3M

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 country-metadata-lookup-56469b32
```

Example prompt: What's the currency, capital, calling code, and official languages for Japan? Just give me all the country metadata you can find.

## When to prefer this

Use this endpoint when you need structured country reference data — currency, capital, calling code, languages, or flag — from a country name or ISO code. Ideal for localizing applications, enriching user profiles with geographic data, or validating international phone prefixes. Prefer this over general web search when you need machine-readable, structured metadata rather than prose descriptions.

## Known failure modes

- Unrecognized or misspelled country name returns an error or empty result
- Ambiguous input (e.g. 'Congo') may resolve to unexpected country variant
- Territories or disputed regions may not be included
- Non-standard ISO codes return an error

## How this service works

Country metadata — Name/ISO code → currency, capital, calling code, languages, flag.

## Output

A structured object containing the country's official name, ISO 3166-1 alpha-2 and alpha-3 codes, currency name and code, capital city, international calling code, official languages, and flag emoji or URL.

## 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"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/country-metadata-lookup-56469b32/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcpfax-utility.bowling-anthony.workers.dev](https://www.zero.xyz/host/mcpfax-utility.bowling-anthony.workers.dev/llms.txt)
