Explorer
Points are stations, stops, and docks; lines are the routes that serve them.
Station hub
ID
940GZZLUHSC
Name
Hammersmith
Hub
HUBHMS
Modes
tube
Coordinates
51.49230, -0.22362
StopPoints in this hub. Poll each id that carries the line you want.
Hammersmith
940GZZLUHSC
Hammersmith
940GZZLUHSD
Checking for a TfL API key…
940GZZLUHSD940GZZLUHSD940GZZLUHSC940GZZLUHSC{
"id": "940GZZLUHSC",
"name": "Hammersmith",
"kind": "stopPoint",
"modes": [
"tube"
],
"lineIds": [
"circle",
"district",
"hammersmith-city",
"piccadilly"
],
"hubId": "HUBHMS",
"hubMembers": [
{
"id": "940GZZLUHSC",
"name": "Hammersmith",
"lineIds": [
"circle",
"hammersmith-city"
]
},
{
"id": "940GZZLUHSD",
"name": "Hammersmith",
"lineIds": [
"district",
"piccadilly"
]
}
],
"arrivalsStopIds": [
"940GZZLUHSC",
"940GZZLUHSD"
],
"aliasIds": [
"940GZZLUHSD",
"HUBHMS"
],
"lat": 51.492304,
"lon": -0.223619
}stopPoint.get / bikePoint.getById
await client.stopPoint.get("940GZZLUHSC")stopPoint.getArrivals
await client.stopPoint.getArrivals({
stopPointIds: ["940GZZLUHSC","940GZZLUHSD"],
sortBy: "timeToStation",
})stopPoint.getRoute
await client.stopPoint.getRoute("940GZZLUHSC")