# Country and Currency Codes – Fuzzy Multi-Type Lookup

> Country and Currency Codes – Fuzzy Multi-Type 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).

Look up a country, currency, or language from any ISO code, TLD, name, or partial/misspelled input with fuzzy matching and ambiguity flags.

## Facts

- Endpoint: GET https://country-codes-iso.x402tookit.com/code-lookup?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-fuzzy-multi-type-lookup-ce446462
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Wk6LTFVlYTXBedHr3KDc0

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-fuzzy-multi-type-lookup-ce446462
```

Example prompt: Can you look up 'Germny' and tell me what country that is, including its alpha-2, alpha-3, numeric codes, currency, and TLD — use fuzzy matching since the spelling might be off?

## When to prefer this

Choose this endpoint when you have an unknown or potentially misspelled code or name that could be a country, currency, or language, and you want a single call to resolve it with fuzzy matching and ambiguity detection. It is the broadest entry point in this API family — prefer it over the type-specific endpoints when the input type is uncertain. Use the type-specific sibling endpoints when you already know the domain (e.g., currency-only lookup or language-only lookup) for slightly more targeted results.

## Known failure modes

- No match found for highly ambiguous or nonsense input — returns empty matches array
- Input matches multiple entity types simultaneously — flagged with otherInterpretations and ambiguity disclaimer
- Extremely corrupted spelling may score below threshold — returns low-confidence or no match
- Type filter mismatch (e.g., querying a currency code with type=country) — returns no matches for that type
- Network or payment failure — HTTP 402 or 5xx error

## How this service works

Look up a country, currency or language from any ISO code, TLD or name, with fuzzy matching and ambiguity flags.

## Output

Returns a structured response with the resolved kind (country, currency, or language), the matched entity's full details (alpha-2, alpha-3, numeric code, name, official name, TLD, region, sub-region, capital, currencies, calling codes, independence status), a fuzzy match score, what field was matched on, ambiguity/disclaimer flags, alternative interpretations, and a human-readable summary and verdict.

## 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 code or name: FR, FRA, 250, .fr, Germny, EUR, Spanish"
      },
      "type": {
       "type": "string",
       "description": "auto (default), country, currency or language"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "kind": {
       "type": [
        "null",
        "string"
       ]
      },
      "input": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "matches": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "tld": {
          "type": [
           "null",
           "string"
          ]
         },
         "name": {
          "type": [
           "null",
           "string"
          ]
         },
         "score": {
          "type": [
           "null",
           "number"
          ]
         },
         "alpha2": {
          "type": [
           "null",
           "string"
          ]
         },
         "alpha3": {
          "type": [
           "null",
           "string"
          ]
         },
         "region": {
          "type": [
           "null",
           "string"
          ]
         },
         "capital": {
          "type": [
           "null",
           "string"
          ]
         },
         "numeric": {
          "type": [
           "null",
           "string"
          ]
         },
         "matchedOn": {
          "type": [
           "null",
           "string"
          ]
         },
         "subRegion": {
          "type": [
           "null",
           "string"
          ]
         },
   
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/country-and-currency-codes-fuzzy-multi-type-lookup-ce446462/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)
