BesluitBron 1.4.4-23 Status Sign in

Status data

Last changed on .

/api/status.json returns the same measurement as the status page – see Laadstatus – but as JSON rather than as a web page. The URL can be accessed without an account or a key.

Language

The language of the text fields is determined by the query parameter culture, for example /api/status.json?culture=de. If this parameter is missing, the language is determined by the requester’s language cookie and, failing that, by the language requested by the browser via Accept-Language. A monitoring system without a cookie and without a language preference will therefore always receive a response, in Dutch, rather than an error message.

Any text field that changes in line with the language is called ‘..._label’. Next to it is always a ‘..._code’, which does not change in line with the language. A monitoring rule should pay attention to the code, not the label. The meaning behind each code is set out in Laadstatus.

What the address returns

  • measured: false for a reason, as long as the first measurement has not yet been completed. That response is returned with status code 503;
  • After the first measurement: the status of each source, the time of measurement, the thresholds applied and, for the two local sources, which units are at a standstill. A full explanation of each field can be found at Laadstatus.

The address prior to version 1.3.86

Up to and including version 1.3.85, this document was available at /status.json, with a language-specific version at /{taal}/status.json. Both addresses still exist and now redirect to /api/status.json, the latter with the language as a query parameter. A user who follows redirects – as most do – will not notice the move. Only a user who deliberately chooses not to follow redirects will now see a redirect page instead of the document itself.