Explorer
Points are stations, stops, and docks; lines are the routes that serve them.
Station hub
ID
940GZZLUSTD
Name
Stratford
Hub
HUBSRA
Modes
dlr, elizabeth-line, overground, tube
Coordinates
51.54151, -0.00241
StopPoints in this hub. Poll each id that carries the line you want.
Stratford
910GSTFD
Stratford
940GZZDLSTD
Stratford
940GZZLUSTD
Checking for a TfL API key…
940GZZLUSTD940GZZLUSTD940GZZDLSTD910GSTFD910GSTFD{
"id": "940GZZLUSTD",
"name": "Stratford",
"kind": "stopPoint",
"modes": [
"dlr",
"elizabeth-line",
"overground",
"tube"
],
"lineIds": [
"central",
"dlr",
"elizabeth",
"jubilee",
"mildmay"
],
"hubId": "HUBSRA",
"hubMembers": [
{
"id": "910GSTFD",
"name": "Stratford",
"lineIds": [
"elizabeth",
"mildmay"
]
},
{
"id": "940GZZDLSTD",
"name": "Stratford",
"lineIds": [
"dlr"
]
},
{
"id": "940GZZLUSTD",
"name": "Stratford",
"lineIds": [
"central",
"jubilee"
]
}
],
"arrivalsStopIds": [
"940GZZLUSTD",
"940GZZDLSTD",
"910GSTFD"
],
"aliasIds": [
"910GSTFD",
"940GZZDLSTD",
"HUBSRA"
],
"lat": 51.541508,
"lon": -0.00241
}stopPoint.get / bikePoint.getById
await client.stopPoint.get("940GZZLUSTD")stopPoint.getArrivals
await client.stopPoint.getArrivals({
stopPointIds: ["940GZZLUSTD","940GZZDLSTD","910GSTFD"],
sortBy: "timeToStation",
})stopPoint.getRoute
await client.stopPoint.getRoute("940GZZLUSTD")