level extended by value custom for searchRegions requestadmLevel in responses is mandatory for administrative regions onlySearch for regions in Austria, Germany, Switzerland or within custom regions 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, custom level 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 or the custom level.
Regions of level custom are not subject to any hierarchy nor part of the administrative levels, so they cannot be used for getChildRegions and getParentRegions.
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" "custom" Administrative / custom level or method to determine the administrative level
|
{- "coordinate": {
- "lat": 51.23456,
- "lon": 11.23456
}, - "level": "bundesland"
}[- {
- "regionId": "gDdHAeaPLtAZlP0oz1Jdvvwym3m_VpZJ-7_SKYueHfX4ov9M2ydu3jfBmMfi1xoX",
- "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 <base64> (RegionId) Examples: gDdHAeaPLtAZlP0oz1Jdvvwym3m_VpZJ-7_SKYueHfX4ov9M2ydu3jfBmMfi1xoX rbJnzwBexyPJVWIa1FZltwEsz-xkWOH0DfSn0dnfiQG7AWoCt88RC_vuicY6Rx_8 Nah6rd7RbW93pgLwGnikruBtyzobb0ZStZlAfeSJw9MU_kPGBGFPJIhlVLG1lOAQ J1LapNxJG76LX-2WKW-EzhfvWzz1m2XxR8dASZR6e3281hwbAgA39ayI1PGi6jDl 2oDHRqCqmTsA8V5QBNYrExpkqfr66Y7yiAG0KTiGGQEwS5qn1nkotYpaJHuR7h4v Region ID for which to request direct child regions |
[- {
- "regionId": "gDdHAeaPLtAZlP0oz1Jdvvwym3m_VpZJ-7_SKYueHfX4ov9M2ydu3jfBmMfi1xoX",
- "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 <base64> (RegionId) Examples: gDdHAeaPLtAZlP0oz1Jdvvwym3m_VpZJ-7_SKYueHfX4ov9M2ydu3jfBmMfi1xoX rbJnzwBexyPJVWIa1FZltwEsz-xkWOH0DfSn0dnfiQG7AWoCt88RC_vuicY6Rx_8 Nah6rd7RbW93pgLwGnikruBtyzobb0ZStZlAfeSJw9MU_kPGBGFPJIhlVLG1lOAQ J1LapNxJG76LX-2WKW-EzhfvWzz1m2XxR8dASZR6e3281hwbAgA39ayI1PGi6jDl 2oDHRqCqmTsA8V5QBNYrExpkqfr66Y7yiAG0KTiGGQEwS5qn1nkotYpaJHuR7h4v Region ID for which to request direct parent regions |
[- {
- "regionId": "gDdHAeaPLtAZlP0oz1Jdvvwym3m_VpZJ-7_SKYueHfX4ov9M2ydu3jfBmMfi1xoX",
- "hasChildren": true,
- "name": "Luzern",
- "admLevel": "bundesland",
- "countryCode": "AT"
}
]This endpoint provides detailed information for a regionId.
| regionId required | string <base64> (RegionId) Examples: gDdHAeaPLtAZlP0oz1Jdvvwym3m_VpZJ-7_SKYueHfX4ov9M2ydu3jfBmMfi1xoX rbJnzwBexyPJVWIa1FZltwEsz-xkWOH0DfSn0dnfiQG7AWoCt88RC_vuicY6Rx_8 Nah6rd7RbW93pgLwGnikruBtyzobb0ZStZlAfeSJw9MU_kPGBGFPJIhlVLG1lOAQ J1LapNxJG76LX-2WKW-EzhfvWzz1m2XxR8dASZR6e3281hwbAgA39ayI1PGi6jDl 2oDHRqCqmTsA8V5QBNYrExpkqfr66Y7yiAG0KTiGGQEwS5qn1nkotYpaJHuR7h4v Region ID for which to request detailed information |
{- "regionId": "gDdHAeaPLtAZlP0oz1Jdvvwym3m_VpZJ-7_SKYueHfX4ov9M2ydu3jfBmMfi1xoX",
- "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_SKYueHfX4ov9M2ydu3jfBmMfi1xoX",
- "hasChildren": true,
- "name": "Luzern",
- "admLevel": "bundesland",
- "countryCode": "AT"
}
], - "source": "Bundesamt für Landestopografie swisstopo",
}Search for postal codes in Austria, Germany, Switzerland or within custom regions that can be used with other API endpoints.
The search can be carried out the following ways:
The area of a postcode must intersect with a requested region in order to be returned as a result.
required | object Geolocation defined by latitude and longitude |
{- "coordinate": {
- "lat": 51.23456,
- "lon": 11.23456
}
}{ }