Property data

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.

default: 50max 100
sideintegerquery

Page number (1-based). The response has count rows; if count is less than limit, there are no more pages.

min 1
offsetintegerquery

Number of rows to skip (alternative to side; wins if both are sent).

default: 0min 0
per_sideintegerquery

Rows per page — alias for limit (wins if both are sent).

1–100
pageintegerquery

English alias for side.

min 1
fieldsstringquery

Comma-separated list of fields to include in the response (sparse fieldset). Omitted = all fields.

max 500 characters
kommunekodestringquery

Filter by municipality code.

vejnavnstringquery

Filter by street name.

max 120 characters
husnrstringquery

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

max 10 characters
kildestringquery

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

Allowed values:fbbstatstidende

Request

curl --request GET \
  --url "https://api.danskadresseapi.dk/v1/bygningsfredninger" \
  --header "Authorization: Bearer $API_KEY"
Try it
GET https://api.danskadresseapi.dk/v1/bygningsfredninger

Response

application/json

List

countinteger
resultsobject[]
200Eksempel
{
  "count": 0,
  "results": [
    {}
  ]
}
401Missing key
{
  "error": {
    "code": "unauthorized",
    "message": "Missing or invalid API key."
  }
}
Listed and heritage-value buildings — DanskAdresseAPI