Skip to content

Transport for London API

13 endpointsTravel, Maps & WeatherGBsocial:read11 real examples

Returns London line status, routes, stops, stations and line and stop searches from TfL.

View as Markdown
GET/tfl/lineStatusThe current service status of every line of one transport mode, such as the tube.
GET/tfl/lineRouteThe route of one line: its stations in order and the route variants (each as its stop ids).
GET/tfl/lineStopsEvery stop point a line serves, with its modes, zone and position.
GET/tfl/lineSearchLines whose name matches the text, such as the lines a place name is served by.
GET/tfl/stopsStops and stations whose name matches the text, with their modes, zone and position.
GET/tfl/stopOne stop point by id: its name, modes, zone, address, position and the lines that call there.
GET/tfl/arrivalsThe live predictions of the next vehicles to arrive at a stop, soonest first.
GET/tfl/disruptionsThe current disruptions of one transport mode, such as planned works and line information.
GET/tfl/journeyJourney planner: the suggested journeys between two places, each with its legs.
GET/tfl/bikePointsSantander Cycles docking stations whose name matches the text, with their id and position.
GET/tfl/bikePointThe live status of one docking station: bikes and empty docks now, and whether it is installed and locked.
GET/tfl/stopsNearBus, tram, tube, rail and ferry stops within a radius of a position, nearest first, with their distance in metres.
GET/tfl/roadStatusThe current traffic status of the TfL road corridors, such as the A2: all of them, or the one named by road.

lineStatus

GET/v1/tfl/lineStatus

The current service status of every line of one transport mode, such as the tube.

scope social:read1 unitcached 2 minpaginated

Parameters

mode
string
Transport mode: tube, dlr, overground, elizabeth-line, tram, river-bus or cable-car.
tubedlrovergroundelizabeth-linetramriver-buscable-car
default tubee.g. tube
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

