BBR

Fetch a BBR building by id_lokalid

Fetches a single BBR building by its id_lokalid. include=etager,opgange,grunde,tekniske_anlaeg adds the relations (technical installations on both the building and the plot — each installation has kobling, bygning_id and grund_id; plots and stairwells have husnummer_id); fields trims the response down to the fields you use. The building has all of BBR’s data fields, including building damage insurance, wastewater orders, heating exemptions, the building point (koordinat_wkt), kommunekode and the links husnummer_id, grund_id, jordstykke_id.

GET/v1/bbr/bygninger/{id}

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

idstringpathrequired

BBR id_lokalid.

includestringquery

Comma-separated: etager,opgange,grunde,tekniske_anlaeg.

fieldsstringquery

Field filtering on the building object.

Request

curl --request GET \
  --url "https://api.danskadresseapi.dk/v1/bbr/bygninger/<id>" \
  --header "Authorization: Bearer $API_KEY"
Try it
GET https://api.danskadresseapi.dk/v1/bbr/bygninger/%7Bid%7D

Response

application/json

BBR building

idstring<uuid>

BBR id_lokalid.

aktivboolean

true when status is 3 or 6.

statusstring | null

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

fredningstring | null
grund_idstring | null

The BBR plot the building stands on.

frihoejdenumber | null
synced_atstring

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

anvendelsestring | null

BBR use code (bygningens_anvendelse).

Show all 87 fieldsShow fewer
bfe_nummerinteger | null

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

andet_arealinteger | null
kommunekodestring | null

Municipality code (4 digits).

notatlinjerstring | null
adgangsarealnumber | null
antal_etagerinteger | null
husnummer_idstring | null

BBR’s own link to the house number (= the access address id).

jordstykke_idstring | null

The cadastral parcel id (MAT id_lokalId, an integer as text).

koordinat_wktstring | null

Building point as WKT (byg404), e.g. POINT(725000.12 6175000.34) in koordinatsystem.

ombygningsaarinteger | null
revisionsdatostring | null

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

vandforsyningstring | null
afloebsforholdstring | null
bebygget_arealinteger | null
bygningsnummerinteger | null
gulvbelaegningstring | null
gyldighedsdatostring | null

Date (ISO 8601).

opfoerelsesaarinteger | null
koordinatsystemstring | null
affaldsrum_arealinteger | null
afvigende_etagerstring | null
ejerforhold_kodestring | null

Ownership type of the property (BBR ejendommensEjerforholdskode) that the building's plot belongs to: 10 private individual/partnership, 20 non-profit housing association (almen, social rental), 30 company, 40 association/foundation/self-governing institution, 41 private housing cooperative (andelsboligforening), 50 the municipality, 60 another municipality, 70 region, 80 the state, 90 other incl. parent properties, 99 not stated. A property divided into condominiums is typically 99 — see antal_ejerlejligheder and each unit's own ownership type on /v1/bbr/enheder. Combine with the units' udlejningsforhold to see whether the homes are rented out. Building on leased land: the landowner's ownership type. null = no link in BBR.

ejerlejlighed_idstring | null
materialer_kildestring | null
type_af_flytningstring | null
ejerforhold_tekststring | null

The ownership type as Danish text (e.g. «Alment boligselskab» = non-profit housing association, «Privat andelsboligforening» = private housing cooperative).

opvarmningsmiddelstring | null
overdaekket_arealinteger | null
samlet_boligarealinteger | null
supplerende_varmestring | null
tilflytterkommunenumber | null
varmeinstallationstring | null
sikringsrumpladserinteger | null
konstruktionsforholdstring | null
samlet_bygningsarealinteger | null
samlet_erhvervsarealinteger | null
udledningstilladelsestring | null
antal_ejerlejlighederinteger

Number of condominiums in the building (units linked to a condominium in BBR). Above 0 means the ownership type should be read per unit.

bygningsarealer_kildestring | null
indbygget_udhus_arealinteger | null
tagdaekningsmaterialestring | null
indbygget_garage_arealinteger | null
ydervaeggens_materialestring | null
asbestholdigt_materialestring | null
datafordeler_updated_atstring | null

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

indbygget_carport_arealinteger | null
indbygget_udestue_arealinteger | null
kilde_til_koordinatsaetstring | null
tilladelse_til_udtraedenstring | null
aaben_lukket_konstruktionstring | null
kvalitet_af_koordinatsaetstring | null
banedanmark_bygvaerksnummerstring | null
placering_paa_soeterritoriestring | null
byggeskadeforsikringsselskabstring | null
antal_lejligheder_med_koekkennumber | null

byg024.

bevaringsvaerdighed_referencestring | null
dato_alternativ_bortskaffelsestring | null

Date (ISO 8601).

dato_for_byggeskadeforsikringstring | null

Date (ISO 8601).

antal_lejligheder_uden_koekkennumber | null

byg025.

beregningsprincip_carport_arealstring | null
frist_vedr_spildevandsafledningstring | null

Date (ISO 8601).

areal_af_udvendig_efterisoleringnumber | null
omfattet_af_byggeskadeforsikringstring | null
paabud_vedr_spildevandsafledningstring | null
dato_for_tilladelse_til_udtraedenstring | null

Date (ISO 8601).

medlemskab_af_spildevandsforsyningstring | null
supplerende_tagdaeknings_materialestring | null
supplerende_ydervaeggens_materialestring | null
dato_for_midlertidig_opfoert_bygningstring | null

Date (ISO 8601).

servitut_for_udlejnings_ejendom_datostring | null

Date (ISO 8601).

dato_for_registrering_fra_stormraadetstring | null

Date (ISO 8601).

oevrige_bemaerkninger_fra_stormraadetstring | null
supplerende_oplysning_om_koordinatsaetstring | null
stormraadets_oversvoemmelses_selvrisikostring | null
areal_aabne_overdaekninger_paa_bygningen_samletnumber | null
dispensation_fritagelse_ift_kollektiv_varmeforsyningstring | null
samlet_areal_af_lukkede_overdaekninger_paa_bygningennumber | null
tilladelse_til_alternativ_bortskaffelse_eller_afledningstring | null
dato_for_dispensation_fritagelse_ift_kollektiv_varmeforsyningstring | null

Date (ISO 8601).

200Eksempel
{
  "id": "0a3f507b-bb5e-32b8-e044-0003ba298018",
  "status": "6",
  "anvendelse": "120",
  "bfe_nummer": 5776672,
  "antal_etager": 2,
  "ombygningsaar": 1998,
  "bebygget_areal": 81,
  "bygningsnummer": 1,
  "opfoerelsesaar": 1962,
  "ejerforhold_kode": "20",
  "ejerforhold_tekst": "Alment boligselskab",
  "samlet_boligareal": 142,
  "varmeinstallation": "Fjernvarme",
  "samlet_bygningsareal": 142,
  "samlet_erhvervsareal": 0,
  "antal_ejerlejligheder": 0,
  "tagdaekningsmateriale": "Tegl",
  "ydervaeggens_materiale": "Mursten"
}
401Missing key
{
  "error": {
    "code": "unauthorized",
    "message": "Missing or invalid API key."
  }
}
Fetch a BBR building by id_lokalid — DanskAdresseAPI