Your best bet is probably the National Rail fares data, documented here:
https://wiki.openraildata.com/index.php?title=Fares_Data
Unfortunately this data is somewhat tricky to interpret, largely owing to the complexity of the underlying fares system. In particular, you’ll have to do some filtering of unusual ticket types, which no simple way (that I’ve found) to avoid all of them in one go. This is the data shown by
brfares.com, which should give you a good sense of roughly what you’ll get.
Also, to my knowledge, there is no open data feed providing advance fare availability. That is, the fares data linked above will tell you that non-railcard standard class advance LNER tickets from London to Edinburgh can be sold for £22.50, £30, £32.80, £35.50, £36.90, £39.30, £42.20, £46.30, £48.50, £52.30, £56.10, £59, £62.50, £66.50, £69.30, £73, £79.60, £84, £87.90, £96.80, £106.70, £119, £125.70, £135.10, £142.80, £152.90, £162.90, or £175.70 (phew!). But no open data source will tell you which of those prices is currently available (or how many tickets at each price were ever available) for the 09:00 London to Edinburgh train on May 10.
Gaelan
Hi, I'm looking to pull in ticket cost data via any of the API's. I gather I need to use the OJP data feeds, but which one? Is it the Real Time Journey Planner, the Disruptions Webservice or the What can I do with my ticket webserice - or do I need a combination of them all. My main goal is to be able to put in a journey and see the various price options for that ticket.
Thanks!
--
You received this message because you are subscribed to the Google Groups "A gathering place for the Open Rail Data community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
openraildata-t...@googlegroups.com.
To view this discussion on the web, visit
https://groups.google.com/d/msgid/openraildata-talk/cd4b1732-d0f5-48f1-be1c-22f0c81c93a6n%40googlegroups.com.