Property data

A single listing or heritage value

A listed or preservation-worthy building with preservation value (1–9), listing date, BBR building number, address and the building's coordinate (koordinat, ETRS89/UTM32 and WGS84 — null when the source has none). The id is prefixed with the 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_KEY"
Try it
GET https://api.danskadresseapi.dk/v1/bygningsfredninger/%7Bid%7D

Response

application/json

The listing with its description and a link to the source.

idstring
hrefstring<uri>
husnrstring | null
kildeenum<string>
Allowed values:fbbst
vejnavnstring | null
bbrnummerstring | null
kilde_urlstring | null
koordinatobject | null
Show child attributes(4)
koordinat.etrs89_enumber
koordinat.etrs89_nnumber
koordinat.wgs84_latnumber
koordinat.wgs84_lonnumber
Show all 15 fieldsShow fewer
bygningsidstring | null
beskrivelsestring | null
fredet_datostring | null
kommunekodestring | null
kommunenavnstring | null
adresse_tekststring | null
bevaringsvaerdiinteger | null
200Eksempel
{
  "id": "…",
  "href": "…",
  "husnr": "…",
  "kilde": "fbb",
  "vejnavn": "…",
  "bbrnummer": "…",
  "kilde_url": "…",
  "koordinat": {
    "etrs89_e": 0,
    "etrs89_n": 0,
    "wgs84_lat": 0,
    "wgs84_lon": 0
  },
  "bygningsid": "…",
  "beskrivelse": "…",
  "fredet_dato": "…",
  "kommunekode": "…"
}
401Missing key
{
  "error": {
    "code": "unauthorized",
    "message": "Missing or invalid API key."
  }
}