Cheapest Plane Tickets Scraper avatar

Cheapest Plane Tickets Scraper

Pricing

from $3.99 / 1,000 results

Go to Apify Store
Cheapest Plane Tickets Scraper

Cheapest Plane Tickets Scraper

Compare direct and multi-city route options through public Google Flights search pages when fares are openly exposed.

Pricing

from $3.99 / 1,000 results

Rating

0.0

(0)

Developer

Coding Frontned

Coding Frontned

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Features

Limited permissions

Share

What this Actor does

The Cheapest Plane Tickets Scraper checks Google Flights for publicly displayed flight fares and the outbound itineraries behind them, including flight segments, airports, schedules, aircraft, cabin amenities, and environmental estimates when published. It can generate searches from airport routes, include one-stop alternatives, or inspect public Google Flights search URLs directly.

Google Flights is a dynamic application. The Actor opens the public search page and expands flight details for selected results; when the browser cannot finish, it retains valid fares exposed in the original public HTML and marks the run as limited. The Actor saves a row only when it can validate a fare and the dataset write succeeds. It does not sign in, use private endpoints, rotate proxies, solve CAPTCHAs, or bypass access controls. Results are observations to review; they do not guarantee current availability or a bookable price.

Common uses

  • Compare direct route searches with one-stop alternatives through selected airports.
  • Collect fare observations for a small set of planned routes.
  • Check public Google Flights search pages that you already have.

Run the Actor

  1. Open the Actor's Input tab.
  2. Add airport routes or public Google Flights search URLs. All fields are optional; if you provide no route or URL, the default route is TPE to PRG.
  3. Choose a result limit and start the run.
  4. Open Dataset for saved fare rows. Open Output summary for the separate run status record.

Input

No top-level input field is required. A route object must identify both an origin and a destination, using origin/from and destination/to. Malformed route entries and unsupported route-object keys are rejected. Route airport codes should be three-letter IATA codes. Dates are passed to the search as text; ISO dates such as 2026-11-20 are recommended.

Route and search settings

FieldTypeRequired?DefaultWhat it does
routesArray of strings or objects, max 20OptionalNoneSearch route strings such as TPE-HKG, or objects such as {"origin":"TPE","destination":"HKG"}. Objects also accept from/to, date/departureDate, and returnDate; date text is limited to 30 characters. Valid routes take precedence over the top-level origin and destination.
originText, 3-letter airport codeOptionalTPEOrigin used when there is no valid route object or route string.
destinationText, 3-letter airport codeOptionalPRGDestination used with origin when there is no valid route.
departureDateText, max 30 charactersOptionalNoneDeparture-date text for the default origin/destination route. Use a route object's departureDate or date when supplying routes.
returnDateText, max 30 charactersOptionalNoneReturn-date text for the default origin/destination route. Use a route object's returnDate when supplying routes.
intermediateAirportsArray of airport-code text, max 10OptionalNoneAdds one-stop alternatives through each listed airport to every generated route. A via fare is saved only when its result card confirms one stop at that airport. Codes equal to the route endpoints are skipped. Ignored when search URLs are used.
startUrlsArray of URLs, max 20OptionalNoneInspect public Google Flights URLs directly. When this array contains usable URLs, it takes precedence over generated routes and urls. Duplicate URLs are removed.
urlsArray of URLs, max 20OptionalNoneCompatibility alias for startUrls; used when startUrls is omitted.
currencyText, 3-letter codeOptionalUSDCurrency hint used to build generated search URLs. The observed fare currency is taken from the page when it is stated there.
localeText, max 10 charactersOptionalenLanguage/locale hint used to build generated search URLs.

Result limits

FieldTypeRequired?DefaultWhat it does
maxItemsInteger, 1–50Optional10Global maximum number of validated flight-result rows to save across all searches. The remaining budget is shared among remaining searches, taking their cheapest exposed cards first. Unsuccessful searches do not use the limit.
maxResultsInteger, 1–50OptionalNoneCompatibility alias for maxItems. If both are supplied, maxResults takes precedence.

Advanced settings (Developer Options)

FieldTypeRequired?DefaultWhat it does
timeoutSecsInteger, 5–180 secondsOptional45Time budget for each HTTP attempt and, separately, each rendered search including its selected detail panels. HTTP requests can be retried once; browser searches are not retried.
requestTimeoutSecsInteger, 5–180 secondsOptionalNoneCompatibility alias for timeoutSecs. If both are supplied, requestTimeoutSecs takes precedence.

