by Matthew · Donate
Bookmarkable timetable URLs: for example, http://traintimes.org.uk /manchester /edinburgh will give you the next trains from Manchester to Edinburgh.
“n” or “nearest” for the From will, if possible, ask you to share your current location to find your current closest station (uses NAPTAN, Department for Transport data © Crown copyright and database right), e.g. http://traintimes.org.uk /nearest /oxford.
You can use a postcode instead of the start or the destination, and it will use the nearest station (and give you two other options including the nearest main station).
You can put ?via=NAME or ?avoid=NAME at the end of a URL to only show journeys via/avoiding a particular station. Add split=1 to a via URL to show the three steps of a split journey at that point.
Adding a time, like http://traintimes.org.uk /cardiff /birmingham /8:00, gives you the timetable starting from there. A full return journey is of the form http://traintimes.org.uk /london /leeds /10:00 /next-tuesday /16:00 /next-wednesday.
The time is departure time by default; add an “a” at the end for arrival time, or use “first” or “last” for first or last trains. For example, http://traintimes.org.uk /london /glasgow /first /tomorrow or http://traintimes.org.uk /sheffield /liverpool /11:00a.
“/changes=0” at the end of a bookmarkable URL will restrict the results to direct trains if possible, e.g. http://traintimes.org.uk /birmingham /manchester /changes=0.