Explorer
Points are stations, stops, and docks; lines are the routes that serve them.
Station hub
ID
940GZZLUUPM
Name
Upminster
Hub
HUBUPM
Modes
overground, tube
Coordinates
51.55866, 0.25085
StopPoints in this hub. Poll each id that carries the line you want.
Upminster
910GUPMNSTR
Upminster
940GZZLUUPM
Checking for a TfL API key…
{
"id": "940GZZLUUPM",
"name": "Upminster",
"kind": "stopPoint",
"modes": [
"overground",
"tube"
],
"lineIds": [
"district",
"liberty"
],
"hubId": "HUBUPM",
"hubMembers": [
{
"id": "910GUPMNSTR",
"name": "Upminster",
"lineIds": [
"liberty"
]
},
{
"id": "940GZZLUUPM",
"name": "Upminster",
"lineIds": [
"district"
]
}
],
"arrivalsStopIds": [
"940GZZLUUPM",
"910GUPMNSTR"
],
"aliasIds": [
"910GUPMNSTR",
"HUBUPM"
],
"lat": 51.558659,
"lon": 0.250855
}stopPoint.get / bikePoint.getById
await client.stopPoint.get("940GZZLUUPM")stopPoint.getArrivals
await client.stopPoint.getArrivals({
stopPointIds: ["940GZZLUUPM","910GUPMNSTR"],
sortBy: "timeToStation",
})stopPoint.getRoute
await client.stopPoint.getRoute("940GZZLUUPM")