Developer portal · Data sources
Trackser Live is built on Transport for London's open data. Two TfL feeds are ingested, reconciled and enriched into a single coherent picture of the network.
| Feed | URL pattern | Format |
|---|---|---|
TrackerNet — PredictionDetailed |
api.tfl.gov.uk/TrackerNet/PredictionDetailed/{lineCode}/{stationCode} |
XML |
| Unified — Arrivals | api.tfl.gov.uk/Line/{lineIds}/Arrivals |
JSON |
Both are authenticated with a TfL app_key. TrackerNet is
the primary, granular source — the same feed used in real-time train
control — while the Unified API fills in the gaps TrackerNet doesn't
cover.
This is the most important thing to understand about the data.
TrackerNet's PredictionDetailed is queried
per station, not per train. Each call returns a
countdown of every train currently approaching that one station.
Trackser Live polls a fixed, curated list of stations per line. As a train physically approaches, it appears in the countdown lists of several nearby monitored stations at once — the same physical train, seen multiple times. A de-duplication step collapses those sightings into one record per train.
A consequence worth knowing: polledStationName on a
merged record is the station whose countdown won the merge — it is
not reliably the train's next physical stop. Use
currentLocation to anchor a train's true position.
All 11 London Underground lines are ingested, each with a hand-curated set of polled stations:
bakerloo central circle district hammersmith-city jubilee
metropolitan northern piccadilly victoria waterloo-city
Associated and adjacent services are also handled where they share track or interwork:
source: "trackernet".source: "unified" and report the genuine next stop directly.Feeds are pulled on the build cycle described in the architecture — a per-minute cron plus a +30-second alarm on each line's Durable Object, giving an effective refresh of roughly every 30 seconds.
Trackser Live processes data from Transport for London Open Data under the TfL Open Data Licence. Trackser Live is not affiliated with or endorsed by Transport for London. Train data is provided for informational purposes only and must not be used for safety-critical decisions.