GET /api/v1/cities/{slug}/station-departures
Live departure board for a city's main station, all categories (DB Timetables, Tier A)
Upcoming train departures at a city's main station with real-time delays: scheduled timetable (/plan) and current changes (/fchg) of the DB Timetables API, merged per station into a list sorted by departure (line, category, destination, planned_time, platform, delay_minutes, cancelled, long_distance). Full coverage across all 84 cities: the main station is derived automatically from the official StaDa catalog (a verified pick for the major hubs). Source: Deutsche Bahn AG (CC BY 4.0). Without credentials OR toggle off -> 200 source_status="disabled"; no departure in the window -> 200 source_status="no_data". To target a specific station instead of the city's pick, use /api/v1/stations/{eva}/departures.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
slug | path | yes | string |
Code samples
curl "https://infranode.dev/api/v1/cities/hamburg/station-departures"const res = await fetch("https://infranode.dev/api/v1/cities/hamburg/station-departures");
const data = await res.json();
console.log(data);import httpx
res = httpx.get("https://infranode.dev/api/v1/cities/hamburg/station-departures")
res.raise_for_status()
print(res.json())