# Country and Currency Codes – ISO 4217 Currency Lookup

> Country and Currency Codes – ISO 4217 Currency Lookup is a paid API for AI agents from country-codes-iso.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-29).

Returns the currency for a given country (code, number, minor units) or the list of countries using a given ISO 4217 currency code.

## Facts

- Endpoint: GET https://country-codes-iso.x402tookit.com/country-currency?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/country-and-currency-codes-iso-4217-currency-lookup-8545d571
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wDoN6Edr9gx2rSMNV-5bf

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-and-currency-codes-iso-4217-currency-lookup-8545d571
```

Example prompt: What currency does Japan use, and what's its ISO 4217 code, numeric code, and number of minor units?

## When to prefer this

Use this endpoint when you need to resolve a country to its official ISO 4217 currency (code, numeric, minor units) or find all countries using a specific currency. Prefer this over a generic country-lookup endpoint when the primary output needed is currency metadata. Ideal for financial applications, e-commerce checkout, data enrichment pipelines, and internationalization workflows.

## Known failure modes

- Unrecognized country name or code returns an empty or error result
- Ambiguous query without mode specified may resolve incorrectly (use mode=country or mode=currency to disambiguate)
- Non-ISO currency names may not match
- Territories or special regions may not be included
- Rate limit or payment failure returns HTTP 402

## How this service works

Currency of a country (code, number, minor units) or every country using a currency, by ISO 4217.

## Output

Returns a currency object containing the ISO 4217 code, name, numeric code, and minor units, plus a list of countries using that currency (each with name, alpha-2 code, and a primary flag). Also includes source attribution, an 'asOf' timestamp, direction of the lookup, and optional disclaimer/summary fields.

## 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": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "A country (name or code) or a currency code, e.g. Japan or EUR"
      },
      "mode": {
       "type": "string",
       "description": "country, currency or auto (default)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "issuers": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ]
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "currency": {
       "type": [
        "null",
        "object"
       ],
       "properties": {
        "code": {
         "type": [
          "null",
          "string"
         ]
        },
        "kind": {
         "type": [
          "null",
          "string"
         ]
        },
        "name": {
         "type": [
          "null",
          "string"
         ]
        },
        "numeric": {
         "type": [
          "null",
          "string"
         ]
        },
        "minorUnit": {
         "type": [
          "null",
          "number"
         ]
        }
       }
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "countries": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "name": {
          "type": [
           "null",
           "string"
          ]
         },
         "alpha2"
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/country-and-currency-codes-iso-4217-currency-lookup-8545d571/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from country-codes-iso.x402tookit.com](https://www.zero.xyz/host/country-codes-iso.x402tookit.com/llms.txt)
