Explorer
Points are stations, stops, and docks; lines are the routes that serve them.
Station hub
ID
940GZZLUTCR
Name
Tottenham Court Road
Hub
HUBTCR
Modes
elizabeth-line, tube
Coordinates
51.51597, -0.13051
StopPoints in this hub. Poll each id that carries the line you want.
Tottenham Court Road
910GTOTCTRD
Tottenham Court Road
940GZZLUTCR
Checking for a TfL API key…
940GZZLUTCR940GZZLUTCR910GTOTCTRD{
"id": "940GZZLUTCR",
"name": "Tottenham Court Road",
"kind": "stopPoint",
"modes": [
"elizabeth-line",
"tube"
],
"lineIds": [
"central",
"elizabeth",
"northern"
],
"hubId": "HUBTCR",
"hubMembers": [
{
"id": "910GTOTCTRD",
"name": "Tottenham Court Road",
"lineIds": [
"elizabeth"
]
},
{
"id": "940GZZLUTCR",
"name": "Tottenham Court Road",
"lineIds": [
"central",
"northern"
]
}
],
"arrivalsStopIds": [
"940GZZLUTCR",
"910GTOTCTRD"
],
"aliasIds": [
"910GTOTCTRD",
"HUBTCR"
],
"lat": 51.5159715,
"lon": -0.1305125
}stopPoint.get / bikePoint.getById
await client.stopPoint.get("940GZZLUTCR")stopPoint.getArrivals
await client.stopPoint.getArrivals({
stopPointIds: ["940GZZLUTCR","910GTOTCTRD"],
sortBy: "timeToStation",
})stopPoint.getRoute
await client.stopPoint.getRoute("940GZZLUTCR")