Skip to main content
AI Studio  add-on for Spider.
Travel
aa.com Verified

American Airlines Scraper

Extract flight schedules, AAdvantage award pricing, cabin class options, and route details from American Airlines booking. Built on spider-browser .

Get started Docs
target
aa.com
success rate
99.9%
latency
~4ms
POST /fetch/aa.com/
return_format
curl -X POST https://api.spider.cloud/fetch/aa.com/ \
  -H "Authorization: Bearer $SPIDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"return_format": "json"}'
200 OK · cache hit · response shape
{
  "url": "https://aa.com/",
  "status": 200,
  "data": {
    "flight_number": "string",
    "departure_time": "string",
    "arrival_time": "string",
    "duration": "string",
    "fare_class": "string",
    "price": "string",
    "aadvantage_miles": "string",
    "aircraft": "string"
  }
}
Quick start

Extract data in minutes.

Structured JSON from aa.com with a single POST. AI-resolved selectors, cached on the first call.

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

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

await spider.connect();
const page = spider.page!;
await page.goto("https://www.aa.com/booking/search?locale=en_US&pax=1&type=OneWay&searchType=Revenue&cabin=&carriers=ALL&slices=%5B%7B%22orig%22:%22DFW%22,%22dest%22:%22MIA%22,%22origNearby%22:false,%22destNearby%22:false,%22date%22:%222026-07-10%22%7D%5D");
await page.content(15000);

const data = await page.extractFields({
  flightNumber: "[class*='flight-number'], .flt-number",
  departure: "[class*='departure-time'], .depart-time",
  arrival: "[class*='arrival-time'], .arrive-time",
  duration: "[class*='flight-duration'], .duration",
  price: "[class*='fare-total'], .price-point",
  cabin: "[class*='cabin-class'], .cabin-type",
});

console.log(data);
await spider.close();
ready to run · spider-browser · TypeScript
Extraction

Fields you can pull.

Flight numberDeparture timeArrival timeDurationFare classPriceAAdvantage milesAircraft
Pricing

Dynamic rate capture

Session-aware scraping captures pricing on aa.com that changes per visitor.

Rendering

Complex SPA handling

Full browser rendering for React/Next.js booking interfaces and search results.

Scale

Destination coverage

Scrape listings across thousands of destinations and date ranges concurrently.

Related

More Travel scrapers.

Start

Start scraping aa.com.

Grab an API key and call the endpoint above. The first request resolves the config; every request after hits cache.