SW

Swiss Public Transport

transport:swiss-transport · transport.opendata.ch ↗

Live

Timetables and connections for trains, buses and boats in Switzerland.

3 endpoints3 live0 callsBulk supported

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 keytransport:swiss-transport
StatusLive
Endpoints3
CategoryTransport
Sourcetransport.opendata.ch
Base URLhttps://zieapi.vercel.app/v1/transport:swiss-transport/{endpoint}
For AI toolsOpenAPI 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

Use Swiss Public Transport from MCP

Add Apizie to your agent once, then ask for “Swiss Public Transport”: the agent calls run_scraper with transport:swiss-transport.

claude mcp add --transport http apizie https://zieapi.vercel.app/mcp \
  --header "x-api-key: apz_••••••••"