Explorer
Points are stations, stops, and docks; lines are the routes that serve them.
StopPoint
ID
940GZZLUEHM
Name
East Ham
Modes
tube
Coordinates
51.53940, 0.05260
Checking for a TfL API key…
{
"id": "940GZZLUEHM",
"name": "East Ham",
"kind": "stopPoint",
"modes": [
"tube"
],
"lineIds": [
"district",
"hammersmith-city"
],
"arrivalsStopIds": [
"940GZZLUEHM"
],
"aliasIds": [],
"lat": 51.5394005,
"lon": 0.0526042
}stopPoint.get / bikePoint.getById
await client.stopPoint.get("940GZZLUEHM")stopPoint.getArrivals
await client.stopPoint.getArrivals({
stopPointIds: ["940GZZLUEHM"],
sortBy: "timeToStation",
})stopPoint.getRoute
await client.stopPoint.getRoute("940GZZLUEHM")