Explorer
Points are stations, stops, and docks; lines are the routes that serve them.
StopPoint
ID
940GZZLUHBN
Name
Holborn
Modes
tube
Coordinates
51.51711, -0.12007
Checking for a TfL API key…
{
"id": "940GZZLUHBN",
"name": "Holborn",
"kind": "stopPoint",
"modes": [
"tube"
],
"lineIds": [
"central",
"piccadilly"
],
"arrivalsStopIds": [
"940GZZLUHBN"
],
"aliasIds": [],
"lat": 51.5171149,
"lon": -0.1200657
}stopPoint.get / bikePoint.getById
await client.stopPoint.get("940GZZLUHBN")stopPoint.getArrivals
await client.stopPoint.getArrivals({
stopPointIds: ["940GZZLUHBN"],
sortBy: "timeToStation",
})stopPoint.getRoute
await client.stopPoint.getRoute("940GZZLUHBN")