BBR

Fetch a BBR unit by id_lokalid

Fetches a single BBR unit by its id_lokalid with all of BBR’s data fields — including the unit’s own heating installation and heating medium, balcony/roof terrace, covered areas, flexible housing, public subsidy and the links adresse_id, bygning_id, etage_id, opgang_id.

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_KEY"
Try it
GET https://api.danskadresseapi.dk/v1/bbr/enheder/%7Bid%7D

Response

application/json

BBR unit

idstring<uuid>

BBR id_lokalid.

aktivboolean

true when status is 3 or 6.

statusstring | null

BBR status code (3 = under construction, 6 = current; 9/10/11/14 = abandoned, demolished etc.).

etage_idstring | null
boligtypestring | null
opgang_idstring | null
synced_atstring

The database timestamp as text (e.g. 2021-09-16 13:54:58.97+02) — not ISO 8601.

adresse_idstring | null

The unit address id (DAR).

Show all 60 fieldsShow fewer
anvendelsestring | null
bfe_nummerinteger | null

BFE-nummer (property number) of the condominium or property the ownership type applies to.

bygning_idstring | null

The BBR building the unit is in.

andet_arealnumber | null
badeforholdstring | null
kommunekodestring | null
kondemneretstring | null
notatlinjerstring | null
heraf_areal1number | null
heraf_areal2number | null
heraf_areal3number | null
samlet_arealinteger | null
toiletforholdstring | null
gyldighedsdatostring | null

Date (ISO 8601).

koekkenforholdstring | null
stoejisoleringnumber | null
antal_toiletterinteger | null
antal_vaerelserinteger | null
energiforsyningstring | null
adresse_funktionstring | null
ejerforhold_kodestring | null

The unit's ownership type (same codes as the building's ejerforhold_kode). If the unit is a condominium, it is the condominium's own ownership type — otherwise the property's. Together with udlejningsforhold this shows e.g. a privately owned condominium that is rented out, or a non-profit (almen) home.

indflytning_datostring | null

Date (ISO 8601).

areal_til_erhvervinteger | null
ejerforhold_kildeenum<string> | null

Where the ownership type comes from: ejerlejlighed (the unit's own condominium) or ejendom (the property the building's plot belongs to). null = no link.

Allowed values:ejerlejlighedejendom
ejerforhold_tekststring | null

The unit's ownership type as Danish text.

lovlig_anvendelsestring | null
offentlig_stoettestring | null
opvarmningsmiddelstring | null

enh052.

supplerende_varmestring | null
udlejningsforholdstring | null

Rental status (BBR enh045, derived automatically from BBR and the CPR register a few times a year): 1 = rented out (no owner lives there), 2 = used by the owner, 3 = not in use (no one registered in CPR). ⚠️ Cooperative homes (andelsboliger) are typically 1 (the members do not own the property) — use ejerforhold_kode 41 to tell cooperatives from rentals, and 20 for non-profit (almen) rental.

varmeinstallationstring | null

The unit’s own heating installation (enh051).

areal_til_beboelseinteger | null
godkendt_tom_boligstring | null
antal_badevaerelserinteger | null
flexbolig_ophoersdatostring | null

Date (ISO 8601).

datafordeler_updated_atstring | null

The database timestamp as text (e.g. 2021-09-16 13:54:58.97+02) — not ISO 8601.

uuid_til_moderlejlighedstring | null
flexbolig_tilladelsesartstring | null
fysisk_areal_til_erhvervnumber | null
fysisk_areal_til_beboelsenumber | null
kilde_til_enhedens_arealerstring | null
antal_vaerelser_til_erhvervnumber | null
areal_af_aaben_overdaekningnumber | null
supplerende_anvendelseskode1string | null
supplerende_anvendelseskode2string | null
supplerende_anvendelseskode3string | null
aaben_altan_tagterrasse_arealnumber | null
enhedens_andel_faelles_adgangsarealnumber | null
areal_af_lukket_overdaekning_udestuenumber | null
dato_for_tidsbegraenset_dispensationstring | null

Date (ISO 8601).

dato_for_delvis_ibrugtagnings_tilladelsestring | null

Date (ISO 8601).

oprettelsesdato_for_enhedens_identifikationstring | null

Date (ISO 8601).

200Eksempel
{
  "id": "0a3f50a7-9c1c-32b8-e044-0003ba298018",
  "status": "6",
  "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."
  }
}