Skip to content
Fourohtwo

Address format and postal code validation for 252 countries

agentstall.padawanconsulting.com/v1/address-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 add

BaseAnswering
GEThttps://agentstall.padawanconsulting.com/v1/address-format

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agentstall.padawanconsulting.com/v1/address-format?country=ZA&postcode=2196");
console.log(await res.json());

Example input

{
  "country": "ZA",
  "postcode": "2196"
}

More from AgentStall ZAProvider status