Transport for London, England
APIFree API for London's public transport real-time and static data
Overview
The Transport for London (TfL) API offers RESTful access to real-time and static data for London’s multi-modal transport network (tube, bus, overground, DLR, tram, river services). Endpoints include real-time arrival/departure times, service status updates, route planning, station/stop details, and journey history. Responses are in JSON format. Use cases: building transport apps, integrating journey planning into services, monitoring disruptions, and analyzing transport patterns for research or business.
Example Integration (JavaScript)
fetch('https://api.tfl.gov.uk')
.then(res => res.json())
.then(data => console.log(data))
.catch(err => console.error(err)); Key Features
- RESTful Architecture
- JSON Response
- Real-Time Transport Data
- Multi-Modal Coverage
- Route Planning
- Service Status Updates
Frequently Asked Questions
? Is Transport for London, England API free to use?
Yes, the TfL API is free for both non-commercial and commercial use, though registration for an app ID and key is mandatory.
? Does it require an API Key?
Yes, you need to register on the TfL developer portal to obtain an app ID and API key for authentication.
? What is the response format?
The API primarily returns data in JSON format for all endpoints.
Top Alternatives
People Also Ask about Transport for London, England
Tool Info
Pros
- ⊕ Free Access (with registration)
- ⊕ Comprehensive London Transport Coverage
- ⊕ Well-Documented Endpoints
- ⊕ Supports Both Real-Time and Static Data
Cons
- ⊖ Rate-Limited (500 requests/minute per app)
- ⊖ Requires App ID/Key Registration
- ⊖ Limited Historical Data for Some Endpoints
- ⊖ No SLA for Commercial Use