History

DAR history: overview

EXPERIMENTAL API. This API is experimental and has not yet been finalised. Non-backwards-compatible changes will likely be made to the API without notice. Retrieve DAR history for an object and related objects. History can be retrieved for addresses, house numbers and named roads.

GET/darhistorik

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

idstringqueryrequired

ID of the DAR object for which history is requested. Required parameter.

entitetstringqueryrequired

Specifies the data type for which history is returned. Options: "adresse", "husnummer", "navngivenvej". Required parameter.

attributterstringquery

Comma-separated list of attributes for which history is returned. By default, all attributes for the object and related objects are returned.

Request

curl --request GET \
  --url "https://api.danskadresseapi.dk/dawa/darhistorik" \
  --url-query "id=<id>" \
  --url-query "entitet=<entitet>" \
  --header "Authorization: Bearer $API_KEY"
Try it
GET https://api.danskadresseapi.dk/dawa/darhistorik

Response

application/json

Success response. The MIME type of the response depends on the format parameter.

—

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