BBR and OIS

BBR-light: buildings

Find buildings 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/bygninger

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

sridintegerquery

Specifies the SRID of the coordinate system in which geospatial parameters are specified. The default is 4326 (WGS84 / geographic coordinates). For ETRS89 / UTM zone 32 North, use 25832

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.

Show all 18 parametersShow fewer
idstringquery

Find a building with the specified ID (Bygning_id)

adgangsadresseidstringquery

Find buildings with the specified access address ID (AdgAdr_id)

esrejendomsnrstringquery

Find buildings with the specified ESR property number (EsrEjdNr)

anvendelseskodeintegerquery

Find buildings with the specified usage code (BYG_ANVEND_KODE). For possible values, see the BBR documentation.

kommunekodestringquery

Find buildings with the specified municipality code (KomKode)

medtagophørtestringquery

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

polygonstringquery

Find buildings where the building point is within the specified polygon. The polygon is specified as an array of coordinates in the same way as coordinates are specified in GeoJSON's polygon. Note that polygons must be closed, i.e. the first and last coordinates must be identical. The coordinate system can be (ETRS89/UTM32 or) WGS84/geographic. This is specified using the srid parameter; see above. Example: polygon=[[[10.3,55.3],[10.4,55.3],[10.4,55.31],[10.4,55.31],[10.3,55.3]]].

cirkelstringquery

Find buildings where the building point overlaps the circle specified by the coordinate (x,y) and radius r. The coordinate system can be (ETRS89/UTM32 or) WGS84/geographic. The radius is specified in metres. cirkel={x},{y},{r}.

xnumberquery

Find the building nearest to the point specified by the x and y parameters. The parameters are specified in the coordinate system indicated by the srid parameter.

ynumberquery

Find the building nearest to the point specified by the x and y parameters. The parameters are specified in the coordinate system indicated by the srid parameter.

Request

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

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