Difference between revisions of "About the National Rail Feeds"

From Open Rail Data Wiki
Jump to navigation Jump to search
(Starting to update to reflect RDG/NR instead of ATOC/NRE)
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
In May 2014, [http://www.nationalrail.co.uk/ National Rail Enquiries] [http://www.nationalrail.co.uk/46391.aspx announced changes to its licensing conditions] for using data from their [http://www.nationalrail.co.uk/contact/feedback/46615.aspx Darwin] system.
+
The [https://www.raildeliverygroup.com/ Rail Delivery Group] (formerly known as Association of Train Operating Companies, or simply ATOC) under their [http://www.nationalrail.co.uk/ National Rail] brand provide a number of data feeds for passenger-facing information systems across the railway network. The [https://www.nationalrail.co.uk/46391.aspx 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 [https://www.nationalrail.co.uk/static/images/structure/css/NRE%20Feeds_Developer%20Pack%20v.01-05.pdf Feeds developer pack].
  
The following documentation is available for the feeds:
+
Outages and faults with RDG's [https://opendata.nationalrail.co.uk/ open rail data] service should be reported to [mailto:dsg_darwind3.support@caci.co.uk dsg_darwind3.support@caci.co.uk].  For more general usage support on national rail (and other open rail data), use the [https://groups.google.com/d/forum/openraildata-talk openraildata-talk] forum.
  
* [http://www.nationalrail.co.uk/static/documents/Terms_and_Conditions_v_02-01_p.pdf Developer Terms & Conditions]
+
== Terms and Conditions ==
* [http://www.nationalrail.co.uk/static/documents/Developer_Guidelines_v_04-02_p.pdf Developer Guidelines]
+
* [https://opendata.nationalrail.co.uk/terms Developer Terms & Conditions (version 3)]
* [http://www.nationalrail.co.uk/static/documents/Usage_Charging_Document_v_02-01_p.pdf Usage Charging Document]
+
* [https://www.nationalrail.co.uk/static/images/structure/css/Developer_Guidelines_v%2005-01.pdf Developer Guidelines (version 05.01)]
 
+
* [https://www.nationalrail.co.uk/static/images/structure/css/Usage_Charging_Document_v04-01.pdf Usage Charging Document (version 04-01)]
Outages and faults with the service should be reported to [mailto:dsg_darwind3.support@caci.co.uk dsg_darwind3.support@caci.co.uk]. For more general usage support, use the [https://groups.google.com/d/forum/openraildata-talk openraildata-talk] forum.
+
* Attribution of NRE as the data source should be in line with the [https://www.nationalrail.co.uk/static/documents/Brand_Guidelines_Logos.zip Brand Guidelines & Logos]
  
 
==Freely available Feeds/APIs==
 
==Freely available Feeds/APIs==
Line 25: Line 25:
 
|-
 
|-
 
|[[Darwin:Push_Port|Darwin Push Port]]
 
|[[Darwin:Push_Port|Darwin Push Port]]
|Feed
+
|Pub/Sub stream
 
|[https://opendata.nationalrail.co.uk/ Register]
 
|[https://opendata.nationalrail.co.uk/ Register]
 
|-
 
|-
 
|[[HSP|Historical Service Performance]]
 
|[[HSP|Historical Service Performance]]
|REST API
+
|JSON API
 
|[https://opendata.nationalrail.co.uk/ Register]
 
|[https://opendata.nationalrail.co.uk/ Register]
 
|-
 
|-
 
|[[KnowledgeBase|KnowledgeBase]]
 
|[[KnowledgeBase|KnowledgeBase]]
|Feed
+
|XML Feed
 
|[https://opendata.nationalrail.co.uk/ Register]
 
|[https://opendata.nationalrail.co.uk/ Register]
 
|-
 
|-
 
|[[DTD|DTD]]
 
|[[DTD|DTD]]
|Feed
+
|Flat file feeds
 
|[https://opendata.nationalrail.co.uk/ Register]
 
|[https://opendata.nationalrail.co.uk/ Register]
|-
 
|[[Locations PoC|Locations Proof of Concept]]
 
|REST API
 
|[[Locations PoC|Information]]
 
 
|}
 
|}
  
Line 59: Line 55:
 
|-
 
|-
 
|Disruptions web service
 
|Disruptions web service
|SOAP API
+
|JSON API
 
|[http://www.nationalrail.co.uk/100299.aspx NRE]
 
|[http://www.nationalrail.co.uk/100299.aspx NRE]
 
|-
 
|-

Revision as of 13:00, 29 June 2022

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 open rail data service should be reported to dsg_darwind3.support@caci.co.uk. For more general usage support on national rail (and other open rail data), use the openraildata-talk forum.

Terms and Conditions

Freely available Feeds/APIs

Feed Type Availability
Darwin Webservice (Public) SOAP API Register
Darwin Webservice (Staff) SOAP API Register
Darwin Push Port Pub/Sub stream Register
Historical Service Performance JSON API Register
KnowledgeBase XML Feed Register
DTD Flat file feeds Register

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 KnowledgeBaseDTDLocations (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