Get Real-Time Stop Departures
transport-rest.transit.departuresGet real-time upcoming departures (line, direction, platform, delay) for a Berlin/Brandenburg transit stop within a time window. Stop ID comes from transport-rest.transit.search_locations or transport-rest.transit.nearby_stops. Data: v6.bvg.transport.rest (community HAFAS wrapper for BVG), no auth required, 100 req/min.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| when | No | ISO 8601 date-time to fetch departures for instead of now (e.g. "2026-09-01T08:00:00+02:00"). | |
| results | No | Maximum number of departures to return (default 20, max 100). | |
| stop_id | Yes | Stop/station ID to fetch departures for, obtained from transport-rest.location_search or transport-rest.nearby_stops (e.g. "900100003"). | |
| duration_minutes | No | Time window in minutes to look ahead for departures (default 60, max 180). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |