Rail Timetables as a Service
Connections, departures, arrivals and trip details for rail networks around the world, through one API. We run the timetable platform, you send the queries.
A timetable API for commercial products, research, or your side project
Timetables as a Service is viaduct's hosted timetable API for rail. We bring together timetable data from many sources around the world and answer your queries through one REST API, with the same data model in every country. There is nothing to import, host or maintain on your side.
What you can query
- Connections between two stations, including transfers and operators
- Departures and arrivals at any station
- Trip details with every stop and its times
- Station and operator data, with standard identifiers such as UIC codes
- Rail distances between stations
Who it's for
Commercial products
Travel apps, booking tools, mobility platforms and media. Many community timetable APIs rule out commercial use. Ours is made for it.
Research projects
Universities, institutes and consultancies studying connectivity, accessibility or travel times. Run large batches of queries without building your own setup first.
Side projects
Get timetable answers for your idea without spending your weekends on data imports and server upkeep.
What running it yourself takes
You can also host an open-source journey planner yourself. Keeping it useful is ongoing work:
- Finding the right datasets for different countries can be cumbersome
- Polling realtime feeds and keeping every connection alive
- Matching the same station across operators and countries
- Running and monitoring a server
We do all of this for our own timetable platform, every day. You send queries and get clean JSON back.
Frequently asked questions
- Can I use the Transitous API for a commercial or closed-source project?
- No. The public Transitous API is meant for free and open-source projects, and its usage policy does not allow commercial use. Timetables as a Service is viaduct's own timetable API, made for commercial and closed-source products as well as research.
- Do I have to host MOTIS or OpenTripPlanner myself?
- No. Open-source journey planners are a good choice if you want to run your own servers. With Timetables as a Service there is nothing to host or maintain: you query timetables through one API.
- Do you sell GTFS feeds or timetable data?
- No. We sell access to the query interface, not the data. The timetables stay with the operators and public bodies that publish them, often as GTFS or NeTEx, and their credits are on our data sources page.
- Which countries and networks are covered?
- Rail networks across Europe and a growing number of countries on other continents. Tell us the regions you need and we will confirm the coverage for your project.
- Can a university or research project use it?
- Yes. It suits studies of accessibility, travel times and connectivity, including large batch runs. We agree query volumes and terms that fit research budgets.
- Does it matter which system an operator runs, for example HAFAS?
- No. You query one API with one data model, whatever system an operator uses for its own journey planner.
- How is this different from Routing as a Service?
- Routing as a Service answers connection searches from A to B. Timetables as a Service covers the wider timetable, including departures, arrivals and trip details.
- How do I get access?
- Tell us about your project through the contact form. You get a test key first and a live key once we have agreed terms.
Related services
Routing as a Service
Timetable-based rail routing via REST API — point-to-point across European networks.
Learn moreStations as a Service
A worldwide, curated rail station database — searchable, geo-referenced, cross-referenced.
Learn moreRecommendations as a Service
Ranked rail destination and route recommendations from custom criteria.
Learn moreAnalytics & insights
Rail accessibility analysis, demand modeling, and network assessment grounded in research.
Learn moreMaps & visualization
Custom rail cartography, animated visuals, and data visualization for transport organizations.
Learn moreTell us what you need to query
Share your project, the countries and the expected query volume, and we will get back to you with access and terms.