Your Trains

+ New Train

About Amtraker

Amtraker - The Fast and Easy Amtrak Train Tracker

To get started, collapse this about section and press the "New Train" button above!

Amtraker is one of the fastest and easiest ways to track an Amtrak train, but it extends far beyond this website. There is an API, and embedding system, and more! Each train site should have the necessary stuff on it that certain websites will embed a mini train tracking map in themselves when you paste in an Amtraker URL. If you are a developer and are looking for the api on this project, check out, it'll have everything you need to get started. I'll have a little more info on how the tracker works.

How it Works

In theory, this is pretty simple. Take the data from amtrak, bring it into the site, and make it look good! In reality, it is much more difficult than that. Because of this, the data has to flow through the following sources before it gets to you:

1. Amtraker API Grabs Amtrak Data and Encrypts it (yes encrypted)

2. Amtraker API Cleans up and Separates Amtrak Data

3. Amtraker API Rehosts the Cleaned Data

4. Your device grabs the data from the Amtraker API

5. A little bit more data cleaning and some beautification happens before the data is shown to you on this site.


Q: Why did you build Amtraker?

A: To put it simply, Amtrak's tracker is just a hunk of junk. I wrote a blogpost about how terribly the API is designed very briefly (which can be read here). If you're more fluent with programming, just imagine numbers stored as strings, dates in a format far from standard, and timezones being essentially nonexistent. Additionally, the site doesn't work well on mobile and desktop, which is what I strived to improve upon. What came to be was the original version of Amtraker (still available here). One issue is that I was never really satisfied with it, mainly due to the fact that it didn't have a map, had terrible SEO (Search-Engine Optimization - terrible for search engines), and had really low quality. Because of this, I started rebuilding the application from the ground up starting in December of 2021 while simultaneously figuring out how Next.js worked. Now we are here, and here we are. I am very tired while writing this, could you tell?

Q: Why isn't the App on the App Store?

2 reasons: 1.) Apple doesn't allow Progressive Web-Apps (this) onto their store (yet?) and 2.) I don't have a mac so I couldn't publish the app regardless.

Q: Where is the source code?

A: Glad you asked and here.

Q: Is there any way I can donate to the project?

A: Nope! Last time I tried, it was removed from the play store for having a donation link.

Q: I have a reccomendation for the project. Where do I direct my concerns?

Sure thing! You can either make an issue on github, submit feedback/issues to the contact form, send me an email, message me on Discord (piero#0001), or follow and DM me on my various social medias (@piemadd most places).

Some data I'm seeing is incorrect.

Oh noes! Please take a/some screenshot(s) of what you're seeing (make sure the train number and day are recorded) and submit an issue on github. I'll get to fixing it as soon as I can. If you're not on github, you can also submit feedback/issues to the contact form.

Other Stuff

Privacy Policy
Show All Trains