Swiss Public Transport
transport:swiss-transport · transport.opendata.ch ↗
Timetables and connections for trains, buses and boats in Switzerland.
About the Swiss Public Transport API
Swiss Public Transport API on Apizie: 3 endpoints (Connections, Departures, Locations) returned as clean JSON through one API key. 3 endpoints are live now. Call it over REST at https://zieapi.vercel.app/v1/transport:swiss-transport/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.
| Project key | transport:swiss-transport |
|---|---|
| Status | Live |
| Endpoints | 3 |
| Category | Transport |
| Source | transport.opendata.ch |
| Base URL | https://zieapi.vercel.app/v1/transport:swiss-transport/{endpoint} |
| For AI tools | OpenAPI spec · Markdown (what is this?) |
Swiss Public Transport API FAQ
How do I call the Swiss Public Transport API?
Create a free Apizie key, then send GET https://zieapi.vercel.app/v1/transport:swiss-transport/connections with the header x-api-key. Every endpoint returns { project, data, timestamp }.
Is the Swiss Public Transport API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card.
Can AI agents use the Swiss Public Transport API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key transport:swiss-transport.
What is the status of the Swiss Public Transport API?
Live: works with just an Apizie key