Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any API to get Train details of US Railway Service [closed]

Tags:

php

Is there any API to get Train details of US Railway Service

like image 518
Fero Avatar asked Nov 05 '22 19:11

Fero


1 Answers

I assume you mean passenger services. Nationally these are handled by Amtrak and locally by various transit authorities. Amtrak do not have an API as such, altho there's this discussion about screen scraping:

http://discuss.amtraktrains.com/index.php?/topic/32601-amtrakcom-api/

Basically there are web sites that do this but do it very infrequently.

Transit authorities are going to be on an authority by authority basis. There isn't a central clearing house as with the UK.

For other railroads, these are freight operations and do not have published timetables. Even route information can be hard to find (ie. Easier to extract from a map source offline)

like image 164
winwaed Avatar answered Nov 12 '22 16:11

winwaed