Line

Gets all valid routes for given line id, including the sequence of stops on each route.

get/Line/{id}/Route/Sequence/{direction}

Request

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

Path parameters

idstring required

A single line id e.g. victoria

direction'inbound' | 'outbound' | 'all' required

The direction of travel. Can be inbound or outbound.

Query parameters

serviceTypesstring[]

A comma seperated list of service types to filter on. Supported values: Regular, Night. Defaulted to 'Regular' if not specified

excludeCrowdingboolean

That excludes crowding from line disruptions. Can be true or false.

Response

OK

lineIdstring
lineNamestring
directionstring
isOutboundOnlyboolean
modestring
lineStringsstring[]

Changes

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