Validate a postal code
List every ISO 3166-1 alpha-2 country code for which a postal-code pattern is available.
postal.openverbs.comBase last paid 27d ago
- Category
- Other services
- Starting price
- $0.002
- Paid calls · 30 days
- 4
- Unique payers · 30 days
- 4
Paid endpoints
4 endpoints, sorted by usage. Prices are per request.
- POST/v1/countries
List every ISO 3166-1 alpha-2 country code for which a postal-code pattern is available.
$0.002Base1calls / 30d - POST/v1/validate
Check whether a postal / ZIP code is well-formed for a country (ISO 3166-1 alpha-2). A malformed code is a successful result with `valid:false`, not an error — only an unsupported country or empty code is a 400.
$0.002Base1calls / 30d - POST/v1/format
Normalise a postal code's casing and whitespace (uppercase, collapse runs of spaces) and report whether the normalised form is valid for the country.
$0.002Base1calls / 30d - POST/v1/spec
Return the validation regular expression (source and flags) used for a country's postal codes.
$0.002Base1calls / 30d