Explorer
Points are stations, stops, and docks; lines are the routes that serve them.
StopPoint
ID
490013766G
Name
Trafalgar Square / Charing Cross Stn
Stop letter
G
Modes
bus
Coordinates
51.50864, -0.12623
Towards
Aldwych
Checking for a TfL API key…
{
"id": "490013766G",
"name": "Trafalgar Square / Charing Cross Stn",
"kind": "stopPoint",
"modes": [
"bus"
],
"lineIds": [
"139",
"176",
"N199",
"N21",
"N343",
"N89"
],
"arrivalsStopIds": [
"490013766G"
],
"lat": 51.50864,
"lon": -0.12623,
"stopLetter": "G",
"towards": "Aldwych"
}stopPoint.get / bikePoint.getById
await client.stopPoint.get("490013766G")stopPoint.getArrivals
await client.stopPoint.getArrivals({
stopPointIds: ["490013766G"],
sortBy: "timeToStation",
})stopPoint.getRoute
await client.stopPoint.getRoute("490013766G")