Overslaan en naar de inhoud gaan

VNOG API — V1

Base URL: https://www.vnog.nl/api/v1

Alle endpoints retourneren JSON.


GET /api/v1/municipalities

Geeft alle gemeenten terug als een object van {id: naam}.

Parameters: geen

Response 200 OK:


{
	"12": "Gemeente A",
	"34": "Gemeente B"
}
				

GET /api/v1/incidents

Geeft gepubliceerde incidenten terug, gesorteerd op aanmaakdatum (nieuwste eerst).

Query parameters:

Parameter Type Verplicht Beschrijving
municipality string nee Kommagescheiden gemeente-ID's, bijv. ?municipality=12,34
status boolean nee true of false, bijv. ?status=true

Voorbeeldaanroepen:


GET https://www.vnog.nl/api/v1/incidents
GET https://www.vnog.nl/api/v1/incidents?municipality=12,34
GET https://www.vnog.nl/api/v1/incidents?status=true
GET https://www.vnog.nl/api/v1/incidents?municipality=12&status=false
				

Response 200 OK:


{
	"101": {
		"id": 101,
		"title": "Stroomstoring centrum",
		"created": "dinsdag 10 juni 2026 - 09:00",
		"updated": "woensdag 11 juni 2026 - 14:30",
		"url": "https://www.vnog.nl/incident/stroomstoring-centrum",
		"main_image": "https://www.vnog.nl/sites/default/files/styles/image_paragraph/...",
		"grip": "1",
		"introduction": "Korte introductietekst.",
		"status": true,
		"updates": [
			{
				"title": "Update 1",
				"description": "<p>Beschrijving van de update.</p>",
				"image": "https://www.vnog.nl/sites/default/files/styles/image_paragraph/...",
				"link": {
					"uri": "https://www.vnog.nl/meer-info",
					"title": "Meer informatie"
				}
			}
		],
		"municipalities": {
			"12": "Gemeente A",
			"34": "Gemeente B"
		}
	}
}
				

Veldtoelichting:

Veld Type Beschrijving
id integer Node ID
title string Titel van het incident
created string Aanmaakdatum, Nederlandse notatie
updated string Laatste wijziging, Nederlandse notatie
url string Absolute URL naar de detailpagina
main_image string | false URL van de hoofdafbeelding, of false
grip string | false GRIP-niveau (1–4), of false
introduction string Introductietekst
status boolean true = actief, false = afgehandeld
updates array Lijst van updates (zie hieronder)
municipalities object {id: naam} van betrokken gemeenten

Update object:

Veld Type Beschrijving
title string Titel van de update
description string Tekst (HTML)
image string | false Afbeelding URL, of false
link object | false {uri, title} of false
Terug naar boven