Skip to main content
AI Studio  add-on for Spider.
amtrak.com · HTTP 200

Amtrak Scraper

Spider read amtrak.com in 209 ms without a browser and returned 93 lines of clean markdown, including sections like "Seniors and students save on travel", "Go together for less. Kids ride for 50% off" and "Where To Next?".

Get your free API key
Free balance on signup No card. Failed requests cost $0.
Response amtrak.com/index.md markdown · 93 lines
### Seniors and students save on travel.### Go together for less. Kids ride for 50% off.Experience the Magic of AmtrakBecause on Amtrak there aren’t any. Whether it’s a long-awaited trip or impromptu getaway, we make travel easy with a variety of seating options, no middle seats and more comfort on your way there.Relax in a First Class Private RoomAvailable on many routes across the country, a private room is the perfect option for travelers seeking added comfort and amenities, including complimentary meals, priority boarding and more.Explore private room accommodationsFrom sit-down meals to grab-and-go snacks, our trains have several options for onboard dining. Find out more about meals on overnight trains, Cafe services and premium options for our Acela customers.Overpackers, rejoice. We offer generous baggage allowances, making your travel experience hassle-free. Bring up to two checked bags, two carry-ons and one personal item onboard with you.Baggage information and services## Where To Next?Beaches, mountains, national parks and more of the most scenic views in America. Discover how Amtrak can take you with our interactive trip planning map. Explore routes and stations, see where stations connect and even book your dream trip right here.### Explore Destinations from Los Angeles Plan a getaway with low fares to Sacramento, San Diego or Seattle.## Explore Destinations from Chicago Plan a getaway with low fares to Milwaukee, St. Louis or Detroit.### Explore Destinations from New York Plan a getaway with low fares to Hudson, Providence or Saratoga Springs.Real Time Updates. We make it fun to track our trains.Follow along as we connect America.### Now earn up to 30,000 bonus points with the Amtrak Guest Rewards®Preferred Mastercard®. Offers vary. Apply here by 9/2/26.#### Now earn up to 30,000 bonus points with the Amtrak Guest Rewards®
Code · Fields · Cost · Run it keyless, no account

The same call, in code.

The capture above came back as markdown. These examples add a key, so you get browser rendering, proxies, and concurrency on amtrak.com.

amtrak-scraper.ts
import { SpiderBrowser } from "spider-browser";

const spider = new SpiderBrowser({
  apiKey: process.env.SPIDER_API_KEY!,
});

await spider.connect();
const page = spider.page!;
await page.goto("https://www.amtrak.com/tickets/departure.html");

// No selectors, no schema. Spider reads the page and names the fields.
const data = await page.scrape();

console.log(data);
await spider.close();
ready to run · spider-browser, no selectors

Ready for volume? Get an API key →

Fields you can pull.

Train nameDeparture timeArrival timeDurationFare classPriceRouteStops

Spider names these from the page. The capture above came back as markdown; the same call with return_format: "json" returns them as keys.

What amtrak.com costs to scrape.

The capture above cost $0.000385 to fetch. Pricing is $1 per GB of pre-transformation bandwidth plus $0.001 per CPU minute, so a page like this one lands at a fraction of a cent. Failed requests are billed at $0.

  • Free balance on signup
  • No card required to test
  • Balance never expires
See the full pricing →

Run it keyless, no account

curl -X POST https://api.spider.cloud/scrape -H "Content-Type: application/json" -d '{"url": "https://amtrak.com/", "return_format": "markdown"}'

More Travel scrapers.

Start scraping amtrak.com.

You already have the call. A key raises the rate limit and turns on browser rendering, proxies, and concurrency. Balance never expires, and top-ups go through secure checkout.