StopPoint

Returns the canonical direction, "inbound" or "outbound", for a given pair of stop point Ids in the direction from -> to.

get/StopPoint/{id}/DirectionTo/{toStopPointId}

Request

  • Base URL
    https://api.tfl.gov.uk
  • Auth
    none declared

Path parameters

idstring required

Originating stop id (station naptan code e.g. 940GZZLUASL, you can use /StopPoint/Search/{query} endpoint to find a stop point id from a station name)

toStopPointIdstring required

Destination stop id (station naptan code e.g. 940GZZLUASL, you can use /StopPoint/Search/{query} endpoint to find a stop point id from a station name)

Query parameters

lineIdstring

Optional line id filter e.g. victoria

Response

OK

string required

Changes

No recorded changes to this operation across all 15 revisions of this API.