Transit Departures
transit_departuresGet real-time public transport departures and delays for a specific stop using its stop ID.
Instructions
Get live public-transport departures with real-time delays for a stop.
Sourced from GTFS-RT/HVV/VGN. Unlike the static stop list
(get_city_resource(slug, resource='transit')), this returns minute-fresh
departures including delay for ONE stop. A stop_id is required: fetch the
city's transit stops first to discover valid stop IDs, then pass one here.
Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | City slug from the list_cities tool, e.g. 'berlin' or 'hamburg'. | |
| stop_id | No | Required stop ID to fetch departures for. Discover a city's stop IDs with get_city_resource(slug, resource='transit') first (each stop carries its id). Format: DELFI 'de:<AGS>:<id>' or a numeric gtfs.de stop id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| meta | Yes |