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:
- It may be discontinued → it won't be in the response. That's expected.
- Spelling/format in
q. Try a broader search or autocomplete. - If you filter on
postnr/kommunekode, they match exactly — check the code is right. (vejkodeonly exists as a filter on/dawa/*; on/v1/adresserit 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,husnrbecomes part of the search text. For free-text/partial match, useqor/v1/autocomplete.
Was this helpful?
