DanskAdresseAPIv1
Going further

Fields and enrichment

Fetch only what you need — or everything at once.

fields — trim the response

If you only want a couple of fields, ask for them. The response gets smaller and the call faster:

Bash
curl "https://api.danskadresseapi.dk/v1/bbr/bygninger?fields=id,opfoerelsesaar" \
  -H "Authorization: Bearer YOUR_KEY"

include — bring more along

The other way round, you can fetch related objects in the same call instead of making five:

Bash
curl "https://api.danskadresseapi.dk/v1/bbr/bygninger?include=etager,opgange" \
  -H "Authorization: Bearer YOUR_KEY"

The valid values are etager, opgange, grunde and tekniske_anlaeg.

One call with include counts as one lookup — even when it fetches what would
otherwise take several. It is the cheapest way to build a full picture.

Identifiers

  • id is the address's DAR id. That is what you store.
  • adgangsadresseid points from a unit address up to its access address.
  • betegnelse is the address as text — for display, never as a key.

Store id, not betegnelse. Text changes when roads are renamed or postcodes
redrawn; the id points to the same address.