D-A-CH post code files

Open Postal Codes

Versioned CSV, JSON, and XML files for Germany, Austria, and Switzerland, delivered through a static file API with manifest hashes, compressed downloads, and stable v1 paths.

v1 current version 9 public files D-A-CH coverage

Choose the shortest route for your task: inspect the manifest, download primary CSV files, or verify the published contract.

Quickstart

The API is a static file API. No token, account, or server-side negotiation is required.

Base URL
https://schoenfeld-solutions.github.io/open-postal-codes/api/v1
Fetch the manifest
curl -fsS https://schoenfeld-solutions.github.io/open-postal-codes/api/v1/index.json
Download Germany CSV
curl -fsS -O https://schoenfeld-solutions.github.io/open-postal-codes/api/v1/de/post_code.csv
Use compressed data
curl -fsS https://schoenfeld-solutions.github.io/open-postal-codes/api/v1/ch/post_code.csv.gz | gzip -dc

Country coverage

Each country publishes CSV, JSON, and XML files with the same record set and the same v1 field contract.

Germany

DE

9,486

Five-digit post codes with Bundesland enrichment.

Austria

AT

3,879

Four-digit post codes with Bundesland enrichment.

Switzerland

CH

4,833

Four-digit post codes with canton enrichment.

Downloads

The table is enhanced from the live manifest when available. Static links remain visible for direct access.

File Format Records Size Gzip SHA-256
de/post_code.csv CSV 9,486 Manifest .gz Manifest
at/post_code.csv CSV 3,879 Manifest .gz Manifest
ch/post_code.csv CSV 4,833 Manifest .gz Manifest

Schema

CSV uses the field order below. JSON and XML publish the same fields with booleans and ranks typed naturally in JSON.

Field Meaning
code Post code; DE has five digits, AT and CH have four digits.
city City or place label associated with the post code.
country ISO country code: DE, AT, or CH.
state Bundesland for DE and AT; canton for CH.
county Lower administrative area when available.
time_zone Windows time zone identifier; D-A-CH uses W. Europe Standard Time.
is_primary_location True for the highest-ranked row within a country and post code.
location_rank Rank of this place within the same post code.
postal_code_rank Rank of this post code within the same normalized place.
source Either postal_boundary or address_fallback.
evidence_count Accepted address evidence count behind the row.

Quality signals

The repository validates contract shape, record floors, source metadata, manifest hashes, and gzip outputs before publication.

Weekly Scheduled data refresh cadence.
Hashes SHA-256 for every public file and gzip file.
State Bundesland or canton is required for D-A-CH rows.
No PBF Raw downloads stay outside the repository.