timetable
Get a trip as itinerary
get/api/v6/trip
Query parameters
tripIdstring required
trip identifier (e.g. from an itinerary leg or stop event)
withScheduledSkippedStopsboolean
Optional. Include intermediate stops where passengers can not alight/board according to schedule.
detailedLegsboolean
Controls if legGeometry is returned for transit legs.
The default value is true.
joinInterlinedLegsboolean
Optional. Default is true.
Controls if a trip with stay-seated transfers is returned:
- joinInterlinedLegs=false: as several legs (full information about all trip numbers, headsigns, etc.). Legs that do not require a transfer (stay-seated transfer) are marked with interlineWithPreviousLeg=true.
- joinInterlinedLegs=true (default behavior): as only one joined leg containing all stops
languagestring[]
language tags as used in OpenStreetMap / GTFS (usually BCP-47 / ISO 639-1, or ISO 639-2 if there's no ISO 639-1)
Response
the requested trip as itinerary