GET /api/v1/cities/{slug}/station-arrivals
Live-Ankunftstafel Haupt-Bahnhof der Stadt, alle Gattungen (DB Timetables, Tier A)
Spiegelbild zu station-departures: ankommende Züge am Haupt-Bahnhof der Stadt mit Echtzeit-Verspätung (Soll /plan + Änderungen /fchg gemerged), je Eintrag mit origin (Startbahnhof), line, category, planned_time, platform, delay_minutes, cancelled, long_distance. Volle Abdeckung über alle 84 Städte: der Haupt-Bahnhof wird automatisch aus dem amtlichen StaDa-Katalog abgeleitet. Quelle: Deutsche Bahn AG (CC BY 4.0). Ohne Zugangsdaten ODER Toggle aus -> 200 source_status="disabled"; keine Ankunft im Zeitfenster -> 200 source_status="no_data". Für einen bestimmten Bahnhof statt der Stadt-Auswahl dient /api/v1/stations/{eva}/arrivals.
Parameter
| Name | In | Pflicht | Typ | Beschreibung |
|---|---|---|---|---|
slug | path | ja | string |
Code-Beispiele
curl "https://infranode.dev/api/v1/cities/hamburg/station-arrivals"const res = await fetch("https://infranode.dev/api/v1/cities/hamburg/station-arrivals");
const data = await res.json();
console.log(data);import httpx
res = httpx.get("https://infranode.dev/api/v1/cities/hamburg/station-arrivals")
res.raise_for_status()
print(res.json())