PostalCodes.info · Example Payload

Postalcodes Info Get Country Lookup Page Example

Postal CodesGeocodingOpen DataAddress ValidationLogistics

Postalcodes Info Get Country Lookup Page Example is an example object payload from PostalCodes.info, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodurlrequestresponsenotes

Example Payload

Raw ↑
{
  "operationId": "getCountryLookupPage",
  "method": "GET",
  "url": "https://postalcodes.info/postal-codes/spain",
  "request": {
    "headers": {
      "Accept": "text/html"
    },
    "path": {
      "country": "spain"
    }
  },
  "response": {
    "status": 200,
    "headers": {
      "Content-Type": "text/html; charset=utf-8"
    },
    "body": "<!doctype html><html><head><title>Spain Postal Codes | PostalCodes.info</title></head><body><h1>Spain</h1>... (canonical HTML page with hierarchy, locality and code references) ...</body></html>"
  },
  "notes": "Lookup pages are HTML. Useful for manual review and citation; not intended for machine parsing. Use /search and /ajax-preview for JSON access."
}