Trackernet

From Open Rail Data Wiki
Revision as of 07:06, 6 August 2024 by Leon Byford (talk | contribs) (Add notes about August 2024 changes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Trackernet (stylised TrackerNet) is a system operated by Transport for London, some data from which is available to the public in the form of Trackernet's data services. These services can be used to obtain real-time predictions for entire lines, more detailed predictions for individual stations, and information on station and line status. Trackernet only covers London Underground.

TfL's unified API is more suitable for many use cases (and is actively maintained), but omits operational data which may be of interest.

In the documentation, URLs are given with an example prefix (e.g. http://example.gov.uk/TrackerNet/PredictionSummary/C), the domain must be substituted (e.g. http://cloud.tfl.gov.uk/TrackerNet/PredictionSummary/C).

August 2024 changes

From Wednesday 14 August 2024, a new endpoint for Trackernet will be available, which will require an API key that can be obtained from the TfL API Portal. Requests should be made as in the following example:

https://api.tfl.gov.uk/TrackerNet/PredictionSummary/C?app_key=0123456789abcdef0123456789abcdef

The API key can also be passed in via an HTTP request header named `app_key`.

From Saturday 31 August 2024, the cloud.tfl.gov.uk endpoint will be sunset.

Further information is available on the TfL Tech Forum.

Documentation

https://content.tfl.gov.uk/trackernet-data-services-guide-beta.pdf