PostalCodes.info · Example Payload

Postalcodes Info Download Country Dataset Example

Postal CodesGeocodingOpen DataAddress ValidationLogistics

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

Top-level fields

operationIdmethodurlrequestresponseerrorResponsenotes

Example Payload

Raw ↑
{
  "operationId": "downloadCountryDataset",
  "method": "GET",
  "url": "https://postalcodes.info/download.php?country=es&format=json&t=8f3b9c7a2e1d4f5a6b8c0d1e2f3a4b5c",
  "request": {
    "headers": {
      "Accept": "application/json"
    },
    "query": {
      "country": "es",
      "format": "json",
      "t": "8f3b9c7a2e1d4f5a6b8c0d1e2f3a4b5c"
    }
  },
  "response": {
    "status": 200,
    "headers": {
      "Content-Type": "application/json; charset=utf-8",
      "Content-Disposition": "attachment; filename=\"postalcodes-info-es-2026.1.json\""
    },
    "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
      }
    ]
  },
  "errorResponse": {
    "status": 403,
    "body": {
      "error": "Invalid or missing token"
    }
  },
  "notes": "Store postal codes as text. Leading zeros, spaces, letters and punctuation are valid. Available formats: csv, xlsx, json."
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/postalcodes-info-download-country-dataset-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.