Property data

Batch of property profiles (up to 500 ids per call)

The same profile as GET /v1/ejendom/{id} for many addresses in one call. Preserves order; unknown ids give found=false. Billed as one call per id. Requires the Enterprise plan.

POST/v1/ejendom/batchEnterprise

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Body

application/json
idsstring<uuid>[]required

Ids of access addresses or unit addresses.

max 500 items

Request

curl --request POST \
  --url "https://api.danskadresseapi.dk/v1/ejendom/batch" \
  --header "Authorization: Bearer $API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
  "ids": [
    "3c9f6a4e-2b1d-4c8e-9f7a-1d2e3f4a5b6c"
  ]
}'
Try it
POST https://api.danskadresseapi.dk/v1/ejendom/batch

Response

application/json

Results per id

countinteger
resultsobject[]
Show child attributes(4)
results.idstring
results.idxinteger
results.foundboolean
results.ejendomobject

The profile as in GET /v1/ejendom/{id}.

200Eksempel
{
  "count": 0,
  "results": [
    {
      "id": "…",
      "idx": 0,
      "found": false,
      "ejendom": {}
    }
  ]
}
401Missing key
{
  "error": {
    "code": "unauthorized",
    "message": "Missing or invalid API key."
  }
}