Data foundation

Look up population by postcode

Estimated population for every postcode in the EU-27 — built from official census grids (Eurostat Census 2021, Destatis Census 2022) and official statistics offices for NL, LU and FI.

Postcode lookup

Enter a postcode — the country is auto-detected unless you pick one.

Data source and methodology

The table contains roughly 131,000 postcodes from 27 EU countries with estimated population. It is built by combining two official datasets: postcode points from GISCO (European Commission) and population grids from the censuses.

  • Eurostat Census 2021 (1 km grid): for most EU countries, every inhabited grid cell is assigned to the nearest postcode coordinate. Border cells only choose among the postcodes of the countries that report them.
  • Destatis Census 2022, 100 m grid (DE): for Germany the ten times finer official grid is used — the DE total deviates less than 1 % from the official census.
  • Official statistics: the Netherlands (CBS Kerncijfers PC4), Luxembourg (RNPP) and Finland (Paavo) provide real postcode values and fully replace the estimates.
  • Dutch and Portuguese postcodes are aggregated to the 4-digit level — the underlying grid cannot resolve finer source points.

Accuracy and use cases

The values are estimates for targeting weights, not official postcode statistics: postcode points are centroids, not boundaries, and in dense urban areas several postcodes share the same grid cells. The total is systematically 1–3 % below census values (unassignable population has no geometry).

Typical applications: audience weighting and territory budgets in Amazon Marketing Cloud, retail media planning, territory analytics, and any classification where “how many people live in this postcode” serves as a weight.

API and MCP access

The same data is available programmatically — for scripts, BI tools and AI agents:

REST single lookup

GET /api/plz-einwohner?country=DE&postalCode=73431

REST batch (max. 1,000)

POST /api/plz-einwohner/lookup
{"items": ["DE:73431", {"country":"AT","postcode":"6020"}]}

MCP server

POST /mcp   (JSON-RPC 2.0)
Tools: lookup_plz_population
       lookup_plz_population_batch
       get_plz_dataset_info

Example response: {"data":{"country":"DE","postcode":"73431","population":11723,"source":"destatis-zensus-2022","release":"pcode-2024+census-2021-v3+zensus2022-100m"}} — metadata and release tags also via GET /api/plz-einwohner/meta.

Frequently asked questions

How current is the population data per postcode?

The data is based on the Eurostat Census 2021 population grid (1 km² cells) and the Destatis Census 2022 100 m grid for Germany. Official postcode statistics are used for the Netherlands (CBS), Luxembourg (RNPP) and Finland (Paavo).

Are the figures exact or estimates?

They are estimates: population grid cells are assigned to the nearest postcode point coordinate. Germany uses the 100 m grid (very accurate, the DE total deviates <1% from the census), other countries use the 1 km grid. Suitable for targeting weights, not for official statistics.

Which postcode formats are supported?

All common formats: spaces, hyphens and dots are stripped and lookup is case-insensitive. Dutch and Portuguese postcodes are aggregated to the 4-digit level because the underlying grid cannot resolve them more finely.

Is there an API or MCP access to the data?

Yes: GET /api/plz-einwohner?country=DE&postalCode=73431 for single lookups, POST /api/plz-einwohner/lookup for batches of up to 1,000 items, and POST /mcp as an MCP server with the tools lookup_plz_population, lookup_plz_population_batch and get_plz_dataset_info.

Sources and licence

  • GISCO Postal Codes — © Eurostat / European Commission, CC-BY-SA 4.0
  • Eurostat Census 2021 Population Grid — free reuse with attribution
  • Destatis Census 2022, population counts in 100 m grid cells — with attribution
  • CBS Kerncijfers per postcode (NL), RNPP (LU), Statistics Finland Paavo (FI) — official statistics

The dataset is validated monthly and rebuilt when new source releases appear. Not for billing or official certificates.