get departures
This block is part of the NS group and was last modified in core v15.0.0.
get departures v15.0.0 Get the live departure board for a station. Provide the station code or the UIC code.
- flow
flow - Connection required
nsconnectionThe NS connection.
- Station code required
valueNS station code (e.g. ut for Utrecht Centraal). Either this or the UIC code is required. • Hidden when other fields are filled
- UIC code required
valueUIC code of the station. Either this or the station code is required. • Hidden when other fields are filled
- Date / time
dateShow departures from this moment onward. Defaults to now.
- Max journeys
numberNumber of departures to return. Defaults to 40.
- Language
valueLanguage for localized text (e.g. nl or en). Defaults to Dutch.
- flow
flow - Connection
nsconnectionThe NS connection.
- Success
conditionTrue if the request succeeded.
- Departures
arrayThe departures, each with direction, planned/actual track, planned_date_time and actual_date_time as unix timestamps, and delay_minutes.
- Count
numberNumber of departures returned.
- Source
valueThe data source reported by NS.
- Error
valueError message if the request failed.
vertrektijden |
departures |
vertrek |
A typical wiring for get departures: a function trigger starts the flow; open connection feeds the connection pin; value feeds the station pin; value feeds the uic_code pin; the flow out pin feeds debug.

Version history
Introduced in v15.0.0.
Back to
NS Return to the main group to view all sub-groups Back to NS Return to the group to view all blocks within this group
