Search for regions in Austria, Germany and Switzerland that can be used with other API endpoints.
The search can be carried out the following ways:
The regions must be defined by a given level which is either one of the administrative levels or minAvailableAdmLevel as a method that automatically determines the smallest available administrative level.
The response consists of one or many regions of exactly 1 administrative level.
Note: regionIds are subject to versioning depending on the area or data status, i.e. regionIds are not static and will updated regularly.
required | object Geolocation defined by latitude and longitude |
| level required | string Enum: "bundesland" "gemeinde" "kreis" "ortsteil" "stadtbezirk" "stadtteil" "minAvailableAdmLevel" Administrative level or method to determine the administrative level
|
{- "coordinate": {
- "lat": 51.23456,
- "lon": 11.23456
}, - "level": "bundesland"
}[- {
- "regionId": "gDdHAeaPLtAZlP0oz1Jdvvwym3m_VpZJ-7_SKYueHfVrrnMpCqzOaQ1DewhvT2MH",
- "hasChildren": true,
- "name": "Luzern",
- "admLevel": "bundesland",
- "countryCode": "AT"
}
]This endpoint provides the regions and the administrative level of the direct child regions for a regionId.
The hierarchy is from large to small:
bundesland, kreis, gemeinde, stadtbezirk, stadtteil, ortsteilThe response consists of one or many regions of exactly 1 administrative level.
| regionId required | string <byte> (RegionId) Examples: gDdHAeaPLtAZlP0oz1Jdvvwym3m_VpZJ-7_SKYueHfVrrnMpCqzOaQ1DewhvT2MH rbJnzwBexyPJVWIa1FZlt5MgyzNIYWHMtEFqSwP9GmdhxlqsFGhO5ZdePbEQsta7 Nah6rd7RbW93pgLwGnikruBtyzobb0ZStZlAfeSJw9MU_kPGBGFPJIhlVLG1lOAQ J1LapNxJG76LX-2WKW-EzhfvWzz1m2XxR8dASZR6e3281hwbAgA39ayI1PGi6jDl 2oDHRqCqmTsA8V5QBNYrE2xMOIZZB0nsLrbVZ5XsNuUwS5qn1nkotYpaJHuR7h4v Region ID for which to request direct child regions |
[- {
- "regionId": "gDdHAeaPLtAZlP0oz1Jdvvwym3m_VpZJ-7_SKYueHfVrrnMpCqzOaQ1DewhvT2MH",
- "hasChildren": true,
- "name": "Luzern",
- "admLevel": "bundesland",
- "countryCode": "AT"
}
]This endpoint provides the regionsIds and the administrative level of the direct parent regions for a regionId.
The hierarchy is from large to small:
bundesland, kreis, gemeinde, stadtbezirk, stadtteil, ortsteilThe response consists of one or many regions of exactly 1 administrative level.
| regionId required | string <byte> (RegionId) Examples: gDdHAeaPLtAZlP0oz1Jdvvwym3m_VpZJ-7_SKYueHfVrrnMpCqzOaQ1DewhvT2MH rbJnzwBexyPJVWIa1FZlt5MgyzNIYWHMtEFqSwP9GmdhxlqsFGhO5ZdePbEQsta7 Nah6rd7RbW93pgLwGnikruBtyzobb0ZStZlAfeSJw9MU_kPGBGFPJIhlVLG1lOAQ J1LapNxJG76LX-2WKW-EzhfvWzz1m2XxR8dASZR6e3281hwbAgA39ayI1PGi6jDl 2oDHRqCqmTsA8V5QBNYrE2xMOIZZB0nsLrbVZ5XsNuUwS5qn1nkotYpaJHuR7h4v Region ID for which to request direct parent regions |
[- {
- "regionId": "gDdHAeaPLtAZlP0oz1Jdvvwym3m_VpZJ-7_SKYueHfVrrnMpCqzOaQ1DewhvT2MH",
- "hasChildren": true,
- "name": "Luzern",
- "admLevel": "bundesland",
- "countryCode": "AT"
}
]This endpoint provides detailed information for a regionId.
| regionId required | string <byte> (RegionId) Examples: gDdHAeaPLtAZlP0oz1Jdvvwym3m_VpZJ-7_SKYueHfVrrnMpCqzOaQ1DewhvT2MH rbJnzwBexyPJVWIa1FZlt5MgyzNIYWHMtEFqSwP9GmdhxlqsFGhO5ZdePbEQsta7 Nah6rd7RbW93pgLwGnikruBtyzobb0ZStZlAfeSJw9MU_kPGBGFPJIhlVLG1lOAQ J1LapNxJG76LX-2WKW-EzhfvWzz1m2XxR8dASZR6e3281hwbAgA39ayI1PGi6jDl 2oDHRqCqmTsA8V5QBNYrE2xMOIZZB0nsLrbVZ5XsNuUwS5qn1nkotYpaJHuR7h4v Region ID for which to request detailed information |
{- "regionId": "gDdHAeaPLtAZlP0oz1Jdvvwym3m_VpZJ-7_SKYueHfVrrnMpCqzOaQ1DewhvT2MH",
- "hasChildren": true,
- "name": "Luzern",
- "admLevel": "bundesland",
- "countryCode": "AT",
- "code": "01",
- "coordinate": {
- "lat": 51.23456,
- "lon": 11.23456
}, - "date": "2019-08-24",
- "parentRegions": [
- {
- "regionId": "gDdHAeaPLtAZlP0oz1Jdvvwym3m_VpZJ-7_SKYueHfVrrnMpCqzOaQ1DewhvT2MH",
- "hasChildren": true,
- "name": "Luzern",
- "admLevel": "bundesland",
- "countryCode": "AT"
}
], - "source": "Bundesamt für Landestopografie swisstopo",
}Search for postal codes in Austria, Germany and Switzerland that can be used with other API endpoints.
The search can be carried out the following ways:
required | object Geolocation defined by latitude and longitude |
{- "coordinate": {
- "lat": 51.23456,
- "lon": 11.23456
}
}{ }