GET StopPoint/Departures/{ID}/{limit}

Returns the X next departures from a single bus and/or train stop requested by the ID parameter, where X is equal to your requested {limit}.


Parameter Example value Description
id 200405035 Id integer of train and/or bus stop to get departures returned for
limit 3 Amount of departures integer to get returned by the API

Resource URL{ID}/{limit}


The response will be formatted as a JSON.

Object properties

Key Type Possible values Description
id string {id} Id of the departure
type string - 'train'
- 'bus'
type of transportation
trainId string - {trainId}
train id (null on busses)
line string - {line}
bus or train line (currently null for all trains as info is missing on Verkéiersverbond API)
lineId string {lineId} bus or train line identifier (can be used to map departure to a line)
number integer {number} number given by Verkéiersverbond. Do not trust it to be unique
departure integer {departure} calculated real life departure of train/bus in Unix time
delay integer {delay} offset between {departure} and scheduled departure in seconds
live boolean - true
- false
wether live data is available for the given train/bus or not
departureISO string {departureISO} calculated real life departure of train/bus in ISO 8601 time
destination string {destination} name of destination
destinationId integer - {destinationId}
id of destination as found on /StopPoint/{id} or NULL if unknown

Sample request & response


    "id": "1|6459|0|82|16032017",
    "type": "bus",
    "trainId": null,
    "lineId": "3:RGTR--:194",
    "line": "194",
    "number": 671,
    "departure": 1489655040,
    "delay": 0,
    "live": false,
    "departureISO": "2017-03-16T10:04:00+01:00",
    "destination": "Sandweiler, Am Eck",
    "destinationId": 200601001
}, {
    "id": "1|290|12|82|16032017",
    "type": "bus",
    "trainId": null,
    "lineId": "1:AVL---:18",
    "line": "18",
    "number": 2277,
    "departure": 1489655280,
    "delay": 60,
    "live": true,
    "departureISO": "2017-03-16T10:08:00+01:00",
    "destination": "Kirchberg, Luxexpo Entrée Sud Quai 1",
    "destinationId": 200417023
}, {
    "id": "1|512|9|82|16032017",
    "type": "bus",
    "trainId": null,
    "lineId": "1:AVL---:4",
    "line": "4",
    "number": 3204,
    "departure": 1489655340,
    "delay": 60,
    "live": true,
    "departureISO": "2017-03-16T10:09:00+01:00",
    "destination": "Limpertsberg, Lycée Michel Lucius",
    "destinationId": 200419022


Please refer to StopPoint/Departures for information about the train and bus departures data licensing.


Made by Daniel Duton & Thierry Degeling from ION Network Solutions.

Sponsored by Digital Lëtzebuerg.

results matching ""

    No results matching ""