Explorer
Points are stations, stops, and docks; lines are the routes that serve them.
StopPoint
ID
490013767A
Name
Trafalgar Sq / Charing Cross Stn
Stop letter
A
Modes
bus
Coordinates
51.50763, -0.12980
Towards
Lambeth Or Vauxhall
Checking for a TfL API key…
{
"id": "490013767A",
"name": "Trafalgar Sq / Charing Cross Stn",
"kind": "stopPoint",
"modes": [
"bus"
],
"lineIds": [
"12",
"159",
"453",
"88",
"N109",
"N118",
"N136",
"N18",
"N3",
"N97"
],
"arrivalsStopIds": [
"490013767A"
],
"lat": 51.50763,
"lon": -0.1298,
"stopLetter": "A",
"towards": "Lambeth Or Vauxhall"
}stopPoint.get / bikePoint.getById
await client.stopPoint.get("490013767A")stopPoint.getArrivals
await client.stopPoint.getArrivals({
stopPointIds: ["490013767A"],
sortBy: "timeToStation",
})stopPoint.getRoute
await client.stopPoint.getRoute("490013767A")