One API instead of one per operator
Where this API fits next to national data portals, the operators' own APIs and journey-planning platforms, and when to use them instead.
National data portals
Portals such as transport.data.gouv.fr in France publish the operators' datasets: GTFS files, realtime feeds, documentation. They are where this API gets most of its data, and the right place if you want the files themselves. They are not built to answer "next departures at this stop": you still download, validate and query each file. This API is that query layer, with each response citing the dataset it came from.
Operator APIs
Many operators run their own developer API (SNCF, Renfe, city networks). Each has its own key, terms, id scheme and JSON. Use them when you need what only the operator has: fares, tickets, booking, crowding, or data they do not publish openly. Use one API here when you need the same questions answered across 97 networks with one key and one format.
Journey-planning platforms
Hosted journey planners (several are built on Navitia, an open-source engine) offer door-to-door routing and rich itineraries. This API plans stop to stop with MOTIS and focuses on departures, realtime honesty and attribution. If door-to-door or fares matter more to you than one format across operators, a journey-planning platform is the better fit.
Doing it yourself
Everything here is built from open data and open-source software; you can run it yourself. The subscription pays for the running service: feeds refreshed and validated, realtime polled, routing kept up to date, a public status page.
At a glance
| This API | Operator APIs | Data portals | |
|---|---|---|---|
| Networks behind one key | 97 | one | files for many |
| Next departures as JSON | yes | usually | no (files) |
| Fares and tickets | no | sometimes | sometimes (files) |
| Door-to-door routing | no (stop to stop) | sometimes | no |
| Licence and attribution in each response | yes | varies | on the dataset page |
| MCP tools for AI agents | yes | rarely | no |