Pricing
from $1.50 / 1,000 results
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
Actor stats
0
Bookmarked
5
Total users
0
Monthly active users
2 months ago
Last modified
Categories
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
| Field | Type | Description |
|---|---|---|
origin | String | Origin airport IATA code (e.g., LAX, JFK, IST). |
destination | String | Destination airport IATA code (e.g., LHR, JFK, CDG). |
departDate | String | Departure date in YYYY-MM-DD format (e.g., 2026-06-15). |
returnDate | String | Return date in YYYY-MM-DD format (Optional). Leave empty for one-way. |
adults | Integer | Number of adult passengers (1โ9). Default: 1. |
cabinClass | String | Cabin class (ECONOMY, PREMIUM_ECONOMY, BUSINESS, FIRST). Default: ECONOMY. |
currency | String | ISO currency code (e.g., USD, EUR, GBP). Default: USD. |
maxFlights | Integer | Maximum number of flight results. Default: 50. |
proxyConfiguration | Object | Proxy 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.
| Field | Type | Description |
|---|---|---|
prices | Object | Mapping of sources to prices. |
bestPrice | Number | The lowest price for this flight. |
cheapestSource | String | Identifier of the source with the best price. |
airline | String | Operating airline(s). |
departTime | String | Departure date/time in ISO 8601. |
arriveTime | String | Arrival date/time in ISO 8601. |
stops | Number | Number of stops (0 = direct). |
segments | Array | Detailed per-leg info (flight codes, carriers, times). |
baggage | Object | Included baggage allowances. |
isSelfTransfer | Boolean | Indicates if bags need recheck. |
links | Object | Direct booking links. |
scrapedAt | String | ISO 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
departDateandreturnDatestrictly followYYYY-MM-DD. - IATA Codes: Always use 3-letter IATA airport codes (e.g.,
JFK).
