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 | Description |
|---|---|---|---|---|
city | path | yes | string | |
route_id | path | yes | string |
Code samples
curl "https://infranode.dev/api/v1/live/example/transit/routes/example/status"const res = await fetch("https://infranode.dev/api/v1/live/example/transit/routes/example/status");
const data = await res.json();
console.log(data);import httpx
res = httpx.get("https://infranode.dev/api/v1/live/example/transit/routes/example/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 or key mint) and is only documented here. Use the code samples above to call it directly.