Explorer
Points are stations, stops, and docks; lines are the routes that serve them.
Station hub
ID
940GZZLULVT
Name
Liverpool Street
Hub
HUBLST
Modes
elizabeth-line, overground, tube
Coordinates
51.51768, -0.08252
StopPoints in this hub. Poll each id that carries the line you want.
London Liverpool Street
910GLIVST
Liverpool Street
940GZZLULVT
Checking for a TfL API key…
940GZZLULVT940GZZLULVT940GZZLULVT940GZZLULVT910GLIVST910GLIVST{
"id": "940GZZLULVT",
"name": "Liverpool Street",
"kind": "stopPoint",
"modes": [
"elizabeth-line",
"overground",
"tube"
],
"lineIds": [
"central",
"circle",
"elizabeth",
"hammersmith-city",
"metropolitan",
"weaver"
],
"hubId": "HUBLST",
"hubMembers": [
{
"id": "910GLIVST",
"name": "London Liverpool Street",
"lineIds": [
"elizabeth",
"weaver"
]
},
{
"id": "940GZZLULVT",
"name": "Liverpool Street",
"lineIds": [
"central",
"circle",
"hammersmith-city",
"metropolitan"
]
}
],
"arrivalsStopIds": [
"940GZZLULVT",
"910GLIVST"
],
"aliasIds": [
"910GLIVST",
"910GLIVSTLL",
"HUBLST"
],
"lat": 51.5176777,
"lon": -0.0825205
}stopPoint.get / bikePoint.getById
await client.stopPoint.get("940GZZLULVT")stopPoint.getArrivals
await client.stopPoint.getArrivals({
stopPointIds: ["940GZZLULVT","910GLIVST"],
sortBy: "timeToStation",
})stopPoint.getRoute
await client.stopPoint.getRoute("940GZZLULVT")