Get the boundary of an administrative division
Returns the administrative boundary as GeoJSON, ready to draw on a map. The outline is simplified to a level of detail suited to the division size, so a large region stays a small response. Contours change only when location data is reimported, so the response can be cached by the client.
Authorization
apiKey Value for the X-API-KEY header parameter.
In: header
Path Parameters
AdministrativeDivisionGeometry identifier
Response Body
curl -X GET "https://example.com/geo/administrative-divisions/3fa85f64-5717-4562-b3fc-2c963f66afa6/geometry"{ "geometry": { "type": "Point", "coordinates": [ 2.3522, 48.8566 ] }, "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"}Get an administrative division GET
Get an administrative division
List the ancestors of an administrative division (breadcrumb / drill-up) GET
Returns the parent chain of the given division up to the country root — for example a neighborhood, its arrondissement, commune, department, region and country. By default the division itself is excluded and the chain is ordered root first (country first). Use order=NODE_FIRST for immediate-parent first, and includeSelf=true to prepend the division for a ready-to-render breadcrumb.