Explorer
Points are stations, stops, and docks; lines are the routes that serve them.
Station hub
ID
940GZZLUHAW
Name
Harrow & Wealdstone
Hub
HUBHRW
Modes
overground, tube
Coordinates
51.59222, -0.33490
StopPoints in this hub. Poll each id that carries the line you want.
Harrow & Wealdstone
910GHROW
Harrow & Wealdstone
940GZZLUHAW
Checking for a TfL API key…
{
"id": "940GZZLUHAW",
"name": "Harrow & Wealdstone",
"kind": "stopPoint",
"modes": [
"overground",
"tube"
],
"lineIds": [
"bakerloo",
"lioness"
],
"hubId": "HUBHRW",
"hubMembers": [
{
"id": "910GHROW",
"name": "Harrow & Wealdstone",
"lineIds": [
"lioness"
]
},
{
"id": "940GZZLUHAW",
"name": "Harrow & Wealdstone",
"lineIds": [
"bakerloo"
]
}
],
"arrivalsStopIds": [
"940GZZLUHAW",
"910GHROW"
],
"aliasIds": [
"910GHROW",
"HUBHRW"
],
"lat": 51.592216,
"lon": -0.334896
}stopPoint.get / bikePoint.getById
await client.stopPoint.get("940GZZLUHAW")stopPoint.getArrivals
await client.stopPoint.getArrivals({
stopPointIds: ["940GZZLUHAW","910GHROW"],
sortBy: "timeToStation",
})stopPoint.getRoute
await client.stopPoint.getRoute("940GZZLUHAW")