Cheapflights Flight Prices Scraper – Fares & Routes avatar

Cheapflights Flight Prices Scraper – Fares & Routes

Pricing

from $0.50 / 1,000 results

Go to Apify Store
Cheapflights Flight Prices Scraper – Fares & Routes

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

Boring Internet Explorer

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a month ago

Last modified

Categories

Security

Limited permissions

Share

✈️ 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 – maxItems applies 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, NYC or Dubai

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

SearchExample 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

FieldTypeDefaultDescription
originsarray["JFK"]Departure airports or cities (IATA code, comma-separated airports, or a place name)
destinationsarray["LON"]Arrival airports or cities, same formats as origins
tripTypestringroundtriproundtrip or oneway
departureDatestring30 daysDeparture date: YYYY-MM-DD or days from today (14 days, 2 weeks), within one year
returnDatestring37 daysReturn date for round trips, same formats as departure date
flexibleDatesstringexactexact, plusminusone, plusminustwo, plusminusthree
cabinstringeconomyeconomy, premiumEconomy, business, first
adultsinteger1Adults, 1-9
childreninteger0Children aged 2-11
infantsInSeatinteger0Infants with their own seat
infantsOnLapinteger0Infants on an adult's lap (at most one per adult)
stopsstringanyany, nonstop, upTo1, upTo2
sortBystringbestbest, cheapest, quickest, earliestDeparture, latestDeparture, earliestArrival
includeBookingOptionsbooleantrueAdd every provider and price for each flight
maxItemsinteger5Maximum flights saved per origin and destination pair
proxyConfigurationobjectno proxyProxy 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

FieldTypeDescription
scrapedAtstringISO 8601 timestamp
urlstringLink to this flight on Cheapflights
titlestringRoute, airlines, stops and outbound duration
pricenumberLowest price among the booking options, per person
currencystringCurrency code (USD)
country, marketstringCheapflights market (United States, us)
searchUrlstringCheapflights search page for this search
origin, destinationstringAirport or city codes searched
tripType, departureDate, returnDate, cabinstringSearch settings used
adults, children, infantsInSeat, infantsOnLapnumberTravelers searched
ranknumberPosition in the results for the chosen sort order
resultIdstringCheapflights result id
isBest, isCheapest, isCheapestDirectbooleanCheapflights result badges
priceModestringWhether prices are per person
providerstringProvider with the lowest price
maxStopsnumberMost stops in any direction
totalDurationMinutesnumberTravel time of all legs combined
airlinesarrayAirlines on the itinerary
legsarrayOne entry per direction, with flight segments, times, aircraft and layovers
totalBookingOptionsnumberNumber of booking options Cheapflights lists
bookingOptionsarrayProvider, 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:

🛠️ 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.