---
title: "/properties/{bfe_number}/buildings"
method: GET
path: "/v1/properties/{bfe_number}/buildings"
tags: ["Properties"]
---

# /properties/{bfe_number}/buildings

`GET /v1/properties/{bfe_number}/buildings`

## Request

- Base URL: `https://api.companydata.dk` (the document declares no server; this is the origin it was published from)
- URL: `https://api.companydata.dk/v1/properties/{bfe_number}/buildings`
- Auth: HTTP bearer

GeoDanmark building footprints (bygningspolygoner) for a property.

Returns the building polygons (WGS84 GeoJSON) whose centroid falls on
the property's cadastral parcels. Fetched from GeoDanmark on first
request and cached; footprints change rarely.

## Path parameters

- `bfe_number` integer, required

## Response `200`

Successful Response

- PropertyBuildingsResponse: GeoDanmark building footprints (bygningspolygoner) for a property.
  - `bfe_number` integer, required: BFE number of the property
  - `buildings` BuildingPolygon[]: Building footprints (WGS84) whose centroid lies on the property's parcels
    - `geometry` GeoPolygon, required: GeoJSON Polygon.
      - `type` string
      - `coordinates` array[], required
        - array[]
          - number[]
    - `status` string, nullable: GeoDanmark building status
  - `count` integer: Number of footprints returned
  - `error` string, nullable: Set to 'fetch_failed' when the upstream WFS was unavailable (result not cached)

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/companydata/apis/companydata-dk-api.md) · [All operations](https://skmtc.dev/companydata/apis/companydata-dk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/companydata/apis/companydata-dk-api/revisions/1cc6c361ae64?raw)
