Explorer
Points are stations, stops, and docks; lines are the routes that serve them.
Station hub
ID
940GZZLUFCN
Name
Farringdon
Hub
HUBZFD
Modes
elizabeth-line, tube
Coordinates
51.52021, -0.10505
StopPoints in this hub. Poll each id that carries the line you want.
Farringdon
910GFRNDXR
Farringdon
940GZZLUFCN
Checking for a TfL API key…
940GZZLUFCN940GZZLUFCN940GZZLUFCN910GFRNDXR{
"id": "940GZZLUFCN",
"name": "Farringdon",
"kind": "stopPoint",
"modes": [
"elizabeth-line",
"tube"
],
"lineIds": [
"circle",
"elizabeth",
"hammersmith-city",
"metropolitan"
],
"hubId": "HUBZFD",
"hubMembers": [
{
"id": "910GFRNDXR",
"name": "Farringdon",
"lineIds": [
"elizabeth"
]
},
{
"id": "940GZZLUFCN",
"name": "Farringdon",
"lineIds": [
"circle",
"hammersmith-city",
"metropolitan"
]
}
],
"arrivalsStopIds": [
"940GZZLUFCN",
"910GFRNDXR"
],
"aliasIds": [
"910GFRNDXR",
"HUBZFD"
],
"lat": 51.520214,
"lon": -0.105054
}stopPoint.get / bikePoint.getById
await client.stopPoint.get("940GZZLUFCN")stopPoint.getArrivals
await client.stopPoint.getArrivals({
stopPointIds: ["940GZZLUFCN","910GFRNDXR"],
sortBy: "timeToStation",
})stopPoint.getRoute
await client.stopPoint.getRoute("940GZZLUFCN")