DanskAdresseAPIv1
Ejendomsdata

Listed and heritage-value buildings

Listed and heritage-value buildings. Listing is nationwide protection; heritage value is set by the municipality — kilde tells you which of the two a result comes from.

GET/v1/bygningsfredninger

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.

vejnavnstringquery

Filter by street name.

husnrstringquery

Filter by house number, e.g. 12 or 12A.

kildestringquery

fbb = the Danish Agency for Culture and Palaces' register. statstidende = new listings published on an ongoing basis.

Request

curl --request GET \
  --url "https://api.danskadresseapi.dk/v1/bygningsfredninger" \
  --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."
  }
}