Lines
Query Tube, rail, and other line data. The API playground highlights line status by mode (GET /Line/Mode/{modes}/Status).
Line modes
| Mode | Description |
|---|---|
| tube | London Underground |
| bus | London Buses |
| dlr | Docklands Light Railway |
| overground | London Overground |
| national-rail | National Rail |
| tram | Tramlink |
Playground endpoint (documented in this site’s OpenAPI)
- Line status by mode:
GET /Line/Mode/{modes}/Status. See the guide. Included in tfl-playground.json.
Other endpoints on the live API
These are common on api.tfl.gov.uk but not part of the downloadable playground spec:
GET /Line/{ids}/Status: status for specific line IDsGET /Line/{ids}/Route: route geometry and stopsGET /Line/Mode/{modes}: line metadata by mode
Guides
- Line status by mode: playground GET with full reference
- Line routes: additional TfL route examples outside the playground spec