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 | Register | 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 |
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 |