Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UK Train information API?

I want to add some train journey pricing details into a UK tourist event app I'm planning.

Does anyone know of an API that will provide train timetable and pricing details? The kind of information we can get through thetrainline.com or raileasy - although I don't need any booking facilities. Google hasn't turned up much information on the matter...

Not too fussed about what the api is written in, as I can wrap it if required :)

like image 735
laura Avatar asked Mar 07 '11 12:03

laura


1 Answers

ATOC, who operate National Rail Enquiries, own this data. You'd need to license it from them. General T&Cs are here.

If it's a not-for-profit endeavour, they may turn a blind eye to screenscraping type operations, as I believe they do with http://traintimes.org.uk/

like image 184
paulbailey Avatar answered Sep 28 '22 08:09

paulbailey