When routes is empty or has no valid entries, the Actor uses origin and destination (or their defaults). For a generated route, it searches the origin-to-destination itinerary and one option per valid intermediate airport. The baseline search can include connections; it is not a nonstop-only filter. Repeated identical generated searches are deduplicated. A via search saves the cheapest exposed cards showing one stop at the requested airport, within its share of the global result limit; unavailable or unrecognized stop details produce no via row. English (en) is recommended for recognizing fare and stop text. If startUrls is supplied, usable URLs replace these generated searches. If both URL fields are omitted, urls can be used in its place.

{
"routes": [
{
"origin": "TPE",
"destination": "PRG",
"departureDate": "2026-11-20",
"returnDate": "2026-11-27"
}
],
"maxItems": 3,
"currency": "USD"
}

Example: several routes and one-stop alternatives

{
"routes": [
{ "origin": "SFO", "destination": "FCO", "date": "2026-12-02" },
"JFK-LHR"
],
"intermediateAirports": ["KEF", "DUB"],
"maxItems": 10,
"locale": "en"
}

Example: inspect several public search URLs

{
"startUrls": [
"https://www.google.com/travel/flights?q=TPE-HKG",
"https://www.google.com/travel/flights?q=JFK-LHR",
"https://www.google.com/travel/flights?q=TPE-HKG"
],
"maxItems": 5,
"timeoutSecs": 30
}

Repeated usable URLs are deduplicated before requests. Only HTTPS Google Flights URLs are accepted; unsupported URLs are ignored. A URL-based row includes the search URL, fare, and available source itinerary details. Requested route fields are omitted when the route cannot be determined from the supplied input; actual airports still appear in itinerary. The Actor deduplicates repeated cards within a search, but distinct searches can legitimately contain the same flight.

Compatibility aliases (Developer Options)

For older inputs, use urls in place of startUrls, maxResults in place of maxItems, or requestTimeoutSecs in place of timeoutSecs. If both URL fields are supplied, startUrls takes precedence; if either numeric alias is supplied with its primary field, the alias takes precedence. No proxy, fixture, dummy-data, debug, or diagnostic-output inputs are supported.

Output

Each dataset row describes a displayed fare and its outbound flight itinerary. The required fields are always present after validation; requested route and date fields are included only when the input identifies them. A round-trip price can cover both directions even though the displayed outbound card supplies only outbound segment details. The Actor does not select a return flight or proceed to booking.

Illustrative fare row

The values and search link below are illustrative and are not a verified live result.

