Cadastre

Get cadastral district (ejerlav)

Returns the cadastral district (ejerlav) with the given code.

GET/ejerlav/{kode}

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

formatstringquery
callbackstringquery
noformatstringquery
ndjsonstringquery
sridintegerquery
strukturstringquery

The struktur parameter specifies whether a flad or nestet response structure is required. The default is nestet for JSON and flad for GeoJSON.

kodeintegerpathrequired

The unique code of the ejerlav (cadastral district). Represented by up to 7 digits. Example: ”170354” for the ejerlav (cadastral district) ”Eskebjerg By, Bregninge”.

Request

curl --request GET \
  --url "https://api.danskadresseapi.dk/dawa/ejerlav/<kode>" \
  --header "Authorization: Bearer $API_KEY"
Try it
GET https://api.danskadresseapi.dk/dawa/ejerlav/%7Bkode%7D

Response

application/json

Success response. The MIME type of the response depends on the format parameter.

—

401Missing key
{
  "error": {
    "code": "unauthorized",
    "message": "Missing or invalid API key."
  }
}