Transport for London, England

API

Free API for London's public transport real-time and static data

Visit Website

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)

script.js JS

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

Citymapper API Search Google
TransportAPI UK Search Google
NextBike London API Search Google

People Also Ask about Transport for London, England

Transport for London, England vs Citymapper APITransport for London, England vs TransportAPI UKTransport for London, England vs NextBike London API Transport for London, England 2025 review

Tool Info

Pricing Free
Category Transportation
Platform Public API

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

More Transportation Tools