This endpoint provides real time data about the UK Signalling system.

Please make certain you have read the Conditions of use before using this API.

This endpoint is broken down to the main details shown on this page using the base URL http://api.area51.onl/rail/1/td

You can then filter the data down by appending the portion you are interested in to the end of the URL.

Root endpoint

The root endpoint http://api.area51.onl/rail/1/td returns basic details about the service and returns the following details:

areas
The current list of active Train Describer Areas
reset
The time the service was last reset, usually around 02:00
latency
The current feed latency
lastUpdate
The time the last message was received
$ curl -s http://api.area51.onl/rail/1/td|jq '.'
{
  "areas": ["A2","A3","AD","AL","AN",
    ...
    "YK","YO","ZA","ZB","ZE","ZG","ZH","ZR","ZY"
  ],
  "reset": "2016-11-24T13:02:00.423Z",
  "latency": {
    "value": 931,
    "max": 3009,
    "min": -268
  },
  "lastUpdate": "2016-11-24T13:33:25.931Z"
}

Available Endpoints

  1. Areas Returns a list of active Train Describers
  2. Area The current status of an individual Train Describer
    1. Berths Current berth occupancy for an individual Train Describer
    2. Signals Current S-Class signal status
  3. Latency The current feed latency statistics