Contact Suggest changes

Journey planner

It is possible to request a journey from/to a station.

By default journeys from/to an address are blocked, because we're not allowed to pass through this information from 9292 or Google Directions because of licensing agreements.

Examples

https://ns-api.nl/reisinfo/api/v3/trips?fromStation=ed&toStation=ut

https://ns-api.nl/reisinfo/api/v3/trips?addChangeTime=0&bikeCarriageRequired=true&dateTime=2017-11-17T18%3A19%3A14%2B0100&destinationLat=52.0888900756836&destinationLng=5.11027765274048&destinationUicCode=8400621&excludeHighSpeedTrains=false&lang=nl&originLat=52.0802764892578&originLng=4.32499980926514&originUicCode=8400282&polylines=true&yearCard=false

https://ns-api.nl/reisinfo/api/v2/disruptions

https://ns-api.nl/reisinfo/api/v2/disruptions/UT

https://ns-api.nl/reisinfo/api/v2/stations

https://ns-api.nl/reisinfo/api/v2/departures?station=UT

https://ns-api.nl/reisinfo/api/v2/arrivals?station=UT