{
"searchUrl": "https://www.google.com/travel/flights?hl=en&curr=USD&q=Flights%20from%20SFO%20to%20JFK%20via%20BOS%20departing%202026-11-20%20returning%202026-11-27",
"price": 699,
"currency": "USD",
"matchedPriceText": "699 US dollars",
"origin": "SFO",
"destination": "JFK",
"via": "BOS",
"legs": [
{
"origin": "SFO",
"destination": "BOS"
},
{
"origin": "BOS",
"destination": "JFK"
}
],
"departureDate": "2026-11-20",
"returnDate": "2026-11-27",
"tripType": "round trip",
"priceIncludesText": "Prices include required taxes + fees for 1 adult. Optional charges and bag fees may apply.",
"itinerary": {
"descriptionText": "From 699 US dollars round trip total. 1 stop flight with JetBlue. Leaves San Francisco International Airport at 6:00 AM on Friday, November 20 and arrives at John F. Kennedy International Airport at 7:46 PM on Friday, November 20. Total duration 10 hr 46 min. Layover (1 of 1) is a 3 hr 55 min layover at Boston Logan International Airport in Boston. 0 carry-on bags included. 0 checked bags included.",
"airlines": [
{
"code": "B6",
"name": "JetBlue",
"accessibilityUrl": "https://www.jetblue.com/at-the-airport/accessibility-assistance",
"logoUrl": "https://www.gstatic.com/flights/airline_logos/70px/B6.png"
}
],
"departure": {
"airport": {
"code": "SFO",
"name": "San Francisco International Airport",
"city": "San Francisco",
"latitude": 37.6188889,
"longitude": -122.37556,
"countryCode": "US",
"country": "United States"
},
"timeText": "6:00 AM",
"dateText": "Friday, November 20"
},
"arrival": {
"airport": {
"code": "JFK",
"name": "John F. Kennedy International Airport",
"city": "New York",
"latitude": 40.6397222,
"longitude": -73.778889,
"countryCode": "US",
"country": "United States"
},
"timeText": "7:46 PM",
"dateText": "Friday, November 20"
},
"durationText": "10 hr 46 min",
"durationMinutes": 646,
"stopCount": 1,
"layovers": [
{
"airport": {
"code": "BOS",
"name": "Boston Logan International Airport",
"city": "Boston",
"latitude": 42.3630556,
"longitude": -71.006389,
"countryCode": "US",
"country": "United States"
},
"city": "Boston",
"durationText": "3 hr 55 min",
"durationMinutes": 235
}
],
"segments": [
{
"origin": {
"code": "SFO",
"name": "San Francisco International Airport",
"city": "San Francisco",
"latitude": 37.6188889,
"longitude": -122.37556,
"countryCode": "US",
"country": "United States"
},
"destination": {
"code": "BOS",
"name": "Boston Logan International Airport",
"city": "Boston",
"latitude": 42.3630556,
"longitude": -71.006389,
"countryCode": "US",
"country": "United States"
},
"departureDate": "2026-11-20",
"arrivalDate": "2026-11-20",
"departureTime": "06:00",
"arrivalTime": "14:31",
"durationMinutes": 331,
"airlineCode": "B6",
"flightNumber": "1834",
"airline": "JetBlue",
"aircraft": "Airbus A320",
"seatPitch": "33 in",
"cabinClass": "Economy",
"amenities": [
"Above average legroom (33 in)",
"Free Wi-Fi",
"In-seat power & USB outlets",
"Live TV",
"Emissions estimate: 448 kg CO2e",
"Contrail warming potential: Medium"
]
},
{
"origin": {
"code": "BOS",
"name": "Boston Logan International Airport",
"city": "Boston",
"latitude": 42.3630556,
"longitude": -71.006389,
"countryCode": "US",
"country": "United States"
},
"destination": {
"code": "JFK",
"name": "John F. Kennedy International Airport",
"city": "New York",
"latitude": 40.6397222,
"longitude": -73.778889,
"countryCode": "US",
"country": "United States"
},
"departureDate": "2026-11-20",
"arrivalDate": "2026-11-20",
"departureTime": "18:26",
"arrivalTime": "19:46",
"durationMinutes": 80,
"airlineCode": "B6",
"flightNumber": "717",
"airline": "JetBlue",
"aircraft": "Airbus A220-300 Passenger",
"seatPitch": "32 in",
"cabinClass": "Economy",
"amenities": [
"Above average legroom (32 in)",
"Free Wi-Fi",
"In-seat power & USB outlets",
"Live TV",
"Emissions estimate: 68 kg CO2e",
"Contrail warming potential: Medium"
],
"delayNotice": "Often delayed by 30+ min"
}
],
"emissions": {
"co2eKg": 516,
"typicalCo2eKg": 359,
"differencePercent": 44,
"estimateUrl": "https://www.travelimpactmodel.org/lookup/flight?itinerary=SFO-BOS-B6-1834-20261120,BOS-JFK-B6-717-20261120"
},
"baggage": {
"carryOnIncluded": 0,
"checkedIncluded": 0,
"conditionsText": "0 carry-on bags included. 0 checked bags included. Bag fees may apply."
}
}
}
FieldTypeRequired?Meaning
originStringOptionalRequested starting airport. Omitted for URL searches when not known from input.
destinationStringOptionalRequested destination airport. Omitted for URL searches when not known from input.
viaStringOptionalRequested intermediate airport, confirmed by the saved fare’s one-stop result card. The return-flight connection is not independently checked.
legsArray of objectsOptionalEach object has origin and destination airport codes for one requested leg. For a via row, the two legs describe the confirmed outbound connection; they are not separate booked tickets.
departureDateStringOptionalRequested departure-date text.
returnDateStringOptionalRequested return-date text.
searchUrlString (URL)RequiredPublic Google Flights search page used for this fare observation.
priceNumberRequiredPositive displayed fare amount for this card. Rows are ordered by price within each search, not globally across different searches.
currencyStringRequiredThree-letter currency code associated with the fare.
matchedPriceTextStringRequiredPage text that supported the fare extraction.

| tripType | String | Optional | Source fare basis: round trip or one way. | | priceIncludesText | String | Optional | Published taxes, fees, passenger count, and optional-charge statement. | | itinerary | Object | Optional | Source-backed outbound itinerary details described below. |

Itinerary details

All nested fields are optional and absent when the source does not expose them. Numeric zero is retained only when explicitly published, such as no stops or no included bags. Array entries stay associated with their own flight; they are not separate dataset rows.

FieldTypeRequired?Meaning
itinerary.descriptionTextStringOptionalComplete accessible description of the displayed flight card.
itinerary.airlinesArray of objectsOptionalCarriers shown for the itinerary. Each entry can have code, name, accessibilityUrl (public assistance page), and logoUrl (published airline image).
itinerary.departure, itinerary.arrivalObjectsOptionalEach contains an airport object, source timeText, and source dateText. These describe actual displayed endpoints, rather than requested route labels.
itinerary.durationTextStringOptionalDisplayed total outbound journey duration.
itinerary.durationMinutesIntegerOptionalTotal duration converted from the displayed hours/minutes.
itinerary.stopCountIntegerOptionalPublished number of outbound stops; 0 means nonstop.
itinerary.layoversArray of objectsOptionalOrdered connections containing airport, source city, durationText, and parsed durationMinutes. Nonstop flights omit this array.
itinerary.segmentsArray of objectsOptionalOrdered individual flights, with the fields below.
itinerary.baggageObjectOptionalcarryOnIncluded and checkedIncluded are published bag counts; conditionsText retains the card’s allowance statement. Missing information is not treated as a free allowance.
itinerary.emissionsObjectOptionalco2eKg and typicalCo2eKg are source carbon-dioxide-equivalent estimates in kilograms; differencePercent is the source comparison with a typical flight; estimateUrl links to its public Travel Impact Model flight lookup. These are estimates, not measured emissions.

