v1

latestOpenAPI 3.0.02026-07-1710918.8 KB
departures

Retrieve departures for station

get/v2/departures/station/{station}

Path parameters

stationstring required

Station code (uppercase)

Query parameters

verboseboolean

Verbose departures (returns wings and material)

language'nl' | 'en'

Language

Response

Default response

status'UNKNOWN' | 'DOWN' | 'RECOVERING' | 'UP'

System status:

  • UNKNOWN - Insufficient information to determine whether system is UP or DOWN
  • DOWN - Component is down (downtime detected)
  • RECOVERING - Component is receiving data, but not long enough to consider it UP
  • UP - Component is receiving data

Example response

{
  "arrivals": [
    {
      "destination_actual": "Amsterdam Centraal",
      "destination_actual_codes": [
        "ASD"
      ],
      "destination_planned": "Alkmaar",
      "platform_planned": "13a",
      "platform_changed": true,
      "remarks": [
        "Gewijzigd spoor"
      ],
      "tips": [
        "Stopt op alle tussengelegen stations"
      ],
      "station": "LEDN",
      "status": 5,
      "type": "Intercity",
      "type_code": "IC",
      "via": "Haarlem, Schiphol",
      "wings": [
        {
          "destination_actual": {
            "code": "GVC",
            "short": "Den Haag C",
            "medium": "Den Haag C.",
            "long": "Den Haag Centraal"
          },
          "destination_planned": {
            "code": "GVC",
            "short": "Den Haag C",
            "medium": "Den Haag C.",
            "long": "Den Haag Centraal"
          },
          "material": [
            {
              "destination": "GVC",
              "destination_code": "Den Haag Centraal",
              "number": "4024",
              "type": "ICM-3"
            }
          ],
          "stops": [
            {
              "code": "GVC",
              "short": "Den Haag C",
              "medium": "Den Haag C.",
              "long": "Den Haag Centraal",
              "arrival_platform": "8",
              "departure_platform": "8"
            }
          ]
        }
      ]
    }
  ],
  "status": "UP"
}