All integrationsMaps & Travel
Swiss Transport
Plan journeys on Switzerland's public transport through the keyless Opendata.ch API: search trains, trams, buses, boats and cable cars between any two places, read a stop's live departure or arrival board with delays and platforms, find the stops nearest a point, and break a journey down leg by leg.
- actions
- 8
Actions
Steps a workflow can run in Swiss Transport.
- Search placesFind Swiss stations, stops, points of interest and addresses by name, best match first. Use it to turn 'Basel' into the exact stop name and id the other actions take, and to get a place's coordinates.
- Find nearby stopsList the public transport stops closest to a point, nearest first, each with how far away it is in metres. Feed it a phone's coordinates or a place looked up elsewhere to answer 'which stop do I walk to?'.
- Search connectionsPlan a journey between two places on the Swiss timetable. Each result carries the departure and arrival times, platforms, how long it takes, how many changes it needs, which lines it uses and any delay reported right now. Search from a departure time or, with 'Treat the time as the arrival time', backwards from when you need to be there.
- Get next departureAnswer 'when is the next one?' for a trip: the next journey leaving now from one place to another, with how many minutes away it is, its platform, any delay, and how long it takes. Returns 'found: false' when nothing more runs today rather than failing the step.
- Get last connectionFind the latest journey that still gets you there by a given time (the last train home). Searches by arrival time, drops anything that would arrive late, and returns the one that leaves last, so you also learn the time to leave by.
- Get journey detailsBreak one journey down leg by leg: every train, bus, boat or walk it is made of, with the line, the direction, the platforms, the times, and every stop each leg calls at. Use 'Which connection' to detail a later option from the same search.
- Get departuresRead a stop's departure board: the next services leaving, each with its line, where it is heading, the platform, the time and any delay. Name the stop or give its id, and set a time to read the board as it will stand later.
- Get arrivalsRead a stop's arrival board: the next services pulling in, each with its line, where it came from, the platform, the time and any delay (the board to check before meeting someone off a train).
No actions match that.
Automate Swiss Transport with Lodol.
Connect Swiss Transport and ask your AI for your first workflow.
Free plan, no credit card