About the National Rail Feeds
The Rail Delivery Group (formerly known as Association of Train Operating Companies, or simply ATOC) under their National Rail brand provide a number of data feeds for passenger-facing information systems across the railway network. The developers page on the NRE website provides information for the data feeds provided, some of which are free and some of which are chargeable. They also provide a summary of feeds they supply in the Feeds developer pack.
Outages and faults with RDG's data feeds should be reported to the email addresses in the below table; these contacts should not be used for general inquiries or support. For general usage support on National Rail (and other open rail data), use the openraildata-talk forum.
Terms and Conditions
- Developer Terms & Conditions (version 3)
- Developer Guidelines (version 05.01)
- Usage Charging Document (version 04-01)
- Attribution of NRE as the data source should be in line with the Brand Guidelines & Logos
Freely available Feeds/APIs
Feed | Type | Availability | Reporting faults |
---|---|---|---|
Darwin Webservice (Public) | SOAP API | Register | infoservices@nationalrail.co.uk |
Darwin Webservice (Staff) | SOAP API | See below | infoservices@nationalrail.co.uk |
Darwin Push Port | Pub/Sub stream | Register | dsg_darwind3.support@caci.co.uk |
Historical Service Performance | JSON API | Register | dsg_darwind3.support@caci.co.uk |
KnowledgeBase | XML Feed | Register | dsg_darwind3.support@caci.co.uk |
DTD | Flat file feeds | Register | dsg_darwind3.support@caci.co.uk |
Registering for OpenLDBSV/Darwin Staff Webservice
OpenLDBSVWS has a web registration process, this is currently (May 2023) broken, and cannot send registration verification emails. In the meantime, until the automatic registration process is fixed, RDG have established a procedure for manually creating accounts for the service. To request an account, send a completed licence request form (As of June 2023 this link is returning an error 404 due to the changes to the website) to nationalraildatafeeds@raildeliverygroup.com, RDG staff will send you a license to sign, and then can provide you with account credentials.
Note that the licence request form is generic, and is oriented more towards commercial data feeds users, but the eligibility criteria and license conditions for OpenLDBSV for open data feeds users remain the same as before.
Licensed Feeds
NRE also provide a number of APIs from the Online Journey Planner service. Whilst anyone can request access to these APIs, due to contractual constraints NRE are currently unable to offer them without cost (and an associated license). More information can be found on the NRE site.
Feed | Type | Availability |
---|---|---|
RTJP web service | SOAP API | NRE |
Disruptions web service | JSON API | NRE |
(What can I do with) My Ticket web service | JSON API | NRE |
National Rail Enquiries Data Feeds | |
---|---|
Data Feeds | About the Feeds • Darwin Webservice (Public) • Darwin Webservice (Staff) • Historical Service Performance • Push Port • KnowledgeBase • DTD • Locations (PoC) • Real Time Journey Planner |
LDB API | About |
LDB-SV API | About |
HSP | About |
DTD | About • Fares • Timetable |
Push Port | About • XML Schemas • Schedules • Associations • Train Status • Station Messages • Alarms • Train Order • Train Alerts • Formations • Formation loading |