# Country and Currency Codes – Name Normalise

> Country and Currency Codes – Name Normalise 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-30).

Normalises free-text country name variants (e.g. USA, U.S., United States of America) to ISO 3166-1 alpha-2 and alpha-3 codes, with a confidence score, up to 25 names per call.

## Facts

- Endpoint: GET https://country-codes-iso.x402tookit.com/name-normalise?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/country-and-currency-codes-name-normalise-1f2b3542
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GosuZNXo3rASVVB_0rtMs

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-name-normalise-1f2b3542
```

Example prompt: Can you normalise these country name variants to their ISO 3166-1 alpha-2 and alpha-3 codes with confidence scores: USA|U.S.|Deutschland|United States of America|UK?

## When to prefer this

Choose this endpoint when you need to resolve informal, user-typed, or multilingual country name variants to authoritative ISO 3166-1 codes at scale (up to 25 per call) and require a per-result confidence score to flag uncertain matches. It is purpose-built for name normalisation with fuzzy matching, unlike a plain code-conversion endpoint which only handles already-structured codes.

## Known failure modes

- More than 25 names submitted in a single call — excess names may be skipped or rejected
- Completely unrecognisable or misspelled strings return low confidence or null codes
- Ambiguous names that map to multiple countries (e.g. 'Georgia') return the best-guess match with lower confidence
- Missing 'names' query parameter causes a 400-level error
- Service degraded flag set to true when operating in reduced-accuracy mode

## How this service works

Normalise country names like USA, U.S. or United States of America to ISO codes; up to 25 per call, with confidence.

## Output

Returns an array of result objects, one per input name, each containing the original input string, the matched canonical country name, ISO alpha-2 code, ISO alpha-3 code, match status, the field matched on, and a numeric confidence score. Also includes a summary, verdict, and optional degraded/disclaimer fields at the response level.

## 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": [
      "names"
     ],
     "properties": {
      "names": {
       "type": "string",
       "description": "Names separated by | or new lines, e.g. USA|U.S.|Deutschland"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ]
      },
      "results": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "name": {
          "type": [
           "null",
           "string"
          ]
         },
         "input": {
          "type": [
           "null",
           "string"
          ]
         },
         "alpha2": {
          "type": [
           "null",
           "string"
          ]
         },
         "alpha3": {
          "type": [
           "null",
           "string"
          ]
         },
         "status": {
          "type": [
           "null",
           "string"
          ]
         },
         "matchedOn": {
          "type": [
           "null",
           "string"
          ]
         },
         "confidence": {
          "type": [
           "null",
           "number"
          ]
         }
        }
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/country-and-currency-codes-name-normalise-1f2b3542/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)
