En overvåkingsliste per organisasjon, en hendelsesstrøm og varsler som webhook eller e-post. Samme nøkler som de andre API-ene, men et eget produkt med egen plan: prisen er per fulgte selskap per måned, og overvåking teller aldri som oppslag.
Companies per page. Outside 1-1000 is 400 invalid_limit from contract 2026-10-20; it was clamped before.
Datakilde-Version header
string
date
Pin a calendar date (YYYY-MM-DD), independently of the release channel. Absent means latest. A date between releases resolves to the newest contract on or before it; a date before the first resolves to the first, and a date after the latest resolves to the latest. Read Datakilde-Version on the response for the actual resolution. This does not select a historical source snapshot; only documented compatibility shims preserve older response behavior.
Datakilde-Channel header
string
stable | preview standard stable
Independent of Datakilde-Version. Omit for stable. Preview on customer data requires an explicit preview subscription grant; packages, test keys and date pins do not grant it. Ungranted preview is refused with preview_channel_not_granted (403), never silently downgraded. Public metadata remains stable.
Svar og feilkoder
HTTP
Betydning
Koder i svaret
200
Watched companies, the plan cap (watch_limit; limit is the page size from contract 2026-10-20) and the available event types
Watch companies. Adds up to 10 000 organisasjonsnumre per call; the plan decides the total (409 watch_limit_exceeded). Unknown numbers are kept and flagged. Sole proprietorships and other entries that are, or may be, a person are kept, flagged natural_person, and never alerted or billed. Only events detected after a company is added are delivered, plus the last 30 days when include_last_30_days is true.
Parametere
Navn
Type
Grenser og standard
Beskrivelse
Datakilde-Version header
string
date
Pin a calendar date (YYYY-MM-DD), independently of the release channel. Absent means latest. A date between releases resolves to the newest contract on or before it; a date before the first resolves to the first, and a date after the latest resolves to the latest. Read Datakilde-Version on the response for the actual resolution. This does not select a historical source snapshot; only documented compatibility shims preserve older response behavior.
Datakilde-Channel header
string
stable | preview standard stable
Independent of Datakilde-Version. Omit for stable. Preview on customer data requires an explicit preview subscription grant; packages, test keys and date pins do not grant it. Ungranted preview is refused with preview_channel_not_granted (403), never silently downgraded. Public metadata remains stable.
Pin a calendar date (YYYY-MM-DD), independently of the release channel. Absent means latest. A date between releases resolves to the newest contract on or before it; a date before the first resolves to the first, and a date after the latest resolves to the latest. Read Datakilde-Version on the response for the actual resolution. This does not select a historical source snapshot; only documented compatibility shims preserve older response behavior.
Datakilde-Channel header
string
stable | preview standard stable
Independent of Datakilde-Version. Omit for stable. Preview on customer data requires an explicit preview subscription grant; packages, test keys and date pins do not grant it. Ungranted preview is refused with preview_channel_not_granted (403), never silently downgraded. Public metadata remains stable.
Deliveries per page. Outside 1-500 is 400 invalid_limit from contract 2026-10-20; it was clamped before.
Datakilde-Version header
string
date
Pin a calendar date (YYYY-MM-DD), independently of the release channel. Absent means latest. A date between releases resolves to the newest contract on or before it; a date before the first resolves to the first, and a date after the latest resolves to the latest. Read Datakilde-Version on the response for the actual resolution. This does not select a historical source snapshot; only documented compatibility shims preserve older response behavior.
Datakilde-Channel header
string
stable | preview standard stable
Independent of Datakilde-Version. Omit for stable. Preview on customer data requires an explicit preview subscription grant; packages, test keys and date pins do not grant it. Ungranted preview is refused with preview_channel_not_granted (403), never silently downgraded. Public metadata remains stable.
Pin a calendar date (YYYY-MM-DD), independently of the release channel. Absent means latest. A date between releases resolves to the newest contract on or before it; a date before the first resolves to the first, and a date after the latest resolves to the latest. Read Datakilde-Version on the response for the actual resolution. This does not select a historical source snapshot; only documented compatibility shims preserve older response behavior.
Datakilde-Channel header
string
stable | preview standard stable
Independent of Datakilde-Version. Omit for stable. Preview on customer data requires an explicit preview subscription grant; packages, test keys and date pins do not grant it. Ungranted preview is refused with preview_channel_not_granted (403), never silently downgraded. Public metadata remains stable.
Event feed for watched companies. Oldest first. Keep next_cursor and resume from it; since filters on when the event reached your watchlist.
Parametere
Navn
Type
Grenser og standard
Beskrivelse
since spørring
string
date-time
—
cursor spørring
string
—
—
limit spørring
integer
1–1000 standard 100
Events per page. Outside 1-1000 is 400 invalid_limit from contract 2026-10-20; it was clamped before.
order spørring
string
oldest | newest standard oldest
newest returns the latest events, one page, for display; poll with the default
Datakilde-Version header
string
date
Pin a calendar date (YYYY-MM-DD), independently of the release channel. Absent means latest. A date between releases resolves to the newest contract on or before it; a date before the first resolves to the first, and a date after the latest resolves to the latest. Read Datakilde-Version on the response for the actual resolution. This does not select a historical source snapshot; only documented compatibility shims preserve older response behavior.
Datakilde-Channel header
string
stable | preview standard stable
Independent of Datakilde-Version. Omit for stable. Preview on customer data requires an explicit preview subscription grant; packages, test keys and date pins do not grant it. Ungranted preview is refused with preview_channel_not_granted (403), never silently downgraded. Public metadata remains stable.
Pin a calendar date (YYYY-MM-DD), independently of the release channel. Absent means latest. A date between releases resolves to the newest contract on or before it; a date before the first resolves to the first, and a date after the latest resolves to the latest. Read Datakilde-Version on the response for the actual resolution. This does not select a historical source snapshot; only documented compatibility shims preserve older response behavior.
Datakilde-Channel header
string
stable | preview standard stable
Independent of Datakilde-Version. Omit for stable. Preview on customer data requires an explicit preview subscription grant; packages, test keys and date pins do not grant it. Ungranted preview is refused with preview_channel_not_granted (403), never silently downgraded. Public metadata remains stable.
Change delivery settings. webhook_url must be https on port 443 or 8443 and resolve to public addresses only; an empty string removes it. email_mode is off, immediate or daily (07:00 Oslo). email_locale is nb or en.
Parametere
Navn
Type
Grenser og standard
Beskrivelse
Datakilde-Version header
string
date
Pin a calendar date (YYYY-MM-DD), independently of the release channel. Absent means latest. A date between releases resolves to the newest contract on or before it; a date before the first resolves to the first, and a date after the latest resolves to the latest. Read Datakilde-Version on the response for the actual resolution. This does not select a historical source snapshot; only documented compatibility shims preserve older response behavior.
Datakilde-Channel header
string
stable | preview standard stable
Independent of Datakilde-Version. Omit for stable. Preview on customer data requires an explicit preview subscription grant; packages, test keys and date pins do not grant it. Ungranted preview is refused with preview_channel_not_granted (403), never silently downgraded. Public metadata remains stable.
Webhook signing secret: shown once, then metadata. The plaintext secret is returned by the first GET after the watchlist is created, and by every rotation; after that this returns only metadata (secret_hint, rotated_at, previous_secret_valid_until, secret_revealed). Lost it? POST rotates.
Parametere
Navn
Type
Grenser og standard
Beskrivelse
Datakilde-Version header
string
date
Pin a calendar date (YYYY-MM-DD), independently of the release channel. Absent means latest. A date between releases resolves to the newest contract on or before it; a date before the first resolves to the first, and a date after the latest resolves to the latest. Read Datakilde-Version on the response for the actual resolution. This does not select a historical source snapshot; only documented compatibility shims preserve older response behavior.
Datakilde-Channel header
string
stable | preview standard stable
Independent of Datakilde-Version. Omit for stable. Preview on customer data requires an explicit preview subscription grant; packages, test keys and date pins do not grant it. Ungranted preview is refused with preview_channel_not_granted (403), never silently downgraded. Public metadata remains stable.
Rotate the webhook signing secret. Returns the new secret, once. The previous secret keeps signing for 24 hours: Datakilde-Signature then reads t=<unix>,v1=<new>,v1=<previous>, and a receiver accepts the request if either v1 matches. After the window the header has a single v1.
Parametere
Navn
Type
Grenser og standard
Beskrivelse
Datakilde-Version header
string
date
Pin a calendar date (YYYY-MM-DD), independently of the release channel. Absent means latest. A date between releases resolves to the newest contract on or before it; a date before the first resolves to the first, and a date after the latest resolves to the latest. Read Datakilde-Version on the response for the actual resolution. This does not select a historical source snapshot; only documented compatibility shims preserve older response behavior.
Datakilde-Channel header
string
stable | preview standard stable
Independent of Datakilde-Version. Omit for stable. Preview on customer data requires an explicit preview subscription grant; packages, test keys and date pins do not grant it. Ungranted preview is refused with preview_channel_not_granted (403), never silently downgraded. Public metadata remains stable.
Pin a calendar date (YYYY-MM-DD), independently of the release channel. Absent means latest. A date between releases resolves to the newest contract on or before it; a date before the first resolves to the first, and a date after the latest resolves to the latest. Read Datakilde-Version on the response for the actual resolution. This does not select a historical source snapshot; only documented compatibility shims preserve older response behavior.
Datakilde-Channel header
string
stable | preview standard stable
Independent of Datakilde-Version. Omit for stable. Preview on customer data requires an explicit preview subscription grant; packages, test keys and date pins do not grant it. Ungranted preview is refused with preview_channel_not_granted (403), never silently downgraded. Public metadata remains stable.
Varsler sendes som POST med Content-Type: application/json til adressen i innstillingene. Alle 2xx-svar er en vellykket levering. Levering skjer minst én gang: fjern duplikater på id. Omdirigeringer følges ikke, og adressen må være https på port 443 eller 8443 og peke til offentlige adresser.
Headere
Header
Innhold
Datakilde-Signature
t=<unix seconds>,v1=<hex HMAC-SHA256 of "<t>.<raw body>" with the watchlist's secret>
Datakilde-Timestamp
The same t as in the signature.
Datakilde-Event-Id
The payload's id. Delivery is at least once: deduplicate on it.
Nye forsøk
Et svar som ikke er 2xx, et tidsavbrudd eller en avvist tilkobling prøves igjen etter 1, 2, 4, 8, 16, 32, 64, 128 minutter. Etter 9 forsøk er leveransen død; den vises under /watchlist/deliveries?status=dead og kan sendes på nytt.
Regn ut signaturen på de rå bytene, før JSON tolkes, med hemmeligheten fra /watchlist/webhook/secret. POST /watchlist/webhook/test sender et signert eksempel.
import hashlib, hmac, time
def verify(secret: str, header: str, body: bytes, tolerance: int = 300) -> bool:
parts = dict(p.split("=", 1) for p in header.split(",") if "=" in p)
t, v1 = parts.get("t", ""), parts.get("v1", "")
if not t.isdigit() or abs(time.time() - int(t)) > tolerance:
return False
expected = hmac.new(secret.encode(), f"{t}.".encode() + body, hashlib.sha256).hexdigest()
return hmac.compare_digest(expected, v1)
Eksempel på innhold
Innholdet testendepunktet sender, generert fra koden som sender det. test er true bare der.
Den samme webhooken og hemmeligheten varsler også om nye og endrede byggesaker og reguleringsplaner nær adresser dere overvåker, med typene address.building_case og address.zoning_plan. Adresseovervåking åpnes med tilgangen address_watch på det samme abonnementet. Hver overvåking oppgir dekningen den faktisk har, første kjøring er en grunnlinje uten varsler, og en leveranse prøves seks ganger før den gis opp og kan sendes på nytt.