GET /api/v1/live/frankfurt-am-main/departures
Live public-transit departures for Frankfurt/Rhine-Main per station (RMV HAPI)
Returns the real-time departure board of a Rhine-Main station from the RMV HAPI (HAFAS ReST, www.rmv.de/hapi): per departure the line, direction, minutes until departure and delay in seconds. City fixed to frankfurt-am-main (RMV covers the Rhine-Main area). The station query parameter is a station name (default "Frankfurt (Main) Hauptbahnhof"), resolved internally via location.name to the HAFAS station id. The meta block additionally carries as_of and refresh_seconds (60). Tier C live-only: the RMV HAPI requires registration, the license is not open (source license = unknown), live data only, kept only briefly in the Redis cache. Disabled or missing accessId -> 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 |
|---|---|---|---|---|
station | query | no | string | RMV-Stationsname (Default "Frankfurt (Main) Hauptbahnhof"). |
Code samples
curl "https://infranode.dev/api/v1/live/frankfurt-am-main/departures"const res = await fetch("https://infranode.dev/api/v1/live/frankfurt-am-main/departures");
const data = await res.json();
console.log(data);import httpx
res = httpx.get("https://infranode.dev/api/v1/live/frankfurt-am-main/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.