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