# Transport for London, England Line API

**Canonical:** https://apis.io/apis/transport-for-london-england/transport-for-london-england-line-api/  
**Provider:** Transport for London, England — https://apis.io/providers/transport-for-london-england/  
**Base URL:** https://api.tfl.gov.uk  
**Documentation:** https://api.tfl.gov.uk

Transport for London, England Line API is one of 15 APIs that [Transport for London, England](https://apis.io/providers/transport-for-london-england/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Line. The published artifact set on APIs.io includes an OpenAPI specification.

The Line API from Transport for London, England — 21 operation(s) for line.

## Operations (21)

| Method | Path | Summary |
|---|---|---|
| GET | `/Line/Meta/Modes` | Gets a list of valid modes |
| GET | `/Line/Meta/Severity` | Gets a list of valid severity codes |
| GET | `/Line/Meta/DisruptionCategories` | Gets a list of valid disruption categories |
| GET | `/Line/Meta/ServiceTypes` | Gets a list of valid ServiceTypes to filter on |
| GET | `/Line/{ids}` | Gets lines that match the specified line ids. |
| GET | `/Line/Mode/{modes}` | Gets lines that serve the given modes. |
| GET | `/Line/Route` | Get all valid routes for all lines, including the name and id of the originating and terminating stops for each route. |
| GET | `/Line/{ids}/Route` | Get all valid routes for given line ids, including the name and id of the originating and terminating stops for each route. |
| GET | `/Line/Mode/{modes}/Route` | Gets all lines and their valid routes for given modes, including the name and id of the originating and terminating stops for each route |
| GET | `/Line/{id}/Route/Sequence/{direction}` | Gets all valid routes for given line id, including the sequence of stops on each route. |
| GET | `/Line/{ids}/Status/{StartDate}/to/{EndDate}` | Gets the line status for given line ids during the provided dates e.g Minor Delays |
| GET | `/Line/{ids}/Status` | Gets the line status of for given line ids e.g Minor Delays |
| GET | `/Line/Search/{query}` | Search for lines or routes matching the query string |
| GET | `/Line/Status/{severity}` | Gets the line status for all lines with a given severity A list of valid severity codes can be obtained from a call to Line/Meta/Severity |
| GET | `/Line/Mode/{modes}/Status` | Gets the line status of for all lines for the given modes |
| GET | `/Line/{id}/StopPoints` | Gets a list of the stations that serve the given line id |
| GET | `/Line/{id}/Timetable/{fromStopPointId}` | Gets the timetable for a specified station on the give line |
| GET | `/Line/{id}/Timetable/{fromStopPointId}/to/{toStopPointId}` | Gets the timetable for a specified station on the give line with specified destination |
| GET | `/Line/{ids}/Disruption` | Get disruptions for the given line ids |
| GET | `/Line/Mode/{modes}/Disruption` | Get disruptions for all lines of the given modes. |
| GET | `/Line/{ids}/Arrivals/{stopPointId}` | Get the list of arrival predictions for given line ids based at the given stop |

## Machine-readable artifacts (1)

- **OpenAPI** — https://artifacts.apis.io/transport-for-london-england/openapi/transport-for-london-england-line-api-openapi.yml

## Other Transport for London, England APIs (12)

- [Transport for London, England](https://apis.io/apis/transport-for-london-england/transport-for-london-england/)
- [Transport for London, England Accident Stats API](https://apis.io/apis/transport-for-london-england/transport-for-london-england-accidentstats-api/)
- [Transport for London, England Air Quality API](https://apis.io/apis/transport-for-london-england/transport-for-london-england-airquality-api/)
- [Transport for London, England Bike Point API](https://apis.io/apis/transport-for-london-england/transport-for-london-england-bikepoint-api/)
- [Transport for London, England Cabwise API](https://apis.io/apis/transport-for-london-england/transport-for-london-england-cabwise-api/)
- [Transport for London, England Journey API](https://apis.io/apis/transport-for-london-england/transport-for-london-england-journey-api/)
- [Transport for London, England Mode API](https://apis.io/apis/transport-for-london-england/transport-for-london-england-mode-api/)
- [Transport for London, England Occupancy API](https://apis.io/apis/transport-for-london-england/transport-for-london-england-occupancy-api/)
- [Transport for London, England Place API](https://apis.io/apis/transport-for-london-england/transport-for-london-england-place-api/)
- [Transport for London, England Road API](https://apis.io/apis/transport-for-london-england/transport-for-london-england-road-api/)
- [Transport for London, England Search API](https://apis.io/apis/transport-for-london-england/transport-for-london-england-search-api/)
- [Transport for London, England Stop Point API](https://apis.io/apis/transport-for-london-england/transport-for-london-england-stoppoint-api/)

## Tags

Line

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/transport-for-london-england/transport-for-london-england-line-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/transport-for-london-england/.
