DanskAdresseAPIv1
Statistik

Top N postal codes, municipalities or street names — requires Pro or higher

The N largest postal codes, municipalities or street names by number of addresses. Requires the Pro plan or higher.

GET/v1/stats/topPro

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

typestringquery

Result type.

limitintegerquery

Maximum number of results. The limit is set per endpoint — see default and maximum.

Request

curl --request GET \
  --url "https://api.danskadresseapi.dk/v1/stats/top" \
  --header "Authorization: Bearer $API_NOEGLE"

Response

application/json

Top-liste

object

401Missing key
{
  "error": {
    "code": "unauthorized",
    "message": "Missing or invalid API key."
  }
}
DanskAdresseAPI