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