PostalCodes.info · Example Payload

Postalcodes Info Preview Country Records Example

Postal CodesGeocodingOpen DataAddress ValidationLogistics

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

Top-level fields

operationIdmethodurlrequestresponse

Example Payload

Raw ↑
{
  "operationId": "previewCountryRecords",
  "method": "GET",
  "url": "https://postalcodes.info/ajax-preview?country=spain",
  "request": {
    "headers": {
      "Accept": "application/json"
    },
    "query": {
      "country": "spain"
    }
  },
  "response": {
    "status": 200,
    "headers": {
      "Content-Type": "application/json; charset=utf-8"
    },
    "body": [
      {
        "country_code": "ES",
        "postal_code": "28001",
        "place_name": "Madrid",
        "admin_name1": "Madrid",
        "admin_name2": "Madrid",
        "admin_name3": null,
        "latitude": 40.4189,
        "longitude": -3.6919
      },
      {
        "country_code": "ES",
        "postal_code": "08001",
        "place_name": "Barcelona",
        "admin_name1": "Catalunya",
        "admin_name2": "Barcelona",
        "admin_name3": null,
        "latitude": 41.3825,
        "longitude": 2.1769
      }
    ]
  }
}