GET /api/v1/live/nuernberg/departures
Live public-transit departures for Nuremberg per stop (VGN/VAG, key-less, Tier A)
Returns the real-time departure board of a VGN stop from the open, key-less VAG Puls API (start.vag.de): per departure the line, direction, scheduled offset in minutes, delay in seconds and product. City fixed to nuernberg (VGN area). The stop_id query parameter is the numeric VGN stop id (VGNKennung, default 510 = Nuremberg Hbf). The meta block additionally carries as_of and refresh_seconds (60). Tier A: open licence Creative Commons Attribution 4.0 (opendata.vag.de), freely reusable. Live data only, kept only briefly in the Redis cache. Disabled -> 200 source_status="disabled"; invalid stop_id -> 400; no departures -> 200 source_status="no_data"; dead upstream with no cache -> 503 with a hint.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
stop_id | query | no | string | Numerische VGN-Halt-ID (VGNKennung), Default "510" (Nürnberg Hbf). |
Code samples
curl "https://infranode.dev/api/v1/live/nuernberg/departures"const res = await fetch("https://infranode.dev/api/v1/live/nuernberg/departures");
const data = await res.json();
console.log(data);import httpx
res = httpx.get("https://infranode.dev/api/v1/live/nuernberg/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.