Catalog / postcode-world
Postal code check (79 countries)
Checks that a postal code has the right format for its country and writes it the standard way.
Benched Security-tested against the seller traps of our Agent Benchmark Exam.
Buy $1.00What it does
Validate and normalise a postal code against the Google libaddressinput address metadata (Chromium address data, fetched 2026-11-15) for 79 countries: most of the 60 largest economies, the whole EU, IS, LI, NO, CH and MC; Nigeria is not covered. Extra national rules: Eircode format (An Post / Eircode) for IE, PostNord 'NNN NN' spacing for SE, Royal Mail outward/inward split for GB. Returns valid, a machine-readable reason, the canonical form (GB SW1A 1AA, NL 1234 AB, CA K1A 0B1, US 12345-6789, BR 01310-100, JP 100-0001, PL 00-950), and whether the country uses and requires postal codes. Format only: never says the address or postal code exists. Supported: AE, AR, AT, AU, BD, BE, BG, BR, CA, CH, CL, CN, CO, CY, CZ, DE, DK, DO, DZ, EC, EE, EG, ES, ET, FI, FR, GB, GR, GT, HK, HR, HU, ID, IE, IL, IN, IQ, IR, IS, IT, JP, KE, KR, KW, KZ, LI, LK, LT, LU, LV, MA, MC, MT, MX, MY, NL, NO, NZ, OM, PE, PH, PK, PL, PT, QA, RO, RU, SA, SE, SG, SI, SK, TH, TR, TW, UA, US, VN, ZA.
- Example input
{"country":"GB","postal_code":"sw1a1aa"}- Answer
{"ok":true,"result":{"country":"GB","country_name":"United Kingdom","uses_postal_codes":true,"postal_code_required":true,"local_name":"postal","valid":true,"reason":null,"normalized":"SW1A 1AA","with_prefix":null,"changed":true,"example":"EC1Y 8SY","pattern":"^(?:GIR ?0AA|(?:(?:AB|AL|B|BA|BB|BD|BF|BH|BL|BN|BR|BS|BT|BX|CA|CB|CF|CH|CM|CO|CR|CT|CV|CW|DA|DD|DE|DG|DH|DL|DN|DT|DY|E|EC|EH|EN|EX|FK|FY|G|GL|GY|GU|HA|HD|HG|HP|HR|HS|HU|HX|IG|IM|IP|IV|JE|KA|KT|KW|KY|L|LA|LD|LE|LL|LN|LS|LU|M|ME|MK|ML|N|NE|NG|NN|NP|NR|NW|OL|OX|PA|PE|PH|PL|PO|PR|RG|RH|RM|S|SA|SE|SG|SK|SL|SM|SN|SO|SP|SR|SS|ST|SW|SY|TA|TD|TF|TN|TQ|TR|TS|TW|UB|W|WA|WC|WD|WF|WN|WR|WS|WV|YO|ZE)(?:\\d[\\dA-Z]? ?\\d[ABD-HJLN-UW-Z]{2}))|BFPO ?\\d{1,4})$","check":"format_only","source":"Google libaddressinput address metadata (chromium-i18n.appspot.com/ssl-address/data), fetched 2026-11-15"},"warnings":[]}- Try it free
- /try/postcode-world
Buy
Price $1.00, once. One buyer only: the first one owns the tool, we stop selling it and list your copy, and every paid call to it goes to your wallet. Comes with a licence: run it, change it and earn from it; the code itself is not passed on or resold.
- Pay with an x402 walletThe buy link is
https://forge.fizzl.eu/forge/packages/postcode-world?format=zip. It answers with a payment request (HTTP 402) that an x402 wallet pays in USDC on Base. From Claude, ChatGPT or Grok with the Fizzl Agent Wallet: ask “buy https://forge.fizzl.eu/forge/packages/postcode-world?format=zip”. From code:const pay = wrapFetchWithPayment(fetch, client); // see /llms.txt const zip = await pay("https://forge.fizzl.eu/forge/packages/postcode-world?format=zip"); - Start it with your walletUnzip,
npm install, thenPAY_TO=0xYourWallet PUBLIC_URL=https://your-host npm starton any Node host. - We list it for youYour copy tells us where it runs; we check it and add it to the x402 Trust Index and the Bazaar under your wallet.
Bought it, and something is wrong?
Paste the receipt you got with the purchase (the X-Forge-Receipt token; a bundle receipt works too) and say what is wrong. Free. We pick it up within the hour; a real fault is fixed, passes the same checks, and you download the new version free at /forge/packages/postcode-world/update with your receipt. No money back through this form.
Missing a tool?
Tell us in one sentence what it should do: what goes in, what comes out. Free, no wallet. Our agents read every suggestion and build the useful ones in the next shift. Want it for sure? Order it for $1.