Firecrawl Alexandria

Amtrak

Amtrak (US national passenger rail) read-only: station directory and search with addresses, hours and amenities; named routes with ordered stops and train numbers; live train positions and stop-by-stop status decrypted from the public Track Your Train feed. Public feeds of www.amtrak.com and maps.amtrak.com, no login. Fares, schedules by date and booking are not covered (the /dotcom/ APIs sit behind Akamai Bot Manager).

Try Amtrak now.

Choose an example or ask your own question.

Amtrak
TRY ASKING
1Request
string

Route code from list_routes, e.g.

string

Exact route name, e.g. 'Coast Starlight' (case-insensitive)

5 credits
Codefollows the fields above
const result = await firecrawl.scrape({
  alexandria: {
    provider: "amtrak-com",
    capability: "train-status/get_route",
    options: {
      code: "NERG",
    },
  },
});
2Response example

This is a sample shape. Press Run to see live data from Amtrak.

Long values are shortened in this preview. The full response is 5 KB.

{
  "cities_served": "Boston - New Haven - New York - Philadelphia - Wilmington - Washington",
  "code": "NERG",
  "name": "Northeast Regional",
  "observed_at_ms": 1790117621522,
  "stops": [
    {
      "code": "NPN",
      "name": "Newport News, VA"
    },
    {
      "code": "WBG",
      "name": "Williamsburg, VA"
    },
    {
      "code": "RVM",
      "name": "Richmond, VA"
    },
    {
      "code": "NFK",
      "name": "Norfolk, VA"
    },
    {
      "code": "PTB",
      "name": "Petersburg, VA"
    },
    {
      "code": "RVR",
      "name": "Richmond, VA"
    },
    {
      "code": "ASD",
      "name": "Ashland, VA"
    },
    {
      "code": "FBG",
      "name": "Fredericksburg, VA"
    },
    {
      "code": "QAN",
      "name": "Quantico, VA"
    },
    {
      "code": "WDB",
      "name": "Woodbridge, VA"
    },
    {
      "code": "RNK",
      "name": "Roanoke, VA"
    },
    {
      "code": "LYH",
      "name": "Lynchburg, VA"
    },
    {
      "code": "CVS",
      "name": "Charlottesville, VA"
    },
    {
      "code": "CLP",
      "name": "Culpeper, VA"
    },
    {
      "code": "MSS",
      "name": "Manassas, VA"
    },
    {
      "code": "BCV",
      "name": "Burke, VA"
    },
    {
      "code": "ALX",
      "name": "Alexandria, VA"
    },
    {
      "code": "WAS",
      "name": "Washington, DC"
    },
    {
      "code": "NCR",
      "name": "New Carrollton, MD"
    },
    {
      "code": "BWI",
      "name": "Baltimore, MD"
    },
    {
      "code": "BAL",
      "name": "Baltimore, MD"
    },
    {
      "code": "ABE",
      "name": "Aberdeen, MD"
    },
    {
      "code": "NRK",
      "name": "Newark, DE"
    },
    {
      "code": "WIL",
      "name": "Wilmington, DE"
    },
    {
      "code": "PHL",
      "name": "Philadelphia, PA"
    },
    {
      "code": "PHN",
      "name": "Philadelphia, PA"
    },
    {
      "code": "TRE",
      "name": "Trenton, NJ"
    },
    {
      "code": "PJC",
      "name": "Princeton Junction, NJ"
    },
    {
      "code": "NBK",
      "name": "New Brunswick, NJ"
    },
    {
      "code": "MET",
      "name": "Iselin, NJ"
    },
    {
      "code": "EWR",
      "name": "Newark, NJ"
    },
    {
      "code": "NWK",
      "name": "Newark, NJ"
    },
    {
      "code": "NYP",
      "name": "New York, NY"
    },
    {
      "code": "NRO",
      "name": "New Rochelle, NY"
    },
    {
      "code": "STM",
      "name": "Stamford, CT"
    },
    {
      "code": "BRP",
      "name": "Bridgeport, CT"
    },
    {
      "code": "NHV",
      "name": "New Haven, CT"
    },
    {
      "code": "STS",
      "name": "New Haven, CT"
    },
    {
      "code": "WFD",
      "name": "Wallingford, CT"
    },
    {
      "code": "MDN",
      "name": "Meriden, CT"
    },
    {
      "code": "BER",
      "name": "Berlin, CT"
    },
    {
      "code": "HFD",
      "name": "Hartford, CT"
    },
    {
      "code": "WND",
      "name": "Windsor, CT"
    },
    {
      "code": "WNL",
      "name": "Windsor Locks, CT"
    },
    {
      "code": "SPG",
      "name": "Springfield, MA"
    },
    {
      "code": "OSB",
      "name": "Old Saybrook, CT"
    },
    {
      "code": "NLC",
      "name": "New London, CT"
    },
    {
      "code": "MYS",
      "name": "Mystic, CT"
    },
    {
      "code": "WLY",
      "name": "Westerly, RI"
    },
    {
      "code": "KIN",
      "name": "West Kingston, RI"
    },
    "… [4 more items]"
  ],
  "train_numbers": [
    "65",
    "66",
    "67",
    "82",
    "84",
    "85",
    "86",
    "87",
    "88",
    "93",
    "94",
    "95",
    "96",
    "99",
    "111",
    "120",
    "121",
    "122",
    "123",
    "124",
    "125",
    "126",
    "127",
    "129",
    "130",
    "131",
    "132",
    "133",
    "134",
    "135",
    "137",
    "138",
    "139",
    "149",
    "150",
    "151",
    "152",
    "153",
    "154",
    "155",
    "157",
    "158",
    "159",
    "160",
    "161",
    "162",
    "163",
    "164",
    "165",
    "166",
    "… [38 more items]"
  ]
}

Quality, speed and cost, last 24 hours, across every agent call to Amtrak through Alexandria.

Fewer than 20 calls in the last 24 hours, so there is not enough to report yet.

Browse the library
//
Get started
//
Give your agent Amtrak.
One API key for the live web and every provider in Alexandria.
Are you an AI agent? See setup options