Explorer
Points are stations, stops, and docks; lines are the routes that serve them.
Station hub
ID
940GZZLUGBY
Name
Gunnersbury
Hub
HUBGUN
Modes
overground, tube
Coordinates
51.49175, -0.27528
StopPoints in this hub. Poll each id that carries the line you want.
Gunnersbury
910GGNRSBRY
Gunnersbury
940GZZLUGBY
Checking for a TfL API key…
{
"id": "940GZZLUGBY",
"name": "Gunnersbury",
"kind": "stopPoint",
"modes": [
"overground",
"tube"
],
"lineIds": [
"district",
"mildmay"
],
"hubId": "HUBGUN",
"hubMembers": [
{
"id": "910GGNRSBRY",
"name": "Gunnersbury",
"lineIds": [
"mildmay"
]
},
{
"id": "940GZZLUGBY",
"name": "Gunnersbury",
"lineIds": [
"district"
]
}
],
"arrivalsStopIds": [
"940GZZLUGBY",
"910GGNRSBRY"
],
"aliasIds": [
"910GGNRSBRY",
"HUBGUN"
],
"lat": 51.491745,
"lon": -0.275276
}stopPoint.get / bikePoint.getById
await client.stopPoint.get("940GZZLUGBY")stopPoint.getArrivals
await client.stopPoint.getArrivals({
stopPointIds: ["940GZZLUGBY","910GGNRSBRY"],
sortBy: "timeToStation",
})stopPoint.getRoute
await client.stopPoint.getRoute("940GZZLUGBY")