Skip to content

Empty or unexpected results (status/discontinued)

1 min read

Empty or unexpected results

Only current/active addresses are returned (address status 2 and 3). Discontinued (henlagt) addresses are deliberately excluded — this matches the official DAWA, which also 404s on discontinued ones.

So if an address you expect doesn't show up:

  1. It may be discontinued → it won't be in the response. That's expected.
  2. Spelling/format in q. Try a broader search or autocomplete.
  3. If you filter on postnr/kommunekode, they match exactly — check the code is right. (vejkode only exists as a filter on /dawa/*; on /v1/adresser it gives 400.)
Bash
curl -H "Authorization: Bearer <key>" \
  "https://api.danskadresseapi.dk/v1/adresser?q=nørrebrogade&postnr=2200&per_side=10"
On /dawa/*, house number and street code are matched exactly (not fuzzy), as in DAWA. On /v1/adresser, husnr becomes part of the search text. For free-text/partial match, use q or /v1/autocomplete.
Was this helpful?