DanskAdresseAPIv1
Matrikel

Search / list cadastral districts

Searches and lists cadastral districts. The cadastral district is the unit a parcel belongs to.

GET/v1/ejerlav

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

qstringquery

Free-text/prefix search.

limitintegerquery

Maximum number of results. The limit is set per endpoint — see default and maximum.

kommunekodestringquery

Filter by municipality code.

Request

curl --request GET \
  --url "https://api.danskadresseapi.dk/v1/ejerlav" \
  --header "Authorization: Bearer $API_NOEGLE"

Response

application/json

Liste

countinteger
resultsobject[]
200Eksempel
{
  "count": 0,
  "results": [
    {}
  ]
}
401Missing key
{
  "error": {
    "code": "unauthorized",
    "message": "Missing or invalid API key."
  }
}