Going further
Response shape
Choose how much the response contains, and in which format — as in DAWA.
struktur — choose how much you get
The same three levels as in DAWA:
| Value | You get |
|---|---|
nestet | The full object with nested objects (default for JSON) |
flad | All fields on one level (default for CSV and GeoJSON) |
mini | Only the most important fields — smallest and fastest |
Bash
curl "https://api.danskadresseapi.dk/dawa/adresser?postnr=1550&struktur=mini" \
-H "Authorization: Bearer YOUR_KEY"format — JSON, GeoJSON or CSV
Bash
curl "https://api.danskadresseapi.dk/dawa/adgangsadresser?postnr=1550&format=geojson" \
-H "Authorization: Bearer YOUR_KEY"Large extracts can be streamed line by line with ndjson, so you don't have to hold the whole response in memory.
Pages
Lists are split with side and per_side:
Bash
curl "https://api.danskadresseapi.dk/dawa/adresser?postnr=1550&side=2&per_side=100" \
-H "Authorization: Bearer YOUR_KEY"Identifiers
idis the address's DAR id. That's what you store.- An address points to its access address (
adgangsadresse.idinnestet). adressebetegnelseis the address as text — for display, never as a key.
Store id, not the text. Texts change when roads are renamed or postcodes are reorganised;
the id points to the same address.
Need BBR and combined enrichment in one call? Those are extensions DAWA never had, and they
live in Our V1.
