Overview
Products
Reference
Data sources & attribution
TransCAPI is built entirely on open data. This page lists every source, the licence it comes under, what it powers in the API, and the attribution you need to show if you display TransCAPI data in your own product.
Coverage
TransCAPI covers Great Britain: England, Scotland and Wales. The sources below are all GB-wide. Northern Ireland is not covered: its bus and rail network is published separately by Translink and is not in NaPTAN, BODS or the Network Rail timetable.
| Area | Coverage |
|---|---|
| Stops, stations and places | Great Britain |
| Bus departures, arrivals, routes and services | Great Britain, refreshed daily from the national BODS export |
| Live bus positions | Operators reporting to BODS: England, some of Wales, little of Scotland |
| Live bus delays and expected times | Northern England and West Sussex, where TransCAPI tracks buses against the timetable |
| Rail departures and arrivals | Great Britain, with live expected times, platforms, cancellations and delay reasons from Darwin within two hours of now |
| Rail services (one train) | Great Britain, with live expected and actual times at each call for trains running today |
| Rail routes | Great Britain, scheduled |
| Journey planning | Great Britain |
| Disruptions | Bus and tram across Great Britain; Tube, DLR, Overground, Elizabeth line and London Trams. National Rail engineering works are not covered |
| Route geometry | Where the operator publishes it; null otherwise |
Sources
| Source | Publisher | Licence | Powers |
|---|---|---|---|
| NaPTAN | Department for Transport | OGL v3.0 | Stop and rail station locations, names, indicators and bearings |
| Bus Open Data Service | Department for Transport | OGL v3.0 | Bus timetables, routes and geometry; live vehicle positions (SIRI-VM); bus and tram disruptions (SIRI-SX) |
| Network Rail open data | Network Rail Infrastructure Limited | Network Rail data feeds licence (OGL) | Rail timetables; which location codes belong to which station |
| Darwin, via the Rail Data Marketplace | National Rail Enquiries (Rail Delivery Group) | Rail Data Marketplace licence (OGL) | Live rail running: expected times, platforms, cancellations, delay reasons and station messages |
| TfL Unified API | Transport for London | TfL transport data service terms | Tube, DLR, Overground, Elizabeth line and London Trams status in disruptions |
| OpenStreetMap | OpenStreetMap contributors | ODbL 1.0 | Street network for journey planning, walking and cycling legs, and turn-by-turn directions |
| NPTG | Department for Transport | OGL v3.0 | Settlement search in places |
| Code-Point Open | Ordnance Survey | OS OpenData licence (OGL) | Postcode search in places |
| OS Terrain 50 | Ordnance Survey | OS OpenData licence (OGL) | Walking climb and effort in journey planning |
TransCAPI is independent. It is not affiliated with or endorsed by the Department for Transport, Network Rail, National Rail Enquiries, the Rail Delivery Group, Transport for London, Ordnance Survey, the OpenStreetMap Foundation or any transport operator.
What you need to show
These licences apply to anyone who passes the data on, including you, not just to TransCAPI. If your app, site or product displays data from TransCAPI, show the lines that apply to the endpoints you use somewhere your users can see them, such as an about screen, a footer or next to a map.
| If you use | Show |
|---|---|
| Any endpoint | Contains public sector information licensed under the Open Government Licence v3.0. |
| Rail station timetables (live) | Powered by National Rail Enquiries |
| Journey planning | © OpenStreetMap contributors (linked to https://www.openstreetmap.org/copyright). If you show walking climb or calories: Contains OS data © Crown copyright and database right |
| Place search (postcodes) | Contains OS data © Crown copyright and database right. Contains Royal Mail data © Royal Mail copyright and database right. Contains National Statistics data © Crown copyright and database right |
| Disruptions, for London modes | Powered by TfL Open Data. Also: Contains OS data © Crown copyright and database rights 2016, and Geomni UK Map data © and database rights [2019] |
A single line covering everything:
Transport data from TransCAPI. Contains public sector information licensed under the
Open Government Licence v3.0. Contains OS data © Crown copyright and database right.
Contains Royal Mail data © Royal Mail copyright and database right. Contains National
Statistics data © Crown copyright and database right. Map data © OpenStreetMap
contributors. Powered by National Rail Enquiries. Powered by TfL Open Data.
Don't use operator, TfL or National Rail logos, or suggest that any of them endorse your product. None of these licences grant that.
This page describes what the source licences ask for. It is not legal advice. The licences linked above are the authority.