Swiss Transit OpenData Scraper avatar

Swiss Transit OpenData Scraper

Pricing

from $5.88 / 1,000 results

Go to Apify Store
Swiss Transit OpenData Scraper

Swiss Transit OpenData Scraper

Tap Swiss public transport data from transport.opendata.ch. Query journeys between two stations, live departure boards, or search stations by name. Returns stations, coordinates, departure and arrival times, platform, duration, transfers, and line. Useful for travel and route planning.

Pricing

from $5.88 / 1,000 results

Rating

0.0

(0)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Share

ParseForge Banner

πŸš† Swiss Transit OpenData Scraper

πŸš€ Export Swiss public transport data in seconds. Pull journeys, live departure boards, and station search results straight from transport.opendata.ch.

Turn Swiss public transport into clean, structured records you can drop into a travel app, a route planner, a timetable widget, or a data pipeline. Pick one of three modes (connections, stationboard, or locations) and get departure and arrival times, platforms, durations, transfers, coordinates, and line details in a consistent shape.

Coverage is the full public transport network served by transport.opendata.ch: trains, trams, buses, boats, and cable cars across Switzerland. Search any station by name, plan a journey between two stops, or read the live departure board for a single station. No account and no API key are required.

🎯 Target AudienceπŸ’‘ Primary Use Cases
Travel and route planning appsPlan journeys and show live departures
Mobility and logistics teamsFeed Swiss schedules into routing tools
Data analysts and researchersStudy connections, transfers, and delays
Hobbyists and bot buildersBuild a departure board or trip notifier

πŸ“‹ What the Swiss Transit OpenData Scraper does

This Actor calls the public transport.opendata.ch API and returns one clean record per item for the mode you choose:

  • Connections β€” journeys between a from and a to station, with departure and arrival times, platforms, duration, transfer count, products, and the first leg's line and operator.
  • Stationboard β€” upcoming departures from a single station, with destination, departure time, delay, platform, category, and line.
  • Locations β€” station search by name, returning matched station names, IDs, coordinates, and icon type.

Every record carries a recordType so you can tell the modes apart, plus a scrapedAt timestamp.

πŸ“Š Data fields

Each record includes: arrival, arrivalPlatform, arrivalTimestamp, category, departure, departureTimestamp, duration, fromLat, fromLon, fromStation, fromStationId, headsign, lineNumber, operator, platform, products, recordType, scrapedAt, toLat, toLon, toStation, toStationId, transfers. All 23 field names come from a real production run, so what you see here is what lands in your dataset.

πŸš€ How to use

  1. Create a free Apify account using this sign-up link.
  2. Open the Swiss Transit OpenData Scraper.
  3. Choose a mode (connections, stationboard, or locations).
  4. Fill the inputs for that mode and set maxItems.
  5. Click Start and grab your results when the run finishes.

πŸ’‘ Pro Tip: browse the complete ParseForge collection.

⚠️ Disclaimer: independent tool, not affiliated with transport.opendata.ch or the Swiss transport operators. Only publicly available data is collected.

πŸ†˜ Need Help?

If you hit a bug, have questions about setup, or need a scraper we haven't built yet, open our contact form or write to parseforge@protonmail.com. We also take on paid custom data projects.

For faster answers, join our Discord. It's the best place to get support and suggest new actors.