Explorer
Points are stations, stops, and docks; lines are the routes that serve them.
Station hub
ID
910GHTRWTM4
Name
Heathrow Terminal 4
Hub
HUBHX4
Modes
elizabeth-line, tube
Coordinates
51.45884, -0.44642
StopPoints in this hub. Poll each id that carries the line you want.
Heathrow Terminal 4
910GHTRWTM4
Heathrow Terminal 4
940GZZLUHR4
Checking for a TfL API key…
940GZZLUHR4910GHTRWTM4{
"id": "910GHTRWTM4",
"name": "Heathrow Terminal 4",
"kind": "stopPoint",
"modes": [
"elizabeth-line",
"tube"
],
"lineIds": [
"elizabeth",
"piccadilly"
],
"hubId": "HUBHX4",
"hubMembers": [
{
"id": "910GHTRWTM4",
"name": "Heathrow Terminal 4",
"lineIds": [
"elizabeth"
]
},
{
"id": "940GZZLUHR4",
"name": "Heathrow Terminal 4",
"lineIds": [
"piccadilly"
]
}
],
"arrivalsStopIds": [
"910GHTRWTM4",
"940GZZLUHR4"
],
"aliasIds": [
"940GZZLUHR4",
"HUBHX4"
],
"lat": 51.458837,
"lon": -0.446419
}stopPoint.get / bikePoint.getById
await client.stopPoint.get("910GHTRWTM4")stopPoint.getArrivals
await client.stopPoint.getArrivals({
stopPointIds: ["910GHTRWTM4","940GZZLUHR4"],
sortBy: "timeToStation",
})stopPoint.getRoute
await client.stopPoint.getRoute("910GHTRWTM4")