Welcome to the departureboard.io API Documentation. This site contains detailed information on how to consume the various endpoints offered by the departureboard.io API.
The departureboard.io API is a high performance API written in Golang. Its goal is to provide two main functions:
A JSON API interface to the legacy National Rail SOAP API: Giving developers the ability to pull live information on departures, arrivals, and services from National Rail, without having to use the legacy SOAP API provided by National Rail. Information is still pulled directly from National Rail in the background, providing the same level of real-time data without the additional complexity of having to interact with SOAP.
A JSON API interface for additional National Rail information: Giving developers the ability to pull a range of information about the Rail Network, via a JSON API interface. This is not an offering that National Rail currently provide, and is custom developed. Data is sourced from periodically updated XML documents, parsed, and provided for consumption via the departureboard.io API.
This API is completely free to use for non-commercial purposes. You can explore the various sections of the documentation using the links below.
The documentation is also available in Swagger OpenAPI 3.0 Spec.