Get Route Realtime
get_route_realtimeRetrieve real-time positions of all vehicles on a specified route, optimized for map rendering. Use to locate a tram or bus currently in service.
Instructions
Returns live positions for all vehicles currently running on a route, optimised for map rendering. Use when the user asks "where is my tram/bus right now?" or wants to see all active vehicles on a specific route on a map. Prefer get_stop_realtime when the user is at a stop and wants to know arrival times rather than vehicle positions. Prefer get_route_static when only the route shape or stop list is needed without live data. Requires a route short name (e.g. "T30", "32A") or numeric external ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| route_name | Yes | Route short name (e.g. "T30", "32A") or numeric external ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| view | Yes | ||
| ui_blocks | Yes |