DanskAdresseAPIv1
Matrikel

Fetch a single cadastral district

Fetches a single cadastral district by its code.

GET/v1/ejerlav/{kode}

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

kodestringpathrequired

The area's code.

Request

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

Response

application/json

Ejerlav

object

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