get_timetable Timetable
Trains, times and fares for one day, plus booking links. Connecting routes (e.g. Graz → Salzburg) come back as multiple legs in a single call.
| Parameter | Type | Description |
|---|---|---|
from, to | station | Origin and destination (must differ) |
date | string | YYYY-MM-DD or a weekday name ("Freitag"); max ~6 months ahead |
type | enum | booking (default) · reservation · group · group-school |
adults, children | int | Passengers (default 1 adult). Limits depend on type |
wheelchairs, pets, bikes | int | Extras, booking type only |
discount | enum | Discount card, see list below |
departureAfter/Before, arrivalAfter/Before | HH:mm | Time window filters (Vienna time) |
maxPrice, maxDurationMinutes | number | Price (€) and duration filters |
sortBy, sortOrder | enum | departure · arrival · price · duration, asc/desc |
language | de | en | Language of the westbahn.at links (default de) |