opendatach / transport
Swiss public transport API
No longer found in upstream repository
Requires
- php: >=5.5.9
- ekino/newrelic-bundle: ~1.3
- kriswallsmith/buzz: ^0.16.1
- monolog/monolog: ~1.17
- predis/predis: ~1.0
- silex/silex: ~1.3
- symfony/serializer: ~2.3|^3.0
- twig/twig: ~1.23
- zircote/swagger-php: ~2.0
Requires (Dev)
- phpunit/phpunit: ^9.4
- symfony/browser-kit: ~2.3
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-21 23:06:10 UTC
README
Development happens on GitLab: https://gitlab.com/opendata.ch/Transport — issues and merge requests go there. The repository on GitHub (github.com/OpendataCH/Transport) is a read-only mirror.
The Swiss public transport API behind https://transport.opendata.ch, run by Opendata.ch. It answers from its own copy of the national timetable and its real-time feed on opentransportdata.swiss, routed by MOTIS. Until October 2026 it was a front for timetable.search.ch.
- API documentation: https://transport.opendata.ch/docs.html
- Statistics: https://transport.opendata.ch/stats
- For AI assistants: the MCP server at https://transport.opendata.ch/mcp (how to add it)
- Operations: the wiki
The application is in service/: FastAPI, serving the API under
/v1 and the website around it. Until 2026 it was a PHP application; its
history is in this repository's git log and in CHANGELOG.md.
docker compose up --build # http://localhost:8000/
Questions and contact: transport@opendata.ch