Airport objects appear under endpoints, layovers, and segment origins/destinations. Their fields describe the airport, not the city centre or a guessed passenger address.

FieldTypeRequired?Meaning
codeStringOptionalSource three-letter IATA airport code.
nameStringOptionalFull source airport name.
cityStringOptionalCity explicitly associated with this airport by the source.
countryCodeStringOptionalPublished two-letter country code.
countryStringOptionalPublished country name.
latitude, longitudeNumbersOptionalSource airport coordinates in decimal degrees.

Each itinerary.segments entry supports:

FieldTypeRequired?Meaning
origin, destinationAirport objectsOptionalActual segment endpoints with the airport fields above.
departureDate, arrivalDateStrings (YYYY-MM-DD)OptionalSource calendar dates for this segment; arrival may be on a different day.
departureTime, arrivalTimeStrings (HH:mm)OptionalLocal airport times. No UTC offset or timezone is inferred.
durationMinutesIntegerOptionalSource flight duration in minutes, excluding the following layover.
airlineCode, flightNumber, airlineStringsOptionalSource carrier code, flight number, and displayed carrier name. Their combination with dates/endpoints identifies the flight; no artificial itinerary ID is added.
aircraftStringOptionalPublished aircraft type, subject to airline changes.
seatPitchStringOptionalSource legroom value with its original unit.
cabinClassStringOptionalCabin shown in the expanded segment detail panel.
amenitiesArray of stringsOptionalComplete published segment amenity list, including Wi-Fi/power/entertainment and segment environmental advisories when shown.
delayNoticeStringOptionalPublished segment delay advisory, when present.

Only source-published values are saved. Detail panels add cabin and amenity information; if opening one fails, available base fares remain and the run is marked limited. Airline and airport values may be absent if the page’s structured data is unavailable or changes. English (en) is recommended; other languages and layouts may not be recognized. The Actor does not currently expand additional result lists, select return flights, inspect sellers or booking pages, or verify seat inventory, refund rules, fare brands, booking URLs, or availability. Public pages can change prices while loading, so each saved fare and its details are read from the same final page. Search-based observations can overlap across separate searches. You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

Run status and output summary

A run is SUCCEEDED when one or more validated fare rows were saved. If a search, optional detail collection, or dataset write fails and the run saves at least one row, it succeeds with limited results and the summary marks isPartial as true. Reaching maxItems is normal completion. A run with no real fare rows—including blocked, empty, unpriced, invalid, or diagnostic-only results—FAILED with exit code 1. No dummy rows are added.

The separate Output summary link opens the OUTPUT_SUMMARY record in the run's default Key-value store. The summary has exactly these three fields:

FieldTypeRequired?Meaning
statusStringRequiredSUCCEEDED when at least one real fare row was saved; otherwise FAILED.
itemsStoredNonnegative integerRequiredNumber of validated fare rows whose dataset writes completed.
isPartialBooleanRequiredtrue when collection encountered an issue and one or more fare rows were saved.

Illustrative summary:

{
"status": "SUCCEEDED",
"itemsStored": 3,
"isPartial": false
}

Detailed request failures stay in the run log, separate from both the dataset rows and the compact summary.

Tips, access, and costs

  • Start with one route and a low maxItems value. Increase the limit only when the public page returns fare details.
  • Use a public Google Flights URL if you need a particular search setup. A URL alone does not guarantee that its fares are present in the returned HTML.
  • Recheck taxes, baggage allowances, sellers, itinerary details, availability, and current price with Google Flights and the booking provider before purchasing.
  • HTTP requests are bounded and retried at most once. Each rendered search has a separate bounded time budget and uses the same browser session across searches. Provider access boundaries and rate limits are respected; the Actor does not try to bypass them.
  • Expanding flight details requires browser time. Apify usage cost depends on run time, storage, and the pricing on your Apify account. Check the Actor's current pricing and your account usage in Apify Console; no fixed price is stated here.
  • For help, share the run ID, input shape, and relevant run-log message through the Actor's Apify support channel or the repository issue tracker. Do not include account credentials in an issue.