Same paths, same response shape. Just change the base URL and add your X-Api-Key — the rest of your code is unchanged.
curl "https://dawa.aws.dk/autocomplete?q=rådhuspladsen"
curl "https://api.danadresse.dk/autocomplete?q=rådhuspladsen" \
-H "X-Api-Key: dawa_live_…"
fetch("https://dawa.aws.dk/autocomplete?q=rådhuspladsen")
fetch("https://api.danadresse.dk/autocomplete?q=rådhuspladsen", {
headers: { "X-Api-Key": "dawa_live_…" }
})
requests.get("https://dawa.aws.dk/autocomplete",
params={"q": "rådhuspladsen"})
requests.get("https://api.danadresse.dk/autocomplete",
params={"q": "rådhuspladsen"},
headers={"X-Api-Key": "dawa_live_…"})
$ctx = stream_context_create();
file_get_contents("https://dawa.aws.dk/autocomplete?q=rådhuspladsen", false, $ctx);
$ctx = stream_context_create(["http" => [
"header" => "X-Api-Key: dawa_live_…"
]]);
file_get_contents("https://api.danadresse.dk/autocomplete?q=rådhuspladsen", false, $ctx);
http.Get("https://dawa.aws.dk/autocomplete?q=rådhuspladsen")
req, _ := http.NewRequest("GET",
"https://api.danadresse.dk/autocomplete?q=rådhuspladsen", nil)
req.Header.Set("X-Api-Key", "dawa_live_…")
http.DefaultClient.Do(req)
await http.GetStringAsync( "https://dawa.aws.dk/autocomplete?q=rådhuspladsen");
http.DefaultRequestHeaders.Add("X-Api-Key", "dawa_live_…");
await http.GetStringAsync(
"https://api.danadresse.dk/autocomplete?q=rådhuspladsen");
Add Danish address autocomplete to your WooCommerce checkout without heavy plugins: one fetch call to api.danadresse.dk and customers pick a validated address in two keystrokes.
Replace the address field with an autocomplete input — 5 lines of JS, zero dependencies.
All 2.7M Danish addresses from DAR — no typos in shipments.
Customers find 'Rådhuspladsen' even if they type 'Råduhspladsen'.
curl 'https://api.danadresse.dk/autocomplete?q=R%C3%A5dhuspladsen&type=adresse' \
-H 'X-Api-Key: dawa_live_…'
Customer types 3 characters — API returns address list — form fills automatically.
Validated address straight from DAR significantly reduces mis-deliveries.
Use the REST call from Next.js / React checkout just as easily as from vanilla JS.
The slug /woocommerce-adresse follows DAWA's conventions — same paths, same JSON shape, same UUIDs. See the migration guide for the full picture.
See also