BBR and OIS

BBR-light: get building

Lookup of a single building

GET/bbrlight/bygninger/{id}

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

formatstringquery

Returns the output in a format other than JSON. See Data formats.

callbackstringquery

Returns the output as JSONP. See Data formats.

noformatstringquery

Omits whitespace formatting from the output

ndjsonstringquery

Returns the output as Newline Delimited JSON

sridintegerquery
strukturstringquery

Specifies the desired response structure. "mini" specifies the BBR entity without related entities. "nestet" specifies that any related entities must be included. "flad" specifies that related entities must be included, but in a flat structure. "nestet" is the default for JSON format, "flad" is the default for GeoJSON and CSV.

medtagophørtestringquery

Also return discontinued OIS entities (entities with ophoert_ts different from NULL)

idstringpathrequired

ID (Bygning_id)

Request

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

Response

application/json

Success response. The MIME type of the response depends on the format parameter.

—

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