v1

Firehose — every change nationwide, live (Server-Sent Events)

One stream of every stored change nationwide (DAR, BBR, stops, soil contamination, listed buildings, air, noise, energy, cadastre) — for customers mirroring the data. No address list. Events: klar (efter_id, interval_ms, kilder), haendelse (id, tid, opdaget, kilde, type, adgangsadresse_id, bfe, bygning_id, data, tekst — the SSE id is the event id), ping (heartbeat every 20 seconds) and genstart (efter_id) after 55 minutes. Resume exactly where you left off with efter_id or the Last-Event-ID header. Valuations, plans, CVR and shops exist only per address and are not in the stream. One connection counts as one call. Requires the Enterprise plan. At most 3 concurrent streams per API key and 10 per team (stream and firehose combined); beyond that the call returns 429 rate_limit_exceeded with Retry-After before the stream opens. A connection that is not closed cleanly is released after 90 seconds at the latest.

GET/v1/aendringer/firehoseEnterprise

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

efter_idintegerquery

Continue after this event id (from an earlier stream). Takes precedence over siden.

min 0
sidenstringquery

Everything discovered from this ISO timestamp onwards. Omitted = only changes from now on.

kilderstringquery

Comma-separated selection: dar, bbr, stop, jord, fredning, luft, stoej, energi, matrikel.

sprogstringquery

Language of the tekst field.

default: daAllowed values:daen

Request

curl --request GET \
  --url "https://api.danskadresseapi.dk/v1/aendringer/firehose" \
  --header "Authorization: Bearer $API_KEY"
Try it
GET https://api.danskadresseapi.dk/v1/aendringer/firehose

Response

application/json

text/event-stream with the events klar, haendelse, ping and genstart

—

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