Getting started
Your first request
From key to response in under a minute — on the v1 surface.
1. Get your key
Keys live in the dashboard at danskadresseapi.dk.
2. Call the API
Bash
curl "https://api.danskadresseapi.dk/v1/autocomplete?q=rådhuspladsen+1" \
-H "Authorization: Bearer YOUR_KEY"3. Read the response
JSON
[
{
"tekst": "Rådhuspladsen 1, 1550 København V",
"type": "adresse",
"id": "0a3f50a7-9c1c-32b8-e044-0003ba298018"
}
]id is the address's DAR id. Store that rather than the text.
/v1 is in beta. If you are going to production today, read [About v1](?fane=v1&v=v1&side=om-v1)
first — the surface does not cover all of DAWA's dataset yet.
