BBR

BBR units at an address, a house number or in a postal code

At least one of postnr, adgangsadresseId or adresseId is required. adgangsadresseId returns every unit at the house number (the whole stairwell), adresseId the unit(s) at a single address. Each unit carries status and aktiv (status 3/6), so abandoned or demolished units can be filtered out.

GET/v1/bbr/enheder

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

postnrstringquery

Postal code. Optional when adgangsadresseId or adresseId is set.

adgangsadresseIdstringquery

DAR id of the access address (the house number). adgangsadresseid is also accepted.

adresseIdstringquery

DAR id of the address (the unit address). adresseid is also accepted.

minBoligarealintegerquery

Minimum residential area in m².

max 10000
maksBoligarealintegerquery

Maximum residential area in m².

max 10000
antalVaerelserintegerquery

Filter by number of rooms.

max 20
antalVærelserintegerquery

DAWA spelling of antalVaerelser (with æ). Use antalVaerelser.

max 20
per_sideintegerquery

Results per page. The limit is set per endpoint — see default and maximum.

default: 20max 50

Request

curl --request GET \
  --url "https://api.danskadresseapi.dk/v1/bbr/enheder" \
  --header "Authorization: Bearer $API_KEY"
Try it
GET https://api.danskadresseapi.dk/v1/bbr/enheder

Response

application/json

List of units with address text. Each unit includes `udlejningsforhold` (1 rented out, 2 owner-occupied, 3 not in use) and `ejerforhold_kode`/`ejerforhold_tekst`/`ejerforhold_kilde` (the condominium's own ownership type, otherwise the property's).

object[]

200Eksempel
[
  {}
]
401Missing key
{
  "error": {
    "code": "unauthorized",
    "message": "Missing or invalid API key."
  }
}