Coverage
Journeys, stops, trips, radar
Austrian public transport REST API
oebb.transport.rest exposes HAFAS capabilities in a stable HTTP interface, so you can power journey planners, departure boards, and station intelligence with real-time transport data.
Coverage
Journeys, stops, trips, radar
Base path
/api
Format
JSON over HTTP
Show station boards with delays, directions, and platform context.
Plan and refresh connections between stations and cities.
Build map experiences with live vehicle positions and nearby stop search.
Use these routes as building blocks for station finders, departure boards, journey planning, and map views.
Find stops, addresses, and points of interest near a coordinate.
/locations/nearbySearch stops and places by text input such as city or station name.
/locationsLoad details about a station or stop with identifier-based lookup.
/stops/:idRead upcoming departures and arrivals, including delay and direction.
/stops/:id/departuresPlan routes between two places with transfer and timing details.
/journeysFind stops reachable from one origin under time and transfer limits.
/stops/reachable-fromFetch trip stopovers and route shape for a specific service.
/trips/:idTrack moving vehicles in a bounding box area.
/radarRefresh a stored journey reference and get current status updates.
/journeys/:refTry these endpoints locally on port 3000.
curl "http://localhost:3000/api/journeys?from=Wien%20Hbf&to=Salzburg%20Hbf&results=3" curl "http://localhost:3000/api/stops/8103000/departures?duration=120" curl "http://localhost:3000/api/locations?query=Graz"
curl "http://localhost:3000/api/stops/8103000/departures?results=2"
{
"departures": [
{
"when": "2026-05-11T09:42:00+02:00",
"delay": 120,
"platform": "7",
"direction": "Salzburg Hbf",
"line": { "name": "RJX 168" }
}
]
}
curl "http://localhost:3000/api/journeys?from=Wien%20Hbf&to=Graz%20Hbf&results=1"
{
"journeys": [
{
"type": "journey",
"legs": [{ "origin": { "name": "Wien Hbf" }, "destination": { "name": "Graz Hbf" } }],
"price": null
}
]
}