Postleitzahlen/Codes postaux (PLZ6/NPA6)- Switzerland
This dataset is part of the Geographical repository maintained by Opendatasoft. It contains data published by swisstopo about postcodes in Switzerland (Official directory of towns and cities/Amtliches Ortschaftenverzeichnis/Répertoire officiel des localités). Enrichment Administrative hierarchies...
Trust score
How is this computed?Weighted across five axes. Tap a ring for what it measures.
Data schema (15 fields)
Click a field to see example values.
| Fill | Field | Type | Description |
|---|---|---|---|
| — | geo_point_2dGeo Point | geo_point_2d | — |
| — | geo_shapeShape | geo_shape | — |
| — | year | date | — |
| — | kan_codeOfficial code Kanton | text | — |
| — | kan_nameOfficial Name Kanton | text | — |
| — | bez_codeOfficial code Bezirk | text | — |
| — | bez_nameOfficial Name Bezirk | text | — |
| — | gem_codeOfficial code Gemeinde / Hoheitsgebiete | text | — |
| — | gem_nameOfficial Name Gemeinde / Hoheitsgebiete | text | — |
| — | plz_codeOfficial code Postleitzahl (PLZ/NPA4) | text | — |
| 100% | plz6_codeOfficial code Postleitzahl (PLZ6/NPA6) | text | — |
| 100% | plz6_nameOfficial Name Postleitzahl (PLZ6/NPA6) | text | — |
| 100% | plz6_area_codeIso 3166-3 Area Code | text | — |
| 100% | plz6_typeType | text | — |
| 100% | plz6_zusziffAdditional code | text | Additional characters to build PLZ6/NPA6 code from ZIP4/PLZ/NPA4 code. |
Schema captured from opendatasoft 1 hour ago.
Query the data
Pick columns and a sort, then fetch a live preview straight from the source. Choose an API-filterable column (marked ▾) under “Where” to pick from its list of values.
Sample data (5 records)
Record 1year: 2025 · bez_code: ["2227","2229"]
{
"year": "2025",
"bez_code": [
"2227",
"2229"
],
"bez_name": [
"Morges",
"Ouest lausannois"
],
"gem_code": [
"5632",
"5633",
"5635",
"5638",
"5643",
"5648"
],
"gem_name": [
"Denges",
"Echandens",
"Ecublens (VD)",
"Lonay",
"Préverenges",
"Saint-Sulpice (VD)"
],
"kan_code": [
"22"
],
"kan_name": [
"Vaud"
],
"plz_code": [
"1026"
],
"geo_shape": "[large value omitted]",
"plz6_code": [
"102602"
],
"plz6_name": [
"Denges"
],
"plz6_type": "PLZ6/NPA6",
"geo_point_2d": {
"lat": 46.52336685332613,
"lon": 6.539015508244451
},
"plz6_zusziff": "02",
"plz6_area_code": "CHE"
}Record 2year: 2025 · bez_code: ["2223"]
{
"year": "2025",
"bez_code": [
"2223"
],
"bez_name": [
"Gros-de-Vaud"
],
"gem_code": [
"5471",
"5472",
"5473",
"5480",
"5496",
"5501"
],
"gem_name": [
"Bettens",
"Bournens",
"Boussens",
"Daillens",
"Penthaz",
"Sullens"
],
"kan_code": [
"22"
],
"kan_name": [
"Vaud"
],
"plz_code": [
"1035"
],
"geo_shape": "[large value omitted]",
"plz6_code": [
"103500"
],
"plz6_name": [
"Bournens"
],
"plz6_type": "PLZ6/NPA6",
"geo_point_2d": {
"lat": 46.60893721226559,
"lon": 6.564022036213166
},
"plz6_zusziff": "00",
"plz6_area_code": "CHE"
}Record 3year: 2025 · bez_code: ["2223"]
{
"year": "2025",
"bez_code": [
"2223"
],
"bez_name": [
"Gros-de-Vaud"
],
"gem_code": [
"5512",
"5522",
"5534",
"5661",
"5680",
"5693",
"5923"
],
"gem_name": [
"Bercher",
"Boulens",
"Fey",
"Montanaire",
"Ogens",
"Oppens",
"Rueyres"
],
"kan_code": [
"22"
],
"kan_name": [
"Vaud"
],
"plz_code": [
"1038"
],
"geo_shape": "[large value omitted]",
"plz6_code": [
"103800"
],
"plz6_name": [
"Bercher"
],
"plz6_type": "PLZ6/NPA6",
"geo_point_2d": {
"lat": 46.69163484510623,
"lon": 6.706292396512348
},
"plz6_zusziff": "00",
"plz6_area_code": "CHE"
}Record 4year: 2025 · bez_code: ["2223"]
{
"year": "2025",
"bez_code": [
"2223"
],
"bez_name": [
"Gros-de-Vaud"
],
"gem_code": [
"5518",
"5522",
"5531",
"5537",
"5539",
"5540",
"5541"
],
"gem_name": [
"Echallens",
"Fey",
"Goumoëns",
"Montilliez",
"Penthéréaz",
"Villars-le-Terroir",
"Vuarrens"
],
"kan_code": [
"22"
],
"kan_name": [
"Vaud"
],
"plz_code": [
"1040"
],
"geo_shape": "[large value omitted]",
"plz6_code": [
"104002"
],
"plz6_name": [
"Villars-le-Terroir"
],
"plz6_type": "PLZ6/NPA6",
"geo_point_2d": {
"lat": 46.661798441819464,
"lon": 6.642601883668206
},
"plz6_zusziff": "02",
"plz6_area_code": "CHE"
}Record 5year: 2025 · bez_code: ["2223"]
{
"year": "2025",
"bez_code": [
"2223"
],
"bez_name": [
"Gros-de-Vaud"
],
"gem_code": [
"5471",
"5472",
"5473",
"5480",
"5511",
"5529",
"5535"
],
"gem_name": [
"Assens",
"Bettens",
"Bournens",
"Boussens",
"Daillens",
"Oulens-sous-Echallens",
"Saint-Barthélemy (VD)"
],
"kan_code": [
"22"
],
"kan_name": [
"Vaud"
],
"plz_code": [
"1042"
],
"geo_shape": "[large value omitted]",
"plz6_code": [
"104204"
],
"plz6_name": [
"Bettens"
],
"plz6_type": "PLZ6/NPA6",
"geo_point_2d": {
"lat": 46.62425287849818,
"lon": 6.57506212096562
},
"plz6_zusziff": "04",
"plz6_area_code": "CHE"
}Live sample captured at profiling time — values may have changed upstream.
Using the API
Configuration
- Base URL
- https://public.opendatasoft.com/api/explore/v2.1/catalog/datasets/georef-switzerland-postleitzahl-6
License
Terms stated by the source (not a recognized license):
Custom License (see reference link)
Query examples
curl -s 'https://public.opendatasoft.com/api/explore/v2.1/catalog/datasets/georef-switzerland-postleitzahl-6/records?limit=20' -H 'Accept: application/json'First 20 records of the dataset as JSON.
Uses the Opendatasoft Explore v2.1 syntax — supports select, where, group_by and order_by.
Rate limits
Dataset
Volume & freshness
License
No license declared upstream.
Source: opendatasoft
Machine-readable & source
Embed this badge in a README or wiki — it always shows the latest verification state and quality tier.