Cheapflights Flight Prices Scraper – Fares & Routes
Pricing
from $0.50 / 1,000 results
Cheapflights Flight Prices Scraper – Fares & Routes
Scrape Cheapflights flight prices for any origins and destinations: one-way or round trip, any cabin, flexible dates and passengers. Returns airlines, stops, durations, per-leg flight details and every booking option with provider and price.
Pricing
from $0.50 / 1,000 results
Rating
0.0
(0)
Developer
Boring Internet Explorer
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a month ago
Last modified
Categories
Security
Limited permissionsShare
✈️ Cheapflights Flight Prices Scraper — Flights Worldwide
❓ What is this scraper?
This scraper extracts flight offers from Cheapflights (cheapflights.com), the flight search engine that compares fares from hundreds of airlines and travel agencies. It works for any route in the world.
Enter one or more origins and one or more destinations and the scraper searches every origin and destination pair separately, saving up to the number of flights you choose for each pair. Prices are returned in US dollars.
The extracted data is normalized into a structured format, making it easy to use for analysis, integrations, or storage.
⚡ Why this scraper?
- ✈️ Many routes in one run – list several origins and several destinations and get every combination
- 🎯 Dedicated flight inputs – trip type, dates, flexible dates, cabin, passengers, stops and sort order
- 🔢 A limit per search –
maxItemsapplies to each origin and destination pair, so one busy route cannot use up the others - 🧾 Full itinerary detail – every leg, flight number, airline, aircraft, layover and duration
- 💰 Every booking option – the provider, price and booking link for each flight
- 🌍 Place names or codes – type
JFK,JFK,EWR,NYCorDubai
Perfect for:
- Fare monitoring and price tracking dashboards
- Travel agencies comparing routes and providers
- Airline and OTA competitive pricing analysis
- Travel startups and deal sites
- Market research on air routes worldwide
🔎 Supported searches
| Search | Example input |
|---|---|
| One-way | "tripType": "oneway", "departureDate": "2026-11-10" |
| Round trip | "departureDate": "2026-11-10", "returnDate": "2026-11-17" |
| Many routes | "origins": ["DXB", "LHR"], "destinations": ["JFK", "PAR"] runs 4 searches |
| Several airports as one place | "origins": ["JFK,EWR"] |
| City names | "origins": ["Dubai"], "destinations": ["london"] |
| Flexible dates | "flexibleDates": "plusminusthree" |
| Cabin and stops | "cabin": "business", "stops": "nonstop" |
📥 Input
| Field | Type | Default | Description |
|---|---|---|---|
origins | array | ["JFK"] | Departure airports or cities (IATA code, comma-separated airports, or a place name) |
destinations | array | ["LON"] | Arrival airports or cities, same formats as origins |
tripType | string | roundtrip | roundtrip or oneway |
departureDate | string | 30 days | Departure date: YYYY-MM-DD or days from today (14 days, 2 weeks), within one year |
returnDate | string | 37 days | Return date for round trips, same formats as departure date |
flexibleDates | string | exact | exact, plusminusone, plusminustwo, plusminusthree |
cabin | string | economy | economy, premiumEconomy, business, first |
adults | integer | 1 | Adults, 1-9 |
children | integer | 0 | Children aged 2-11 |
infantsInSeat | integer | 0 | Infants with their own seat |
infantsOnLap | integer | 0 | Infants on an adult's lap (at most one per adult) |
stops | string | any | any, nonstop, upTo1, upTo2 |
sortBy | string | best | best, cheapest, quickest, earliestDeparture, latestDeparture, earliestArrival |
includeBookingOptions | boolean | true | Add every provider and price for each flight |
maxItems | integer | 5 | Maximum flights saved per origin and destination pair |
proxyConfiguration | object | no proxy | Proxy settings |
Example:
{"origins": ["JFK", "EWR"],"destinations": ["LON", "PAR"],"tripType": "roundtrip","departureDate": "2026-11-10","returnDate": "2026-11-17","cabin": "economy","adults": 1,"sortBy": "cheapest","maxItems": 5,"proxyConfiguration": {"useApifyProxy": false}}
📤 Output
Each flight is stored as one record in the default dataset:
{"scrapedAt": "2026-10-10T13:51:34.519Z","url": "https://www.cheapflights.com/flight-search/JFK-LON/2026-11-10/2026-11-17/f9be80f73a33b9c7583d08aa0ede8ff2d?viewRank=2","title": "JFK → STN · Aer Lingus, Ryanair · 1 stop · 10h 15m","price": 683,"currency": "USD","country": "United States","market": "us","searchUrl": "https://www.cheapflights.com/flight-search/JFK-LON/2026-11-10/2026-11-17?sort=bestflight_a","origin": "JFK","destination": "LON","tripType": "roundtrip","departureDate": "2026-11-10","returnDate": "2026-11-17","cabin": "economy","adults": 1,"children": 0,"infantsInSeat": 0,"infantsOnLap": 0,"rank": 2,"resultId": "9be80f73a33b9c7583d08aa0ede8ff2d","isBest": false,"isCheapest": true,"isCheapestDirect": false,"priceMode": "per-person","provider": "Mytrip","maxStops": 1,"totalDurationMinutes": 1369,"airlines": ["Aer Lingus", "Ryanair"],"legs": [{"origin": "JFK","destination": "STN","departure": "2026-11-10T17:00:00","arrival": "2026-11-11T08:15:00","durationMinutes": 615,"stops": 1,"airlines": ["Aer Lingus", "Ryanair"],"segments": [{"airline": "Aer Lingus","airlineCode": "EI","flightNumber": "EI104","origin": "JFK","destination": "DUB","departure": "2026-11-10T17:00:00","arrival": "2026-11-11T04:30:00","durationMinutes": 390,"aircraft": "Airbus A330-300","layoverMinutes": 145},{"airline": "Ryanair","airlineCode": "FR","flightNumber": "FR204","origin": "DUB","destination": "STN","departure": "2026-11-11T06:55:00","arrival": "2026-11-11T08:15:00","durationMinutes": 80,"aircraft": "Boeing 737-800 (winglets)","layoverMinutes": null}]},{"origin": "STN","destination": "JFK","departure": "2026-11-17T08:55:00","arrival": "2026-11-17T16:29:00","durationMinutes": 754,"stops": 1,"airlines": ["Ryanair", "Aer Lingus"],"segments": [{"airline": "Ryanair","airlineCode": "FR","flightNumber": "FR203","origin": "STN","destination": "DUB","departure": "2026-11-17T08:55:00","arrival": "2026-11-17T10:15:00","durationMinutes": 80,"aircraft": "Boeing 737 MAX 8","layoverMinutes": 205},{"airline": "Aer Lingus","airlineCode": "EI","flightNumber": "EI109","origin": "DUB","destination": "JFK","departure": "2026-11-17T13:40:00","arrival": "2026-11-17T16:29:00","durationMinutes": 469,"aircraft": "Airbus A321neo","layoverMinutes": null}]}],"totalBookingOptions": 2,"bookingOptions": [{"provider": "Mytrip","providerCode": "AIRTICKETS24DOTCOMVI","price": 683,"currency": "USD","bookingUrl": "https://www.cheapflights.com/book/flight?code=vTHCQhNHVP.eNCwACMVOeJpd4CyPwn0EI6M4XD8KcmF.68297.9be80f73a33b9c7583d08aa0ede8ff2d&h=bcc0bad919bf&sub=F-5789873659857917917E0b686c19448&viewId=5539df27-5b4e-4b8a-ae33-6061e3cb8d40&viewRank=2"}]}
Field reference
| Field | Type | Description |
|---|---|---|
scrapedAt | string | ISO 8601 timestamp |
url | string | Link to this flight on Cheapflights |
title | string | Route, airlines, stops and outbound duration |
price | number | Lowest price among the booking options, per person |
currency | string | Currency code (USD) |
country, market | string | Cheapflights market (United States, us) |
searchUrl | string | Cheapflights search page for this search |
origin, destination | string | Airport or city codes searched |
tripType, departureDate, returnDate, cabin | string | Search settings used |
adults, children, infantsInSeat, infantsOnLap | number | Travelers searched |
rank | number | Position in the results for the chosen sort order |
resultId | string | Cheapflights result id |
isBest, isCheapest, isCheapestDirect | boolean | Cheapflights result badges |
priceMode | string | Whether prices are per person |
provider | string | Provider with the lowest price |
maxStops | number | Most stops in any direction |
totalDurationMinutes | number | Travel time of all legs combined |
airlines | array | Airlines on the itinerary |
legs | array | One entry per direction, with flight segments, times, aircraft and layovers |
totalBookingOptions | number | Number of booking options Cheapflights lists |
bookingOptions | array | Provider, price and booking link per option (null when turned off) |
❓ FAQ
How is maxItems applied?
Separately to every origin and destination pair. Two origins and three destinations with maxItems: 20 can return up to 120 flights.
Can I use city names?
Yes. Use an airport code (JFK), a city code (NYC), several airports separated by commas (JFK,EWR) or a name like Dubai. Names that cannot be found are skipped with a warning and the other searches continue.
Which currency are prices in? US dollars. Prices are per person.
How far ahead can I search? Cheapflights only shows trips that start and finish within one year of today. Searches outside that range are skipped with a warning.
What if a route has fewer flights than maxItems?
You get every flight available for it.
Do I need a proxy? Not by default. If your runs are blocked, enable a residential proxy in the proxy settings.
🔗 Want more data?
Related flight scrapers from the same author:
- Cheapflightsfares Flights Scraper
- Wego Flights Scraper
- Wingie Flights Scraper
- Almosafer Flights Scraper
- Rehlat Flights Scraper
🛠️ Need a custom scraper?
Need this scraper adapted to your use case — extra fields, additional filters, a different output format, or a new website? Reach out at boringinternetexplorer@gmail.com and we'll make it happen.