GET /api/v1/live/{slug}/departures
Live public-transit departures for the VRR core cities + VVS Stuttgart per station (Mentz EFA, Tier C)
Returns the real-time departure board of a station in one of the six VRR core cities (duesseldorf, dortmund, essen, duisburg, bochum, wuppertal, key-less Mentz EFA efa.vrr.de) or in Stuttgart (VVS, key-less Mentz EFA www3.vvs.de): per departure the line, direction, minutes until departure and delay in seconds. The slug selects the city (city-scoping via the AGS5 prefix); a non-EFA slug returns 404. The station query parameter is a station name (default the city's main station), resolved internally via StopFinder to the EFA global id. The meta block additionally carries as_of and refresh_seconds (60). Tier C live-only: the EFA licence is not clearly open (source license = unknown), live data only, kept only briefly in the Redis cache. Attribution per network "Verkehrsverbund Rhein-Ruhr (VRR)" or "Verkehrs- und Tarifverbund Stuttgart (VVS)". Disabled -> 200 source_status="disabled"; unknown station or no departures -> 200 source_status="no_data"; dead upstream with no cache -> 503 with a hint.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
slug | path | yes | string | EFA-Verbund-Stadt-Slug: VRR-Kernstädte (duesseldorf, dortmund, essen, duisburg, bochum, wuppertal) oder VVS Stuttgart (stuttgart). Andere Städte liefern 404. |
station | query | no | string | Stationsname (Default Hauptbahnhof der Stadt). |
Code samples
curl "https://infranode.dev/api/v1/live/hamburg/departures"const res = await fetch("https://infranode.dev/api/v1/live/hamburg/departures");
const data = await res.json();
console.log(data);import httpx
res = httpx.get("https://infranode.dev/api/v1/live/hamburg/departures")
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.