← Back to directory

Check a postal code against a country's pattern, and a state/province's prefix p...

https://address-formats.x402tookit.com/postal-code-check

Overview

Check a postal code against a country's pattern, and a state/province's prefix pattern where the data lists one.

Protocol x402
Price $0.02
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider International Address Formats
Source bazaar
Indexed 2026-11-01 23:12:22

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": "US", "postal_code": "94043", "subdivision": "CA" }, "type": "http" }

Output Schema

{ "example": { "asOf": "2026-10-21T05:49:04.215Z", "attribution": "Google libaddressinput / i18n address data", "country": "US", "dataSource": "https://github.com/google/libaddressinput", "degraded": false, "disclaimer": "Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting.", "examples": [ "95014", "22162-1010" ], "formatValid": true, "normalized": "94043", "notChecked": [ "that the address, street or postal code actually exists or is deliverable", "the postal authority's current rules (the snapshot is dated and can be out of date)", "…2 more" ], "pattern": "(\\d{5})(?:[ \\-](\\d{4}))?", "postalCodeInput": "94043", "postalCodeLabel": "ZIP code", "reasons": [ "The code matches the country's pattern. That is a shape check only." ], "snapshotDate": "2026-10-21", "source": "Google libaddressinput i18n address data (chromium-i18n.appspot.com), bundled snapshot", "subdivisionCheck": { "matched": "CA", "name": "California", "prefixMatches": true, "prefixPattern": "9[0-5]|96[01]", "requested": "CA", "result": "code starts like this subdivision's codes" }, "subdivisionsWhosePrefixMatches": [ { "code": "CA", "name": "California" } ], "summary": "UNITED STATES: \"94043\" has a valid ZIP code format.", "verdict": "VALID_FORMAT" }, "type": "json" }