Skip to content
Help center

Authentication and base URL

1 min read

Authentication

Base URL: https://api.danskadresseapi.dk.

Send your key in one of these ways:

  • Authorization: Bearer <key> (recommended)
  • ?token=<key> in the URL
  • X-Addr-Key: <key>

Keys look like live_... (server) or pub_... (browser, origin-locked).

Two surfaces

  • /dawa/* — 100% DAWA-compatible drop-in (recommended). Can be used anonymously without a key, capped at 1,000 calls/day per IP.
  • /v1/* — our own native API (structured JSON + BBR/DAGI enrichment). Always requires a key.
Bash
curl -H "Authorization: Bearer <key>" \
  "https://api.danskadresseapi.dk/v1/autocomplete?q=rådhus"
Migrating from the official DAWA? Just swap api.dataforsyningen.dk for api.danskadresseapi.dk/dawa — same fields. See "Choose /dawa or /v1".
Was this helpful?