Områder (DAGI)
Look up administrative divisions from a coordinate or a postal code
Give either lat+lon (nearest address) OR postnr (an aggregate with arrays per field).
GET
Authentication
Authorizationstringheaderrequired
Your API key as a Bearer token.
Parameters
latnumberquery
Latitude in WGS84 (EPSG:4326).
lonnumberquery
Longitude in WGS84 (EPSG:4326).
postnrstringquery
Filter by postal code.
sridstringquery
Coordinate system as an EPSG code, e.g. 25832. Defaults to 4326 (WGS84).
fieldsstringquery
Comma-separated list of fields to include in the response (sparse fieldset). Omitted = all fields.
Request
Response
application/json
DAGI-inddelinger
sognobjectShow child attributes(2)
sogn.kodestring | nullsogn.navnstring | nullregionobjectShow child attributes(2)
region.kodestring | nullregion.navnstring | nullsourceenum<string>kommuneobjectShow child attributes(2)
kommune.kodestring | nullkommune.navnstring | nulllandsdelobjectShow child attributes(2)
landsdel.kodestring | nulllandsdel.navnstring | nullretskredsobjectShow child attributes(2)
retskreds.kodestring | nullretskreds.navnstring | nullstorkredsobjectShow child attributes(2)
storkreds.kodestring | nullstorkreds.navnstring | nullpolitikredsobjectShow child attributes(2)
politikreds.kodestring | nullpolitikreds.navnstring | nullvalglandsdelobjectShow child attributes(2)
valglandsdel.kodestring | nullvalglandsdel.navnstring | nullopstillingskredsobjectShow child attributes(2)
opstillingskreds.kodestring | nullopstillingskreds.navnstring | nullafstemningsomraadeobjectShow child attributes(2)
afstemningsomraade.navnstring | nullafstemningsomraade.nummerstring | null