DanskAdresseAPIv1
Ejendomsdata

A single listing or heritage value

A listed or heritage-value building with its heritage value (1–9), listing date, BBR building number and address. The id is prefixed with its source, e.g. fbb:92894289.

GET/v1/bygningsfredninger/{id}

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

idstringpathrequired

Source-prefixed id, e.g. fbb:92894289.

Request

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

Response

application/json

Fredningen med beskrivelse og kildelink.

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