ns_reisinformatie
Retrieve live Dutch Railways train information: disruptions, departures, arrivals, or trip advice. Specify station codes and optional time for real-time results.
Instructions
Query NS (Dutch Railways) Reisinformatie API for live train info. operation=disruptions (verstoringen/werkzaamheden, v3), departures (vertrektijden per station, v2), arrivals (aankomsttijden, v2), trips (reisadvies from/to station, v3). Realtime; requires NS_API_KEY.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | No | ||
| station | No | Stationcode (bijv. 'UT' Utrecht, 'ASD' Amsterdam CS, 'RTD' Rotterdam). Vereist voor departures/arrivals. | |
| dateTime | No | Optioneel ISO-8601 tijdstip, bijv. '2026-07-03T08:00:00+02:00'. Default = nu. | |
| isActive | No | disruptions: alleen actieve verstoringen tonen (default true). | |
| operation | No | Welke NS-operatie: verstoringen, vertrektijden, aankomsttijden of reisadvies. | disruptions |
| toStation | No | Aankomststation (code) — vereist voor operation 'trips'. | |
| fromStation | No | Vertrekstation (code) — vereist voor operation 'trips'. |