Transport

TfL Unified API

by api-portal.tfl.gov.uk

Transport Added on November 7th, 2026 Checked and working on November 7th, 2026
Visit api-portal.tfl.gov.uk →

What it does

The Transport for London Unified API gives live and planned data for London's transport: line status, arrivals, journey planning, bike points, road disruptions and more, for example to show the next Tube trains at a station. Responses are JSON. Free; it works without a key, and a free key raises the limit.
  • API
  • HTTP-GET
  • JSON
  • REST

At a glance

API key
Not needed · More APIs with no key
Pricing
Free; it works without a key, and a free key raises the limit.
From the browser
Yes (CORS)
Formats
JSON
Interface
REST, HTTP-GET
Provider
api-portal.tfl.gov.uk
Last checked
Working on November 7th, 2026

More information: https://api-portal.tfl.gov.uk/

Is this your service? Show that it is listed

Put this badge on your website or in your README; it links to this page. About the badge

Listed on Free Web Services

api-portal.tfl.gov.uk
TfL Unified API

Example request

curl

curl 'https://api.tfl.gov.uk/Line/Mode/tube/Status'

JavaScript

const response = await fetch("https://api.tfl.gov.uk/Line/Mode/tube/Status");
const data = await response.json();
console.log(data);

Python

import requests

response = requests.get(
    "https://api.tfl.gov.uk/Line/Mode/tube/Status",
    timeout=30,
)
print(response.json())

The JavaScript works in a web page as well as in Node.js 18 or newer.

Did it work for you?

Tell us what you found when you tried TfL Unified API.