← Back to directory

Address format and postal code validation for 252 countries: postcode regex and ...

https://agentstall.padawanconsulting.com/v1/address-format

Overview

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).

Protocol x402
Price $0.0010
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider AgentStall ZA
Source bazaar
Indexed 2026-11-23 09:13:41

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "country": "ZA", "postcode": "2196" }, "type": "http" }

Output Schema

{ "example": { "asOf": "2026-11-23", "count": 1, "note": "Address format and postal code rules per country from Google's open address metadata (the data behind Chrome and Android address forms). addressLines shows the order of lines on an envelope; postalCode null means the metadata lists no postal code for that country. postalPrefix is a regex for the start of postcodes in that subdivision, where known. Format check only: a matching postcode may not exist.", "postcodeCheck": { "expected": [ "0083", "1451", "0001" ], "input": "2196", "note": "Format check only: a postcode can match the format and still not exist.", "subdivisions": [], "valid": true }, "results": [ { "addressLines": [ "{name}", "{organization}", "{streetAddress}", "{suburb}", "{city}", "{postalCode}" ], "country": "ZA", "name": "South Africa", "postalCode": { "examples": [ "0083", "1451", "0001" ], "lookupUrl": "https://www.postoffice.co.za/Questions/postalcode.html", "name": "postal code", "regex": "^(?:\\d{4})$" }, "requiredFields": [ "streetAddress", "city", "postalCode" ], "uppercaseFields": [ "city" ] } ], "sources": [ "Google libaddressinput address metadata, https://chromium-i18n.appspot.com/ssl-address/data (Apache License 2.0), as packaged in google-i18n-address 3.1.1 on PyPI (BSD-3-Clause), https://github.com/mirumee/google-i18n-address" ] }, "type": "json" }