NS (Dutch Railways)
Read live departures, arrivals, disruptions and stations, and find the nearest station.
Blocks
Add these blocks on the canvas by searching for their name. Each block page lists its pins and how it behaves.
- get arrivals
nsconnection_arrivalsGet the live arrival board for a station. Provide the station code or the UIC code. - get departures
nsconnection_departuresGet the live departure board for a station. Provide the station code or the UIC code. - get disruptions
nsconnection_disruptionsGet current disruptions and engineering works on the NS network. - get nearest stations
nsconnection_nearest_stationsFind the NS stations closest to a coordinate. Provide a geo point, or a separate latitude and longitude. - open connection
nsconnection_openOpen a connection with the NS (Nederlandse Spoorwegen) Reisinformatie API. Reuse the resulting connection in the other NS blocks. - raw request
nsconnection_requestPerform a raw GET request against any NS Reisinformatie API path. Use this for endpoints without a dedicated block. - get stations
nsconnection_stationsList or search NS stations. Leave the search empty to retrieve all stations. - plan trip
nsconnection_tripsPlan a journey between an origin and a destination. Each endpoint accepts a station code, a UIC code, or a geo point.