Explorer
Points are stations, stops, and docks; lines are the routes that serve them.
StopPoint
ID
940GZZLUSJP
Name
St. James's Park
Modes
tube
Coordinates
51.49928, -0.13459
Checking for a TfL API key…
{
"id": "940GZZLUSJP",
"name": "St. James's Park",
"kind": "stopPoint",
"modes": [
"tube"
],
"lineIds": [
"circle",
"district"
],
"arrivalsStopIds": [
"940GZZLUSJP"
],
"aliasIds": [],
"lat": 51.4992816,
"lon": -0.1345942
}stopPoint.get / bikePoint.getById
await client.stopPoint.get("940GZZLUSJP")stopPoint.getArrivals
await client.stopPoint.getArrivals({
stopPointIds: ["940GZZLUSJP"],
sortBy: "timeToStation",
})stopPoint.getRoute
await client.stopPoint.getRoute("940GZZLUSJP")