BBR and OIS

BBR-light: building points

Find building points 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/bygningspunkter

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 14 parametersShow fewer
idstringquery

Find the building point with the specified ID (BygPkt_id)

medtagophørtestringquery

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

polygonstringquery

Find building points within the specified polygon. The polygon is specified as an array of coordinates in the same way as the 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 building points that overlap 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 point 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 point 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/bygningspunkter" \
  --header "Authorization: Bearer $API_KEY"
Try it
GET https://api.danskadresseapi.dk/dawa/bbrlight/bygningspunkter

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