GET /api/v1/live/{city}/transit/routes/{route_id}/status
Live public-transit delay overview for a route (GTFS-RT, Tier B)
Aggregates a route's active trips from the GTFS-RT feed (Tier B): active_trips (count), avg_delay_s and max_delay_s, in the live envelope (refresh_seconds=45). The request path reads ONLY from Redis. Toggle off -> disabled; no active trips -> no_data. Live data only, kept in the Redis cache (Tier B).
Parameters
| Name | In | Required | Type | Example | Description |
|---|---|---|---|---|---|
city | path | yes | string | berlin | |
route_id | path | yes | string | 17292_700 | GTFS-RT route id. Volatile: fresh ids come from GET /api/v1/live/{city}/transit/departures, field route_id. An expired id is not an error but 200 source_status="no_data". |
Code samples
curl "https://infranode.dev/api/v1/live/berlin/transit/routes/17292_700/status"const res = await fetch("https://infranode.dev/api/v1/live/berlin/transit/routes/17292_700/status");
const data = await res.json();
console.log(data);import httpx
res = httpx.get("https://infranode.dev/api/v1/live/berlin/transit/routes/17292_700/status")
res.raise_for_status()
print(res.json()) Try it
No live console is available for this endpoint. It is an operational or demo operation (for example a forced error) and is only documented here. Use the code samples above to call it directly.