BBR

Batch lookup of BBR units (Pro 100, Enterprise 1,000 UUIDs per call) — requires Pro or higher

Billed as one call per id. Preserves order. Requires the Pro plan or higher.

POST/v1/bbr/enheder/batchPro

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Body

application/json
idsstring<uuid>[]required
max 1000 items

Request

curl --request POST \
  --url "https://api.danskadresseapi.dk/v1/bbr/enheder/batch" \
  --header "Authorization: Bearer $API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
  "ids": [
    "3c9f6a4e-2b1d-4c8e-9f7a-1d2e3f4a5b6c"
  ]
}'
Try it
POST https://api.danskadresseapi.dk/v1/bbr/enheder/batch

Response

application/json

Results per id

countinteger
resultsobject[]
Show child attributes(4)
results.idstring
results.idxinteger
results.enhedobject
Show child attributes(60)
results.enhed.idstring<uuid>

BBR id_lokalid.

results.enhed.aktivboolean

true when status is 3 or 6.

results.enhed.statusstring | null

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

results.enhed.etage_idstring | null
results.enhed.boligtypestring | null
results.enhed.opgang_idstring | null
results.enhed.synced_atstring

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

results.enhed.adresse_idstring | null

The unit address id (DAR).

results.enhed.anvendelsestring | null
results.enhed.bfe_nummerinteger | null

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

results.enhed.bygning_idstring | null

The BBR building the unit is in.

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

Date (ISO 8601).

results.enhed.koekkenforholdstring | null
results.enhed.stoejisoleringnumber | null
results.enhed.antal_toiletterinteger | null
results.enhed.antal_vaerelserinteger | null
results.enhed.energiforsyningstring | null
results.enhed.adresse_funktionstring | null
results.enhed.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.

results.enhed.indflytning_datostring | null

Date (ISO 8601).

results.enhed.areal_til_erhvervinteger | null
results.enhed.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
results.enhed.ejerforhold_tekststring | null

The unit's ownership type as Danish text.

results.enhed.lovlig_anvendelsestring | null
results.enhed.offentlig_stoettestring | null
results.enhed.opvarmningsmiddelstring | null

enh052.

results.enhed.supplerende_varmestring | null
results.enhed.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.

results.enhed.varmeinstallationstring | null

The unit’s own heating installation (enh051).

results.enhed.areal_til_beboelseinteger | null
results.enhed.godkendt_tom_boligstring | null
results.enhed.antal_badevaerelserinteger | null
results.enhed.flexbolig_ophoersdatostring | null

Date (ISO 8601).

results.enhed.datafordeler_updated_atstring | null

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

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

Date (ISO 8601).

results.enhed.dato_for_delvis_ibrugtagnings_tilladelsestring | null

Date (ISO 8601).

results.enhed.oprettelsesdato_for_enhedens_identifikationstring | null

Date (ISO 8601).

results.foundboolean
200Eksempel
{
  "count": 0,
  "results": [
    {
      "id": "…",
      "idx": 0,
      "enhed": {
        "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
      },
      "found": false
    }
  ]
}
401Missing key
{
  "error": {
    "code": "unauthorized",
    "message": "Missing or invalid API key."
  }
}