Explorer
Points are stations, stops, and docks; lines are the routes that serve them.
Station hub
ID
940GZZLUWJN
Name
Willesden Junction
Hub
HUBWIJ
Modes
overground, tube
Coordinates
51.53256, -0.24301
StopPoints in this hub. Poll each id that carries the line you want.
Willesden Junction
910GWLSDJHL
Willesden Junction
940GZZLUWJN
Checking for a TfL API key…
{
"id": "940GZZLUWJN",
"name": "Willesden Junction",
"kind": "stopPoint",
"modes": [
"overground",
"tube"
],
"lineIds": [
"bakerloo",
"lioness",
"mildmay"
],
"hubId": "HUBWIJ",
"hubMembers": [
{
"id": "910GWLSDJHL",
"name": "Willesden Junction",
"lineIds": [
"lioness",
"mildmay"
]
},
{
"id": "940GZZLUWJN",
"name": "Willesden Junction",
"lineIds": [
"bakerloo"
]
}
],
"arrivalsStopIds": [
"940GZZLUWJN",
"910GWLSDJHL"
],
"aliasIds": [
"910GWLSDJHL",
"HUBWIJ"
],
"lat": 51.532556,
"lon": -0.243006
}stopPoint.get / bikePoint.getById
await client.stopPoint.get("940GZZLUWJN")stopPoint.getArrivals
await client.stopPoint.getArrivals({
stopPointIds: ["940GZZLUWJN","910GWLSDJHL"],
sortBy: "timeToStation",
})stopPoint.getRoute
await client.stopPoint.getRoute("940GZZLUWJN")