Api Endpoint

Address & Postal Code Format

Address format and postal code validation for 252 countries: postcode regex and examples, PIN code (India), ZIP and postal code names, address line order, required fields, and states or provinces with ISO 3166-2 codes. Covers all 54 African countries (says which have no postcodes), India, the Gulf and Asia. Pass postcode to check it; India PIN codes also return the state. Source: Google's open address metadata (Apache 2.0).

Open interactive test console

Offering

Provider
agentstall.padawanconsulting.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://agentstall.padawanconsulting.com/v1/address-format
MIME type
application/json
First seen
2026-11-25T17:10:11.725Z
Last seen
Tags
address-format, postal-code, postcode-validation, pin-code, address-validation

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0xA5b46001f5fAAfA9d7bB4efeEA6C724d52567a02"
  }
]

Observed health

Status
Healthy
Latest latency
205 ms
Average latency
202 ms
HTTP status
402
Last checked
Reachability
100% over 2 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "country": {
          "type": "string",
          "description": "Optional 2-letter ISO country codes, comma-separated, up to 60 (default: all 252 countries and territories)"
        },
        "postcode": {
          "type": "string",
          "description": "Optional postcode or PIN code to check against the format; needs exactly one country"
        }
      },
      "required": []
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object"
    }
  },
  "required": [
    "type"
  ]
}