Explorer
Points are stations, stops, and docks; lines are the routes that serve them.
StopPoint
ID
490013767D
Name
Trafalgar Square / Charing Cross Stn
Stop letter
D
Modes
bus
Coordinates
51.50819, -0.12706
Towards
Westminster
Checking for a TfL API key…
{
"id": "490013767D",
"name": "Trafalgar Square / Charing Cross Stn",
"kind": "stopPoint",
"modes": [
"bus"
],
"lineIds": [
"24",
"29",
"N20",
"N279",
"N29",
"N41",
"N5"
],
"arrivalsStopIds": [
"490013767D"
],
"lat": 51.50819,
"lon": -0.12706,
"stopLetter": "D",
"towards": "Westminster"
}stopPoint.get / bikePoint.getById
await client.stopPoint.get("490013767D")stopPoint.getArrivals
await client.stopPoint.getArrivals({
stopPointIds: ["490013767D"],
sortBy: "timeToStation",
})stopPoint.getRoute
await client.stopPoint.getRoute("490013767D")