Explorer
Points are stations, stops, and docks; lines are the routes that serve them.
Station hub
ID
910GEUSTON
Name
London Euston
Hub
HUBEUS
Modes
overground, tube
Coordinates
51.52829, -0.13387
StopPoints in this hub. Poll each id that carries the line you want.
London Euston
910GEUSTON
Euston
940GZZLUEUS
Checking for a TfL API key…
{
"id": "910GEUSTON",
"name": "London Euston",
"kind": "stopPoint",
"modes": [
"overground",
"tube"
],
"lineIds": [
"lioness",
"northern",
"victoria"
],
"hubId": "HUBEUS",
"hubMembers": [
{
"id": "910GEUSTON",
"name": "London Euston",
"lineIds": [
"lioness"
]
},
{
"id": "940GZZLUEUS",
"name": "Euston",
"lineIds": [
"northern",
"victoria"
]
}
],
"arrivalsStopIds": [
"910GEUSTON",
"940GZZLUEUS"
],
"aliasIds": [
"940GZZLUEUS",
"HUBEUS"
],
"lat": 51.5282865,
"lon": -0.1338745
}stopPoint.get / bikePoint.getById
await client.stopPoint.get("910GEUSTON")stopPoint.getArrivals
await client.stopPoint.getArrivals({
stopPointIds: ["910GEUSTON","940GZZLUEUS"],
sortBy: "timeToStation",
})stopPoint.getRoute
await client.stopPoint.getRoute("910GEUSTON")