Universal Flight Scraper (Multi-Source) avatar

Universal Flight Scraper (Multi-Source)

Pricing

from $1.50 / 1,000 results

Go to Apify Store
Universal Flight Scraper (Multi-Source)

Universal Flight Scraper (Multi-Source)

Compare flight prices from multiple sources instantly. Get the cheapest fares, baggage info, and direct booking links for any route.

Pricing

from $1.50 / 1,000 results

Rating

0.0

(0)

Developer

Tan Yegen

Tan Yegen

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

✈️ Lightning Flight Price Scraper (API Alternative)

🤖 Copy to your AI assistant

Copy this block into ChatGPT, Claude, Cursor, or any LLM to start using this actor.

tyegen/universal-flight-price-scraper on Apify. Call: ApifyClient("TOKEN").actor("tyegen/universal-flight-price-scraper").call(run_input={"origin": "IST", "destination": "LHR", "departDate": "2026-06-15"}), then client.dataset(run["defaultDatasetId"]).list_items().items for results.

The ultimate, ultra-fast solution for extracting live flight prices, schedules, and airline data from major travel platforms. Say goodbye to slow browser automation and expensive, rate-limited airline APIs.

🚀 The Technology: How It Works

This actor uses a pure HTTP, reverse-engineered approach: Instead of clicking around a browser, this actor encodes your search parameters (Origin, Destination, Date) into the travel platform's highly guarded flight search request format. It fires a single, lightweight HTTP request and intercepts the raw JSON data that the backend sends to the frontend.

✨ Key Advantages

  • Lightning Fast: Extracts dozens of flight itineraries in seconds.
  • No Headless Browser Overhead: Built on pure HTTP requests (gotScraping), avoiding the massive resource usage and instability of browser-based automation (Puppeteer/Playwright).
  • Deep Data Extraction: Extracts exact flight numbers, operating airlines, stopovers, departure/arrival timestamps, and live ticket prices.
  • Robust Parsing: Automatically handles complex, deeply nested JSON structures and returns a clean, flat JSON array ready for your database.

🎯 Top Use Cases & Target Audience

  • Fare Alert Apps & Bots: Build Telegram or Discord bots that alert users when flight prices on specific routes drop below a certain threshold.
  • OTA Startups (Online Travel Agencies): Populate your flight search engine with live pricing data without needing GDS contracts.
  • Corporate Travel Auditors: Track flight prices daily to monitor fare trends.
  • Dynamic Pricing Models: Feed daily route prices into machine learning models to predict airfare movements.

📥 Input Configuration

FieldTypeDescription
originStringOrigin airport IATA code (e.g., LAX, JFK, IST).
destinationStringDestination airport IATA code (e.g., LHR, JFK, CDG).
departDateStringDeparture date in YYYY-MM-DD format (e.g., 2026-06-15).
returnDateStringReturn date in YYYY-MM-DD format (Optional). Leave empty for one-way.
adultsIntegerNumber of adult passengers (1–9). Default: 1.
cabinClassStringCabin class (ECONOMY, PREMIUM_ECONOMY, BUSINESS, FIRST). Default: ECONOMY.
currencyStringISO currency code (e.g., USD, EUR, GBP). Default: USD.
maxFlightsIntegerMaximum number of flight results. Default: 50.
proxyConfigurationObjectProxy settings for bypassing blocks. Residential proxies are highly recommended.

📤 Output Schema

For each flight found on the route, you will receive a clean JSON object containing the itinerary and pricing details.

FieldTypeDescription
pricesObjectMapping of sources to prices.
bestPriceNumberThe lowest price for this flight.
cheapestSourceStringIdentifier of the source with the best price.
airlineStringOperating airline(s).
departTimeStringDeparture date/time in ISO 8601.
arriveTimeStringArrival date/time in ISO 8601.
stopsNumberNumber of stops (0 = direct).
segmentsArrayDetailed per-leg info (flight codes, carriers, times).
baggageObjectIncluded baggage allowances.
isSelfTransferBooleanIndicates if bags need recheck.
linksObjectDirect booking links.
scrapedAtStringISO timestamp of extraction.

⚠️ Troubleshooting & Best Practices

  • No Results: If the actor finishes but returns no flights, the site may have blocked the IP or served a regional page. Solution: Use Residential Proxies.
  • Date Format: Ensure departDate and returnDate strictly follow YYYY-MM-DD.
  • IATA Codes: Always use 3-letter IATA airport codes (e.g., JFK).