BBR and OIS

BBR-light: entrances

Find entrances from BBR. IMPORTANT: A new data model has been developed for BBR and is available on Datafordeleren. DAWA's BBR API is based on an older data model, where data is converted back from the new BBR data model. For documentation of concepts, fields, code lists, etc., see BBR datamodellen, BBR's registreringsindhold and OIS-dokumentationen.

GET/bbrlight/opgange

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

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.

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

sideintegerquery

Which page to return. See Pagination.

per_sideintegerquery

Number of results per page. See Pagination.

idstringquery

Find entrances with the specified ID (Opgang_id)

bygningsidstringquery

Find entrances with the specified building ID (Bygning_id)

adgangsadresseidstringquery

Find entrances with the specified access address ID (AdgAdr_id)

medtagophørtestringquery

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

Request

curl --request GET \
  --url "https://api.danskadresseapi.dk/dawa/bbrlight/opgange" \
  --header "Authorization: Bearer $API_KEY"
Try it
GET https://api.danskadresseapi.dk/dawa/bbrlight/opgange

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."
  }
}