# International Address Formats – Country Address Fields Lookup

> International Address Formats – Country Address Fields Lookup is a paid API for AI agents from address-formats.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-02).

Returns which address fields (state, city, district, postal code) a given country uses, along with their local labels and whether each field is required.

## Facts

- Endpoint: GET https://address-formats.x402tookit.com/country-address-fields?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/international-address-formats-country-address-fields-lookup-70e0fb39
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tMg5qvS-IbAwApbYHrpBu

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 international-address-formats-country-address-fields-lookup-70e0fb39
```

Example prompt: What address fields does Ireland (IE) use in its standard postal address, and what are their local labels?

## When to prefer this

Use this endpoint when you need to know the structural composition of a country's postal address — which fields exist and their local labels — rather than how to format or validate a specific address. It is the right choice for building dynamic address forms, normalizing address data imports, or localizing UI labels per country. Prefer it over the layout/template endpoint when you need field-level metadata (required, uppercase, local label) rather than a line-order template.

## Known failure modes

- Missing or invalid country query parameter returns an error
- Unsupported or unrecognized ISO country code may return null fields or empty field list
- Degraded mode flag may be set if data source is incomplete for a given country
- Network or payment (x402) failure prevents response

## How this service works

Which address fields a country uses and their local labels: state/province/county, city, district, postal code.

## Output

Returns a structured object containing: a list of address fields for the specified country (each with field name, local label, token, required flag, and uppercase flag), boolean flags indicating presence of city/state/district/postal code fields, local labels for those fields, country name, data source, snapshot date, and a summary. May also include degraded-mode indicators and attribution.

## 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": [
      "country"
     ],
     "properties": {
      "country": {
       "type": "string",
       "description": "ISO 3166-1 alpha-2 code, e.g. IE"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "fields": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "field": {
          "type": [
           "null",
           "string"
          ]
         },
         "label": {
          "type": [
           "null",
           "string"
          ]
         },
         "token": {
          "type": [
           "null",
           "string"
          ]
         },
         "required": {
          "type": [
           "boolean",
           "null"
          ]
         },
         "uppercase": {
          "type": [
           "boolean",
           "null"
          ]
         }
        }
       }
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "country": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "dataSource": {
       "type": [
        "null",
        "string"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
  
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/international-address-formats-country-address-fields-lookup-70e0fb39/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from address-formats.x402tookit.com](https://www.zero.xyz/host/address-formats.x402tookit.com/llms.txt)
