Only Trains

About Only Trains

Only Trains is a free, open database of trains and railways in the United States, with a live map of the passenger trains moving right now. It is a public project from Tenshi Systems: not a railroad, not a ticket office, and not a substitute for official maps, schedules or safety information.

Where the data comes from

  • Live trains: Amtrak, Brightline and VIA Rail through the open Amtraker API; MBTA Commuter Rail; the Long Island Rail Road and Metro-North through the MTA's realtime feeds. Your browser asks those feeds directly; nothing about you is sent to us. Freight railroads don't publish train positions, so only passenger trains appear.
  • Maps: OpenFreeMap with OpenStreetMap data, and rail lines from OpenRailwayMap (CC BY-SA).
  • Records: written from public sources, listed on each record. Reference sources include the USDOT BTS North American Rail Network, the Federal Railroad Administration, Wikidata and the Library of Congress.
  • Photos: public domain and openly licensed photographs from Wikimedia Commons, credited on each record and in the picture library.

Open data

The records are open data under the Open Database License, with the text under CC BY 4.0. Download them as JSON from the project repository (data/records).