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