Postleitzahlen/Codes postaux (PLZ/NPA4)- Vintage/Millésimé - 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 (12 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% | plz_area_codeIso 3166-3 Area Code | text | — |
| 100% | plz_typeType | text | — |
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: 2023 · bez_code: ["1002","2222","2226"]
{
"year": "2023",
"bez_code": [
"1002",
"2222",
"2226"
],
"bez_name": [
"Broye-Vully",
"La Glâne",
"Lavaux-Oron"
],
"gem_code": [
"2061",
"2072",
"5799",
"5803",
"5806"
],
"gem_name": [
"Auboranges",
"Ecublens (FR)",
"Jorat-Mézières",
"Servion",
"Vulliens"
],
"kan_code": [
"10",
"22"
],
"kan_name": [
"Fribourg",
"Vaud"
],
"plz_code": [
"1076"
],
"plz_type": "PLZ4/NPA4",
"geo_shape": "[large value omitted]",
"geo_point_2d": {
"lat": 46.589045931946266,
"lon": 6.789099140516579
},
"plz_area_code": "CHE"
}Record 2year: 2023 · bez_code: ["2223","2227","2229"]
{
"year": "2023",
"bez_code": [
"2223",
"2227",
"2229"
],
"bez_name": [
"Gros-de-Vaud",
"Morges",
"Ouest lausannois"
],
"gem_code": [
"5484",
"5503",
"5621",
"5622",
"5624",
"5634",
"5645",
"5654"
],
"gem_name": [
"Aclens",
"Bremblens",
"Bussigny",
"Echichens",
"Gollion",
"Romanel-sur-Morges",
"Vufflens-la-Ville",
"Vullierens"
],
"kan_code": [
"22"
],
"kan_name": [
"Vaud"
],
"plz_code": [
"1123"
],
"plz_type": "PLZ4/NPA4",
"geo_shape": "[large value omitted]",
"geo_point_2d": {
"lat": 46.56828636894635,
"lon": 6.51090217506254
},
"plz_area_code": "CHE"
}Record 3year: 2023 · bez_code: ["2227"]
{
"year": "2023",
"bez_code": [
"2227"
],
"bez_name": [
"Morges"
],
"gem_code": [
"5629",
"5650",
"5656"
],
"gem_name": [
"Clarmont",
"Hautemorges",
"Vaux-sur-Morges"
],
"kan_code": [
"22"
],
"kan_name": [
"Vaud"
],
"plz_code": [
"1128"
],
"plz_type": "PLZ4/NPA4",
"geo_shape": "[large value omitted]",
"geo_point_2d": {
"lat": 46.54170012153375,
"lon": 6.440022037637699
},
"plz_area_code": "CHE"
}Record 4year: 2023 · bez_code: ["2227"]
{
"year": "2023",
"bez_code": [
"2227"
],
"bez_name": [
"Morges"
],
"gem_code": [
"5431",
"5475",
"5485",
"5486",
"5488",
"5492",
"5656"
],
"gem_name": [
"Chavannes-le-Veyron",
"Grancy",
"Hautemorges",
"L'Isle",
"Mauraz",
"Mollens (VD)",
"Montricher"
],
"kan_code": [
"22"
],
"kan_name": [
"Vaud"
],
"plz_code": [
"1142"
],
"plz_type": "PLZ4/NPA4",
"geo_shape": "[large value omitted]",
"geo_point_2d": {
"lat": 46.586236643450235,
"lon": 6.422044041274982
},
"plz_area_code": "CHE"
}Record 5year: 2023 · bez_code: —
{
"year": "2023",
"bez_code": null,
"bez_name": null,
"gem_code": [
"6612",
"6613",
"6640",
"6642"
],
"gem_name": [
"Chêne-Bougeries",
"Chêne-Bourg",
"Thônex",
"Vandoeuvres"
],
"kan_code": [
"25"
],
"kan_name": [
"Genève"
],
"plz_code": [
"1225"
],
"plz_type": "PLZ4/NPA4",
"geo_shape": "[large value omitted]",
"geo_point_2d": {
"lat": 46.197378365989955,
"lon": 6.197007346297029
},
"plz_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-millesime
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-millesime/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.