5 fields
idstring
modestring
namestring
reasonstring
statusstring
curl "https://api.hoshime.com/v1/tfl/lineStatus?mode=tube" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "id": "bakerloo",
      "mode": "tube",
      "name": "Bakerloo",
      "reason": "Bakerloo Line: No service between Queen's Park and Harrow & Wealdstone due to infrastructure damage at Harlesden. Tickets will be accepted o…",
      "status": "Minor Delays"
    },
    {
      "id": "central",
      "mode": "tube",
      "name": "Central",
      "reason": "Central Line: Minor delays between White City and Ealing Broadway/West Ruislip and between Leytonstone and Epping/Hainault via Newbury Park …",
      "status": "Minor Delays"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "lineStatus",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "tfl",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

lineRoute

GET/v1/tfl/lineRoute

The route of one line: its stations in order and the route variants (each as its stop ids).

scope social:read1 unitcached 24 h

Parameters

id
string
required
Line id, such as victoria or elizabeth.
e.g. victoria
direction
string
inbound, outbound or all.
inboundoutboundall
default all
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

16 fields
directionstring
idstring
modestring
namestring
routesRouteVariant[]
namestring
serviceTypestring
stopIdsstring[]
stopsStop[]
idstring
latitudenumber (double)
longitudenumber (double)
modesModeName[]
namestring
namestring
zonestring
curl "https://api.hoshime.com/v1/tfl/lineRoute?id=victoria" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "direction": "all",
    "id": "victoria",
    "mode": "tube",
    "name": "Victoria",
    "routes": [
      {
        "name": "Brixton ↔ Walthamstow Central",
        "serviceType": "Regular",
        "stopIds": [
          "940GZZLUBXN",
          "940GZZLUSKW"
        ]
      },
      {
        "name": "Walthamstow Central ↔ Brixton",
        "serviceType": "Regular",
        "stopIds": [
          "940GZZLUWWL",
          "940GZZLUBLR"
        ]
      }
    ],
    "stops": [
      {
        "id": "940GZZLUGPK",
        "latitude": 51.506947,
        "longitude": -0.142787,
        "modes": [
          {
            "name": "tube"
          }
        ],
        "name": "Green Park Underground Station",
        "zone": "1"
      },
      {
        "id": "940GZZLUOXC",
        "latitude": 51.515224,
        "longitude": -0.141903,
        "modes": [
          {
            "name": "tube"
          }
        ],
        "name": "Oxford Circus Underground Station",
        "zone": "1"
      }
    ]
  },
  "meta": {
    "cached": false,
    "endpoint": "lineRoute",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "tfl",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

lineStops

GET/v1/tfl/lineStops

Every stop point a line serves, with its modes, zone and position.

scope social:read1 unitcached 24 hpaginated

Parameters

id
string
required
Line id, such as victoria.
e.g. victoria
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

7 fields
idstring
latitudenumber (double)
longitudenumber (double)
modesModeName[]
namestring
namestring
zonestring
curl "https://api.hoshime.com/v1/tfl/lineStops?id=victoria" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "id": "940GZZLUBLR",
      "latitude": 51.586919,
      "longitude": -0.04115,
      "modes": [
        {
          "name": "tube"
        }
      ],
      "name": "Blackhorse Road Underground Station",
      "zone": "3"
    },
    {
      "id": "940GZZLUBXN",
      "latitude": 51.462618,
      "longitude": -0.114888,
      "modes": [
        {
          "name": "tube"
        }
      ],
      "name": "Brixton Underground Station",
      "zone": "2"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "lineStops",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "tfl",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

lineSearch

GET/v1/tfl/lineSearch

Lines whose name matches the text, such as the lines a place name is served by.

scope social:read1 unitcached 24 hpaginated

Parameters

query
string
required
Text in the line name, such as victoria.
e.g. victoria
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

3 fields
idstring
modestring
namestring
curl "https://api.hoshime.com/v1/tfl/lineSearch?query=victoria" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "id": "victoria",
      "mode": "tube",
      "name": "Victoria"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "lineSearch",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "tfl",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

stops

GET/v1/tfl/stops

Stops and stations whose name matches the text, with their modes, zone and position.

scope social:read1 unitcached 24 hpaginated

Parameters

query
string
required
Text in the stop name, such as victoria.
e.g. victoria
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

7 fields
idstring
latitudenumber (double)
longitudenumber (double)
modesModeName[]
namestring
namestring
zonestring
curl "https://api.hoshime.com/v1/tfl/stops?query=victoria" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "id": "HUBVIC",
      "latitude": 51.495812,
      "longitude": -0.143826,
      "modes": [
        {
          "name": "bus"
        },
        {
          "name": "tube"
        }
      ],
      "name": "Victoria",
      "zone": "1"
    },
    {
      "id": "HUBRVC",
      "latitude": 51.50934,
      "longitude": 0.018505,
      "modes": [
        {
          "name": "cable-car"
        },
        {
          "name": "bus"
        }
      ],
      "name": "Royal Victoria",
      "zone": "3"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "stops",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "tfl",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

stop

GET/v1/tfl/stop

One stop point by id: its name, modes, zone, address, position and the lines that call there.

scope social:read1 unitcached 24 h

Parameters

id
string
required
Stop id (NaPTAN code), such as 940GZZLUVIC.
e.g. 940GZZLUVIC
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

12 fields
addressstring
idstring
latitudenumber (double)
linesLineRef[]
idstring
namestring
longitudenumber (double)
modesModeName[]
namestring
namestring
stopTypestring
zonestring
curl "https://api.hoshime.com/v1/tfl/stop?id=940GZZLUVIC" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "address": "Victoria Underground Station,London Underground Ltd.,Victoria St,London,SW1E 5ND",
    "id": "HUBVIC",
    "latitude": 51.495812,
    "lines": [
      {
        "id": "3",
        "name": "3"
      },
      {
        "id": "38",
        "name": "38"
      }
    ],
    "longitude": -0.143826,
    "modes": [
      {
        "name": "bus"
      },
      {
        "name": "national-rail"
      }
    ],
    "name": "Victoria",
    "stopType": "TransportInterchange",
    "zone": "1"
  },
  "meta": {
    "cached": false,
    "endpoint": "stop",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "tfl",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

arrivals

GET/v1/tfl/arrivals

The live predictions of the next vehicles to arrive at a stop, soonest first.

scope social:read1 unitpaginated

Parameters

id
string
required
Stop id (NaPTAN code), such as 940GZZLUVIC.
e.g. 940GZZLUVIC
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

10 fields
destinationstring
expectedAtstring
idstring
lineIdstring
lineNamestring
modestring
platformstring
timeToStationinteger (int64)
towardsstring
vehiclestring
curl "https://api.hoshime.com/v1/tfl/arrivals?id=940GZZLUVIC" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "destination": "Walthamstow Central Underground Station",
      "expectedAt": "2026-11-06T18:01:31Z",
      "id": "-2021654746",
      "lineId": "victoria",
      "lineName": "Victoria",
      "mode": "tube",
      "platform": "Northbound - Platform 3",
      "timeToStation": 9,
      "towards": "Walthamstow Central",
      "vehicle": "210"
    },
    {
      "destination": "Brixton Underground Station",
      "expectedAt": "2026-11-06T18:01:31Z",
      "id": "-1223640380",
      "lineId": "victoria",
      "lineName": "Victoria",
      "mode": "tube",
      "platform": "Southbound - Platform 4",
      "timeToStation": 9,
      "towards": "Brixton",
      "vehicle": "236"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "arrivals",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "tfl",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

disruptions

GET/v1/tfl/disruptions

The current disruptions of one transport mode, such as planned works and line information.

scope social:read1 unitcached 5 minpaginated

Parameters

mode
string
Transport mode: tube, dlr, overground, elizabeth-line, tram, river-bus or cable-car.
tubedlrovergroundelizabeth-linetramriver-buscable-car
default tubee.g. tube
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

3 fields
categorystring
descriptionstring
typestring
curl "https://api.hoshime.com/v1/tfl/disruptions?mode=tube" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "category": "RealTime",
      "description": "Central Line: Minor delays between White City and Ealing Broadway/West Ruislip and between Leytonstone and Epping/Hainault via Newbury Park …",
      "type": "routeInfo"
    },
    {
      "category": "RealTime",
      "description": "Central Line: Minor delays between White City and Ealing Broadway/West Ruislip and between Leytonstone and Epping/Hainault via Newbury Park …",
      "type": "routeInfo"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "disruptions",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "tfl",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

journey

GET/v1/tfl/journey

Journey planner: the suggested journeys between two places, each with its legs.

scope social:read1 unitcached 5 minpaginated

Parameters

from
string
required
Stop id, such as 940GZZLUVIC, or a position as lat,lon.
e.g. 940GZZLUVIC
to
string
required
Stop id, such as 940GZZLUOXC, or a position as lat,lon.
e.g. 940GZZLUOXC
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

11 fields
arrivalAtstring
departureAtstring
durationMinutesinteger (int64)
legsLeg[]
arrivalAtstring
departureAtstring
durationMinutesinteger (int64)
fromstring
instructionstring
modestring
tostring
curl "https://api.hoshime.com/v1/tfl/journey?from=940GZZLUVIC&to=940GZZLUOXC" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "arrivalAt": "2026-11-06T18:05:00Z",
      "departureAt": "2026-11-06T18:01:00Z",
      "durationMinutes": 4,
      "legs": [
        {
          "arrivalAt": "2026-11-06T18:05:00Z",
          "departureAt": "2026-11-06T18:01:00Z",
          "durationMinutes": 4,
          "from": "Victoria Underground Station",
          "instruction": "Victoria line to Oxford Circus",
          "mode": "tube",
          "to": "Oxford Circus Underground Station"
        }
      ]
    },
    {
      "arrivalAt": "2026-11-06T18:06:00Z",
      "departureAt": "2026-11-06T18:02:00Z",
      "durationMinutes": 4,
      "legs": [
        {
          "arrivalAt": "2026-11-06T18:06:00Z",
          "departureAt": "2026-11-06T18:02:00Z",
          "durationMinutes": 4,
          "from": "Victoria Underground Station",
          "instruction": "Victoria line to Oxford Circus",
          "mode": "tube",
          "to": "Oxford Circus Underground Station"
        }
      ]
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "journey",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "tfl",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

bikePoints

GET/v1/tfl/bikePoints

Santander Cycles docking stations whose name matches the text, with their id and position.

scope social:read1 unitcached 24 hpaginated

Parameters

query
string
required
Text in the station name, such as waterloo.
e.g. waterloo
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

4 fields
idstring
latitudenumber (double)
longitudenumber (double)
namestring
curl "https://api.hoshime.com/v1/tfl/bikePoints?query=waterloo" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "id": "BikePoints_154",
      "latitude": 51.503791,
      "longitude": -0.112824,
      "name": "Waterloo Station 3, Waterloo"
    },
    {
      "id": "BikePoints_160",
      "latitude": 51.506633,
      "longitude": -0.131773,
      "name": "Waterloo Place, St. James's"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "bikePoints",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "tfl",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

bikePoint

GET/v1/tfl/bikePoint

The live status of one docking station: bikes and empty docks now, and whether it is installed and locked.

scope social:read1 unitcached 1 min

Parameters

id
string
required
Bike point id, such as BikePoints_154.
e.g. BikePoints_154
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

11 fields
bikesinteger (int64)
docksinteger (int64)
eBikesinteger (int64)
emptyDocksinteger (int64)
idstring
installedboolean
latitudenumber (double)
lockedboolean
longitudenumber (double)
namestring
standardBikesinteger (int64)
curl "https://api.hoshime.com/v1/tfl/bikePoint?id=BikePoints_154" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "bikes": 24,
    "docks": 35,
    "eBikes": 16,
    "emptyDocks": 5,
    "id": "BikePoints_154",
    "installed": true,
    "latitude": 51.503791,
    "locked": false,
    "longitude": -0.112824,
    "name": "Waterloo Station 3, Waterloo",
    "standardBikes": 8
  },
  "meta": {
    "cached": false,
    "endpoint": "bikePoint",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "tfl",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

stopsNear

GET/v1/tfl/stopsNear

Bus, tram, tube, rail and ferry stops within a radius of a position, nearest first, with their distance in metres.

scope social:read1 unitcached 1 hpaginated

Parameters

latitude
string
required
Latitude, from -90 to 90, such as 51.5033.
e.g. 51.5033
longitude
string
required
Longitude, from -180 to 180, such as -0.1276.
e.g. -0.1276
radius
integer
Search radius in metres, from 1 to 1000.
default 500e.g. 500
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

8 fields
distanceMetersnumber (double)
idstring
latitudenumber (double)
longitudenumber (double)
modesModeName[]
namestring
namestring
stopTypestring
curl "https://api.hoshime.com/v1/tfl/stopsNear?latitude=51.5033&longitude=-0.1276&radius=500" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "distanceMeters": 0,
      "id": "abc123",
      "latitude": 0,
      "longitude": 0,
      "modes": [
        {
          "name": null
        }
      ],
      "name": "…",
      "stopType": "…"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "stopsNear",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "tfl",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

roadStatus

GET/v1/tfl/roadStatus

The current traffic status of the TfL road corridors, such as the A2: all of them, or the one named by road.

scope social:read1 unitcached 5 minpaginated

Parameters

road
string
Road corridor, such as a2 or a406. Leave it out for all the corridors.
e.g. a2
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

6 fields
idstring
namestring
severitystring
statusstring
statusFromstring
statusUntilstring
curl "https://api.hoshime.com/v1/tfl/roadStatus?road=a2" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "id": "abc123",
      "name": "…",
      "severity": "…",
      "status": "…",
      "statusFrom": "…",
      "statusUntil": "…"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "roadStatus",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "tfl",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open