Departure Board
Next departures from a station with platform and delay.
GET
/api/v1/transit/swiss/departuresData source
- Swiss public transport APIopendata.ch ·
free-with-attribution· updates Real-time
Query parameters
| Parameter | Description | Try value |
|---|---|---|
stationstring required | Station | |
limitnumber | 1–40 (default 15) | |
apikeystring required | Your API key. Can also be sent as the X-API-Key header. | demo key used here |
Response envelope
Success: { data, meta: { sources, fetchedAt, cached } }. Errors: { error: { code, message } } with HTTP 400, 401, 404, 502, 503 or 504.