DanskAdresseAPIv1
BBR

BBR units filtered by postal code and area

Lists BBR units (dwellings and commercial tenancies) filtered by postal code and area.

GET/v1/bbr/enheder

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

postnrstringqueryrequired

Filter by postal code.

minBoligarealintegerquery

Minimum residential area in m².

maksBoligarealintegerquery

Maximum residential area in m².

antalVaerelserintegerquery

Filter by number of rooms.

per_sideintegerquery

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

Request

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

Response

application/json

Liste af enheder med adresse-tekst

object[]

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