The Dienstregeling API can be used to request information about public transport services for any operator in the Netherlands. This can be done on a global level e.g. all services for a single operator, but also on a detailed level, e.g. for a service that departs from a specific stop at a particular time. This API is meant to deliver public transport information to Apps, websites and content providers that offer this information directly or in addition to other travel information to their users.
A description of the data that can be delivered by the Dienstregeling API follows below. In general objects and attributes are only included if they have a value. E.g. when an operator has no notice message for a service or a stop place, the object is omitted from the response, including the list structure in which these messages are bundled. The same principle is used for attributes. E.g. the departure data may include a changed departure platform if the actual platform is different from the planned platform. But usually, this is not the case and then the attribute will be omitted from the response.
For each public transport operator, all its scheduled services can be requested, regardless of the dates on which they are offered. This returns a collection of public transport lines that includes the following data for each line:
In a request for a specific service line, the line is identified by a combination of:
One or more services can be specified in a request by a combination of:
Object |
Content and meaning |
ErrorMessage |
This object is included in the response when an error occurs and includes an explanation of the cause of the error. |
Usage of the 9292 Vertrektijden API is prohibited without the approval of 9292.
It is mandatory to show the 9292 Logo. Only the logo is required, not the text.
9292 will give approval on the location of the logo before you transfer to the production environment. This is done to safeguard the usage of the 9292 logo. The logo can be found at the following URL:
Software version |
Comment |
01-10-2021 v1.0.0 |
|
22-10-2021 v1.1.0 |
|
14-02-2022 v1.2.0 |
|
14-04-2022 v1.2.1 |
|
09-05-2022 v1.2.2 |
|
27-05-2022 v1.2.3 |
|
05-09-2022 v1.2.3a |
|
08-03-2023 v1.2.4 |
|
03-04-2023 v1.2.5 |
|
08-05-2023 v1.2.6 |
|
08-08-2023 |
|
Header Key |
Value |
Authorization |
...the token supplied by 9292... |
Accept |
Application/JSON |
Content-Type |
charset=utf-8 |