---
title: "Gets all valid routes for given line id, including the sequence of stops on each route."
method: GET
path: "/Line/{id}/Route/Sequence/{direction}"
tags: ["Line"]
---

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

`GET /Line/{id}/Route/Sequence/{direction}`

## Path parameters

- `id` string, required
- `direction` 'inbound' | 'outbound' | 'all', required

## Query parameters

- `serviceTypes` string[]
- `excludeCrowding` boolean

## Response `200`

OK

- TflApiPresentationEntitiesRouteSequence
  - `lineId` string
  - `lineName` string
  - `direction` string
  - `isOutboundOnly` boolean
  - `mode` string
  - `lineStrings` string[]
  - `stations` TflApiPresentationEntitiesMatchedStop[]
    - `routeId` integer
    - `parentId` string
    - `stationId` string
    - `icsId` string
    - `topMostParentId` string
    - `direction` string
    - `towards` string
    - `modes` string[]
    - `stopType` string
    - `stopLetter` string
    - `zone` string
    - `accessibilitySummary` string
    - `hasDisruption` boolean
    - `lines` TflApiPresentationEntitiesIdentifier[]
      - `id` string
      - `name` string
      - `uri` string
      - `fullName` string
      - `type` string
      - `crowding` TflApiPresentationEntitiesCrowding
        - `passengerFlows` TflApiPresentationEntitiesPassengerFlow[] — Busiest times at a station (static information)
          - `timeSlice` string — Time in 24hr format with 15 minute intervals e.g. 0500-0515, 0515-0530 etc.
          - `value` integer — Count of passenger flow towards a platform
        - `trainLoadings` TflApiPresentationEntitiesTrainLoading[] — Train Loading on a scale 1-6, 1 being "Very quiet" and 6 being "Exceptionally busy" (static information)
          - `line` string — The Line Name e.g. "Victoria"
          - `lineDirection` string — Direction of the Line e.g. NB, SB, WB etc.
          - `platformDirection` string — Direction displayed on the platform e.g. NB, SB, WB etc.
          - `direction` string — Direction in regards to Journey Planner i.e. inbound or outbound
          - `naptanTo` string — Naptan of the adjacent station
          - `timeSlice` string — Time in 24hr format with 15 minute intervals e.g. 0500-0515, 0515-0530 etc.
          - `value` integer — Scale between 1-6, 1 = Very quiet, 2 = Quiet, 3 = Fairly busy, 4 = Busy, 5 = Very busy, 6 = Exceptionally busy
      - `routeType` 'Unknown' | 'All' | 'Cycle Superhighways' | 'Quietways' | 'Cycleways' | 'Mini-Hollands' | 'Central London Grid' | 'Streetspace Route'
      - `status` 'Unknown' | 'All' | 'Open' | 'In Progress' | 'Planned' | 'Planned - Subject to feasibility and consultation.' | 'Not Open'
      - `motType` string
      - `network` string
    - `status` boolean
    - `id` string
    - `url` string
    - `name` string
    - `lat` number, double
    - `lon` number, double
  - `stopPointSequences` TflApiPresentationEntitiesStopPointSequence[]
    - `lineId` string
    - `lineName` string
    - `direction` string
    - `branchId` integer — The id of this branch.
    - `nextBranchIds` integer[] — The ids of the next branch(es) in the sequence. Note that the next and previous branch id can be identical in the case of a looped route e.g. the Circle line.
    - `prevBranchIds` integer[] — The ids of the previous branch(es) in the sequence. Note that the next and previous branch id can be identical in the case of a looped route e.g. the Circle line.
    - `stopPoint` TflApiPresentationEntitiesMatchedStop[]
      - `routeId` integer
      - `parentId` string
      - `stationId` string
      - `icsId` string
      - `topMostParentId` string
      - `direction` string
      - `towards` string
      - `modes` string[]
      - `stopType` string
      - `stopLetter` string
      - `zone` string
      - `accessibilitySummary` string
      - `hasDisruption` boolean
      - `lines` TflApiPresentationEntitiesIdentifier[]
        - `id` string
        - `name` string
        - `uri` string
        - `fullName` string
        - `type` string
        - `crowding` TflApiPresentationEntitiesCrowding
          - `passengerFlows` TflApiPresentationEntitiesPassengerFlow[] — Busiest times at a station (static information)
            - `timeSlice` string — Time in 24hr format with 15 minute intervals e.g. 0500-0515, 0515-0530 etc.
            - `value` integer — Count of passenger flow towards a platform
          - `trainLoadings` TflApiPresentationEntitiesTrainLoading[] — Train Loading on a scale 1-6, 1 being "Very quiet" and 6 being "Exceptionally busy" (static information)
            - `line` string — The Line Name e.g. "Victoria"
            - `lineDirection` string — Direction of the Line e.g. NB, SB, WB etc.
            - `platformDirection` string — Direction displayed on the platform e.g. NB, SB, WB etc.
            - `direction` string — Direction in regards to Journey Planner i.e. inbound or outbound
            - `naptanTo` string — Naptan of the adjacent station
            - `timeSlice` string — Time in 24hr format with 15 minute intervals e.g. 0500-0515, 0515-0530 etc.
            - `value` integer — Scale between 1-6, 1 = Very quiet, 2 = Quiet, 3 = Fairly busy, 4 = Busy, 5 = Very busy, 6 = Exceptionally busy
        - `routeType` 'Unknown' | 'All' | 'Cycle Superhighways' | 'Quietways' | 'Cycleways' | 'Mini-Hollands' | 'Central London Grid' | 'Streetspace Route'
        - `status` 'Unknown' | 'All' | 'Open' | 'In Progress' | 'Planned' | 'Planned - Subject to feasibility and consultation.' | 'Not Open'
        - `motType` string
        - `network` string
      - `status` boolean
      - `id` string
      - `url` string
      - `name` string
      - `lat` number, double
      - `lon` number, double
    - `serviceType` 'Regular' | 'Night'
  - `orderedLineRoutes` TflApiPresentationEntitiesOrderedRoute[]
    - `name` string
    - `naptanIds` string[]
    - `serviceType` string

---

[API](https://skmtc.net/tfl/apis/transport-for-london-unified-api.md) · [All operations](https://skmtc.net/tfl/apis/transport-for-london-unified-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tfl/transport-for-london-unified-api/versions/266abe0486b0/schema)
