DanskAdresseAPIv1
BBR

Fetch a BBR unit by id_lokalid

Fetches a single BBR unit by its id_lokalid.

GET/v1/bbr/enheder/{id}

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

idstringpathrequired

BBR id_lokalid.

fieldsstringquery

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

Request

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

Response

application/json

BBR-enhed

idstring<uuid>

BBR id_lokalid.

statusstring | null
boligtypestring | null
anvendelsestring | null
badeforholdstring | null
samlet_arealinteger | null
toiletforholdstring | null
koekkenforholdstring | null
antal_vaerelserinteger | null
areal_til_erhvervinteger | null
areal_til_beboelseinteger | null
200Eksempel
{
  "id": "0a3f50a7-9c1c-32b8-e044-0003ba298018",
  "status": "Opført",
  "boligtype": "Egentlig beboelseslejlighed",
  "anvendelse": "140",
  "badeforhold": "Badeværelse i enheden",
  "samlet_areal": 84,
  "toiletforhold": "Vandskyllende toilet i enheden",
  "koekkenforhold": "Eget køkken med afløb",
  "antal_vaerelser": 3,
  "areal_til_erhverv": 0,
  "areal_til_beboelse": 84
}
401Missing key
{
  "error": {
    "code": "unauthorized",
    "message": "Missing or invalid API key."
  }
}
DanskAdresseAPI