Google Flights Scraper avatar

Google Flights Scraper

Pricing

from $0.04 / 1,000 flights

Go to Apify Store
Google Flights Scraper

Google Flights Scraper

Scrape Google Flights: the full list of flights of a route and date, one-way or round trip, with price, airlines, times, stops, layovers and CO2. Export to JSON, CSV or Excel.

Pricing

from $0.04 / 1,000 flights

Rating

0.0

(0)

Developer

Nice Dev

Nice Dev

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

18 days ago

Last modified

Features

Limited permissions

Share

✈️ What is Google Flights Scraper?

Google Flights Scraper extracts flights from Google Flights: price, airlines, flight numbers, departure and arrival times, duration, stops and layovers, aircraft, legroom, CO2 versus the usual, and Google's price level for the search, one-way or round trip, for several routes and dates in one run. You get the full list of flights of each search, not only the 8 to 22 "best" flights most tools return. Tick the options you need to add every seller of a flight with its price and booking link, the return flights, a day-by-day price calendar, Google Explore destinations and a search summary with 60 days of price history. It works as a Google Flights API alternative: run it on a schedule, call it from your code, or plug it into Make, Zapier or n8n.

Type a departure and an arrival airport (CDG and JFK), pick your dates, passengers and currency, click Start, and download the flights in JSON, CSV or Excel. No login, nothing to set up, and it is fast: one search gives about 80 to 190 flights, and a whole run takes about 10 to 25 seconds in our tests. Dates can be relative (30 days from the run date), so a saved task always looks the same distance ahead.

📋 What data can you extract from Google Flights?

One item per flight, 65 fields. The rows marked option come only when you tick the matching option; each option adds its own rows and is charged on its own, only when ticked (see Pricing).

CategoryWhat you get
✈️ Flightairline and its code, every airline of the trip, the airlines that really fly it, flight numbers, airline logo — Vueling, VY7643
🕒 Timeslocal departure and arrival time, arrival on the next day or not, total travel time — 2026-12-01T20:50, 135 minutes
📍 Airportsdeparture and arrival airport codes, names and cities — LHR, Heathrow Airport, London
🔁 Stops and layoversnumber of stops, each connection with its airport, city and length
💺 Segments and aircrafteach flown leg: aircraft, legroom, overnight or not, the other flight numbers it is sold as, its CO2 — Airbus A320, 29 in
💰 Pricetotal price for all passengers (the whole trip for a round trip), currency, Google's price level for the search and the usual price range — 114 USD, low
🌱 CO2Google's CO2 estimate for the flight, the usual one for the route, and the difference in percent — 101 kg, -1 %
🧳 Bagswhether the fare includes overhead bin access (basic economy or not), each airline's baggage page
🔗 Linksthe Google Flights page of this exact flight with its sellers, the search page, Google's booking token
🔎 Searchroute and dates searched, one-way or round trip, cabin, passengers, rank in Google's order, Google's top flights
🏷️ Sellers (option)every place that sells the ticket (the airline and the travel agencies): price, fare name, website, booking link — Expedia, Main Flex
🔙 Return flights (option)the return flights Google offers with an outbound flight, with the price of the whole trip
📅 Price calendar (option)day by day, the cheapest price of a departure on that day, with the airline and stops of the cheapest flight
🌍 Explore destinations (option)where you can fly from an airport for your dates: city, country, GPS position, photo and cheapest price — Lisbon, Portugal
📊 Search summary (option)per search: lowest price, Google's price level and usual range, the price history of the last 60 days, the cheapest nearby dates
🔔 Price changes (option)for a flight already delivered: its previous price, the change and the change in percent

Every field, with an example, is listed in the Output section below.

A field that does not apply to a row (a seller on a flight row, a flight number on a calendar day) is null or an empty list, never missing, so every row has the same columns. The column recordType tells the kind of each row.

✅ Why use Google Flights Scraper?

  • 📜 The full list, not only the top flights: about 80 to 190 flights per search in our tests, where most tools stop at Google's 8 to 22 "best" flights.
  • 🚀 Fast: a whole run of one search takes about 10 to 25 seconds; with 10 flights and the return flights, the summary and a 10-day price calendar added, about 10 to 15 seconds; the options that open a browser (sellers, Explore) take 20 to 45 seconds.
  • 🗂️ Many searches in one run: several departure airports × destinations × a range of departure dates, ready-made routes with their own dates, and pasted Google Flights links, with a cap per search if you want one.
  • 🎯 Google's own filters, and more: passengers, cabin, stops, airlines or alliances and bags are sent to Google; max price, departure and arrival hours, total duration, layover length, connecting airports, excluded airlines, basic economy and lower emissions are applied to the full list.
  • 💺 Details nobody else gives in the base row: legroom, aircraft, the other flight numbers a flight is sold as, CO2 versus the usual, Google's price level and usual range, and the link of the exact flight.
  • 🧩 Pay for what you use: sellers, return flights, calendar, Explore, search summary and price changes are options, unticked by default.
  • 🔔 Monitoring built in: tick Only new flights, schedule the Actor, and each run saves (and charges) only the flights it has never delivered before. Add Price changes to get a delivered flight again when its price moves.
  • 🔌 API, scheduling, monitoring, integrations (Make, Zapier, n8n, Google Sheets…), proxy rotation and JSON/CSV/Excel export via the Apify platform.

🚀 How to scrape Google Flights

  1. Create a free Apify account.
  2. Open Google Flights Scraper and type a From and a To airport or city code (e.g. CDG and JFK, or PAR for every Paris airport).
  3. Or fill Routes (CDG-JFK 2026-12-10), or paste your own Google Flights search links into Google Flights links (their airports, dates, passengers, cabin, stops and airlines are kept).
  4. Pick the Departure date (and a Return date or a Trip length for a round trip), the passengers and the currency, set Max flights (100 by default, 0 = no limit) — and Max flights per search when you run several searches — then click Start.
  5. Tick the options you want (search summary, return flights, sellers, calendar, Explore) and download the dataset in JSON, CSV, Excel or via API.

With no route and no link, the Actor runs an example (CDG to JFK, at most 20 flights) instead of stopping.

💰 How much does it cost to scrape Google Flights?

This Actor uses pay per event pricing: a price per flight saved (flight) plus a small fee per run start (apify-actor-start). The exact amounts, for every Apify plan, are on the Pricing tab of this page. Platform usage (compute, proxy) is included in the price.

Every option is unticked by default and charged only when ticked, per row it delivers:

OptionEventCharged per
Search summarysearch-summarysummary row (one per search)
Return flightsreturn-flightreturn flight saved (set how many outbound flights get theirs with outbound flights to expand)
Booking options (sellers)booking-optionseller saved (set how many flights get theirs with flights to expand); an offer Google gives no booking link for is saved free
Price calendarcalendar-dayday with a price (days with no price are listed free; set the number with Price calendar: days)
Explore destinationsexplore-destinationdestination saved (cap it with Explore: max destinations)
Price changesprice-changeflight that comes back because its price moved, on top of the flight itself

The rows of the options do not count in Max flights: that cap is for the flights only. A search Google returns no flight for gives one free no-flights row, so you know it came back empty; that free row takes one place of Max flights. A flight that a filter removes is neither saved nor charged. Set the run option maximum cost per run to cap what a run can spend: the Actor stops saving rows when the cap is reached.

⚙️ Input

One-way, Paris to New York, 30 days from the run date:

{
"origin": "CDG",
"destination": "JFK",
"departureDate": "30 days",
"maxItems": 100
}

Round trips of 5 days from every London airport to three cities, nonstop only, cheapest first, 30 flights per search:

{
"origin": "LON",
"destinations": ["BCN", "MAD", "LIS"],
"departureDate": "21 days",
"tripLengthDays": 5,
"maxStops": "0",
"sortBy": "price",
"maxItemsPerQuery": 30,
"currency": "GBP",
"country": "gb"
}

A week of departure days on one route, morning flights under 300, no basic economy:

{
"routes": ["JFK-LAX"],
"departureDate": "14 days",
"departureDateTo": "20 days",
"maxPrice": 300,
"departureTimeFrom": 6,
"departureTimeTo": 12,
"excludeBasicEconomy": true
}

A round trip with every option ticked (sellers and Explore need a run memory of at least 1 GB):

{
"origin": "LHR",
"destination": "BCN",
"departureDate": "25 days",
"returnDate": "30 days",
"includeSearchSummary": true,
"includeReturnFlights": true,
"returnFlightsForTop": 3,
"includeBookingOptions": true,
"bookingOptionsForTop": 2,
"includeCalendar": true,
"calendarDays": 60,
"includeExplore": true,
"maxExploreDestinations": 20
}
FieldNotes
origin, originsDeparture airport as a 3-letter IATA code (CDG, JFK), or a city code that covers all its airports (PAR, NYC, LON). Several codes separated by commas (CDG, ORY), or one per line in origins: every departure airport is searched to every destination (max 500 searches per run).
destination, destinationsArrival airport or city, same codes: JFK, BCN, NYC. destinations adds more, one per line.
routesReady-made routes, one per line: CDG-JFK (on the dates of the form), CDG-JFK 2026-12-10 (one-way), CDG-JFK 2026-12-10 2026-12-17 (round trip); a date may be a period from the run date: LHR-BCN 30 days 35 days. Max 500 routes.
startUrlsGoogle Flights search links, copied from the address bar after a search on Google Flights: their airports, dates, passengers, cabin, stops and airlines are kept, and the full list of flights is read. Max 500 links (one link = one search).
departureDateOutbound day: a date (2026-12-20) or a period from the run date (30 days, 2 weeks, 3 months). Empty = 30 days from the run date. Google Flights sells up to about 330 days ahead.
departureDateToLast departure day of a date range (2026-12-20, 45 days): every day from Departure date to this one is its own full search, 60 days at most.
returnDate, tripLengthDaysRound trip: a return day (2026-12-27, 37 days), or a trip length in days after each departure day, used when the return date is empty (the return must be within 330 days of today). Both empty = one-way. Round-trip prices are for the whole trip.
adults, children, infantsInSeat, infantsOnLapPassengers: adults aged 12 or more (1 by default), children aged 2 to 11, infants under 2 in their own seat or on a lap (one per adult at most); 9 passengers in all.
cabinClasseconomy (default), premium_economy, business, first.
maxStopsMost stops, sent to Google: any (default), 0 (nonstop only), 1, 2.
airlinesOnly these airlines, sent to Google: 2-character IATA codes (AF, DL, B6) or an alliance (ONEWORLD, SKYTEAM, STAR_ALLIANCE). Empty = all airlines.
carryOnBags, checkedBagsBags per passenger (carry-on 0 or 1, checked 0 to 2): prices then include the airline's bag fees, and fares without overhead bin access disappear — as with the Bags filter of Google Flights.
currencyCurrency of every price, among 40: USD (default), EUR, GBP. A pasted link keeps its own currency.
languageLanguage of airport, city and airline names, among 32: en (default), fr, de.
countryMarket Google Flights prices for, among 46: us (default), gb, fr. Fares and sellers can differ by market.
sortBybest (default: Google's own order, top flights first), price, duration, departure, arrival. The whole list is sorted before any cap, so a cap keeps the cheapest, the shortest…
maxItems, maxItemsPerQueryMost flights for the whole run (100 by default) and for each search (route × date); 0 = no limit. The rows of the options are not counted.
includeSearchSummaryOption: one summary row per search — lowest price, Google's price level and usual range, the price history of the last 60 days and the cheapest nearby dates. No extra page.
includeReturnFlights, returnFlightsForTopOption, round trips only: the return flights of the first outbound flights of each search (3 by default, up to 50, in the order of Sort by), with the price of the whole trip.
includeBookingOptions, bookingOptionsForTopOption: every seller of the first flights of each search (3 by default, up to 50), with its price and booking link. Opens a real browser: give the run at least 1 GB of memory.
includeCalendar, calendarDaysOption: the cheapest price of each departure day from the departure date, 30 days by default, up to 120. A round trip keeps the same trip length.
includeExplore, maxExploreDestinationsOption: the destinations Google Explore suggests from each departure airport, with their cheapest price for the dates (50 by default, up to 500). Opens a real browser: at least 1 GB of memory.
maxPriceHighest price in Currency (the whole trip for a round trip); 0 = no limit. When set, a flight with no price is dropped.
maxDurationMinutesLongest door-to-door time in minutes, layovers included: 600 = 10 hours; 0 = no limit.
departureTimeFrom, departureTimeToLocal departure hour window, both ends included: 6 and 12 keep the flights leaving from 06:00 to 12:00. The end goes up to 24 (midnight). Empty = any.
arrivalTimeFrom, arrivalTimeToThe same for the local arrival hour.
minLayoverMinutes, maxLayoverMinutesEvery connection must last at least / at most this many minutes (60, 240); 0 = no limit. Nonstop flights are kept.
connectingAirports, excludeConnectingAirportsConnect only via these airports (KEF, DOH; nonstop flights are kept), or never via those of the second list.
excludeAirlinesDrop a flight when one of its segments is marketed by, or also sold under a flight number of, one of these airlines (2-letter codes): FR, U2. The operating carrier is only given by name and is not matched.
excludeBasicEconomy, lessEmissionsOnlyDrop the flights whose shown fare (the cheapest one, the price you get) has no overhead bin access (basic economy), a dearer fare with a bag is not looked at, and a flight shown without a price is kept; keep only the flights whose CO2 estimate is below the usual one for the route.
excludeKeywordsDrop the flights whose airline, aircraft or airport names contain one of these whole words ("A320" does not drop "A320neo"; case ignored): Ryanair, Boeing 737.
stateKey, onlyNew, resetStateMonitoring: only the flights never delivered under this memory key (cdg-jfk) for the same search; resetState forgets the memory.
trackPriceChanges, priceChangeThresholdPrice changes (option, needs onlyNew): a flight already delivered comes back when its price has moved by at least this percentage (3 by default, from 0.1 to 100).
AdvancedproxyConfiguration (Apify proxy by default, included in the price; the residential proxy is not available), maxConcurrency, maxRequestsPerMinute, minRequestIntervalMs, maxRequestRetries, debugLog.

📦 Output

One real flight of a London to Barcelona round trip, options off (shortened to about 30 lines: the url is cut, the segment and a few fields left out):

{
"recordType": "flight",
"id": "2026-12-01_VY7643_r2026-12-06_economy",
"url": "https://www.google.com/travel/flights/booking?…",
"searchOrigin": "LHR",
"searchDestination": "BCN",
"tripType": "round-trip",
"departureDate": "2026-12-01",
"returnDate": "2026-12-06",
"cabinClass": "economy",
"price": 114,
"currency": "USD",
"isBest": true,
"rank": 1,
"airline": "Vueling",
"airlineCode": "VY",
"operatedBy": ["Iberia", "British Airways"],
"flightNumbers": ["VY7643"],
"origin": "LHR",
"originName": "Heathrow Airport",
"destination": "BCN",
"destinationName": "Josep Tarradellas Barcelona-El Prat Airport",
"departureTime": "2026-12-01T20:50",
"arrivalTime": "2026-12-02T00:05",
"arrivalDayOffset": 1,
"durationMinutes": 135,
"stops": 0,
"aircraft": ["Airbus A320"],
"carryOnIncluded": false,
"co2Kg": 101,
"typicalCo2Kg": 102,
"co2DiffPercent": -1,
"priceLevel": "low",
"typicalPriceLow": 120,
"typicalPriceHigh": 265,
"seller": null,
"previousPrice": null,
"scrapedAt": "2026-11-06T23:27:56.824Z"
}

You can download the dataset in various formats such as JSON, HTML, CSV or Excel.

All 65 fields

FieldsWhat you get
recordType, id, urlRow: flight, return-flight, booking-option, calendar-day, explore-destination, search-summary or no-flights; stable key 2026-12-01_VY7643_economy (a round trip: 2026-12-01_VY7643_r2026-12-08_economy; with other passengers than 1 adult or with bags it ends with _p2-1-0-0 (adults-children-infants in seat-infants on lap) and _b1-0 (carry-on-checked)); the Google Flights page of this exact flight
searchUrl, searchOrigin, searchDestination, tripTypeSearch: the search page, LHR, BCN, one-way or round-trip
departureDate, returnDate, cabinClass, passengers2026-12-01, 2026-12-06 (null for one-way), economy, adults, children and infants of the search
price, currency, priceLevel, typicalPriceLow, typicalPriceHighPrice: 114 for all passengers (the whole trip for a round trip), USD, Google's low / typical / high for the search, the usual range 120 to 265
isBest, rankone of Google's top flights or not, position in Google's order (1 = first)
airline, airlineCode, airlines, operatedBy, flightNumbers, airlineLogoFlight: Vueling, VY, every airline of the trip, the airlines that fly it, VY7643, logo image
origin, originName, originCity, destination, destinationName, destinationCityAirports: LHR, Heathrow Airport, London, BCN, Josep Tarradellas Barcelona-El Prat Airport, Barcelona (the suggested city on an Explore row)
departureTime, arrivalTime, arrivalDayOffset, durationMinutesTimes: local 2026-12-01T20:50 and 2026-12-02T00:05 (airport time, no time zone), 1 = next day, 135 minutes in all
stops, layovers0 = nonstop; each connection: airport code, name, city, minutes
segments, aircrafteach flown leg: flight number, airline, airports, times, minutes, aircraft, legroom (29 in, 29), overnight, other flight numbers it is sold as, CO2; Airbus A320
carryOnIncluded, baggagePolicyUrlsBags: false for a fare without overhead bin access (basic economy), each airline's baggage page
co2Kg, typicalCo2Kg, co2DiffPercentCO2: 101 kg per passenger, 102 usual for the route, -1 %
bookingTokenGoogle's token of this flight and fare
outboundIdreturn flight and seller rows: the id of the flight they belong to
seller, sellerCode, isAirline, bookingUrl, fareName, sellerDomain, sellerPrice, sellerCurrencySellers (option): Expedia, Google's seller code, sold by the airline or not, booking link, Main Flex, www.expedia.com, the price in the seller's own currency when it differs
date, cheapestPricePrice calendar (option): the departure day priced and its cheapest price; cheapestPrice is also the lowest price of an Explore or summary row
destinationCountry, latitude, longitude, destinationImageExplore destinations (option): Portugal, 38.72, -9.14, Google's photo of the city
priceHistory, cheapestDatesSearch summary (option): price per day over the last 60 days, the cheapest nearby departure and return dates with their price
previousPrice, priceChange, priceChangePctPrice changes (option, with Only new flights): the price delivered before, the change, the change in percent
scrapedAtISO timestamp of the extraction

💡 Tips

How to get more results

Each search already gives Google's full list of flights for the route and date, not only its top flights. To get more, search more: use a city code (PAR, NYC, LON) to cover all its airports, add destinations, or set Last departure date for a range of up to 60 departure days. Set maxItems to 0 for no cap, and keep Stops on any.

Google now and then renders a part of its list (26 flights where the same search gave 125 a few minutes later). The Actor spots it by the range of prices and durations the page announces, reads the page again up to two times, and if the list stays short it delivers it with a warning in the log.

How to reduce costs

The price is per flight saved, so the levers are maxItems, maxItemsPerQuery (with Sort by to keep the cheapest or the shortest), the filters (a flight they remove is never charged) and onlyNew for recurring runs (you never pay twice for the same flight). For the options, cap what each search brings: returnFlightsForTop, bookingOptionsForTop, calendarDays and maxExploreDestinations. For the cheapest price of each day without the flight lists, tick Price calendar instead of a date range.

Several searches in one run

Every departure airport is searched to every destination on every departure day: 2 airports × 3 destinations × 2 days = 12 searches, up to 500 per run. Routes add ready-made pairs, each with its own dates if you want, and Google Flights links add pasted searches. Set maxItemsPerQuery to give every search its own cap: without it the first searches can use up the whole maxItems budget.

Monitoring: only the new flights

Tick Only new flights (onlyNew), use fixed dates (2026-12-20: a relative date such as 30 days moves the search every day, so every flight is new again) and schedule the Actor. The first run returns everything; each later run skips the flights already delivered for the same search: they are not saved and not charged. The search summary, the calendar days and the Explore destinations come back at every run (and are charged again), as the reading of that day. The memory lives in a named key-value store of your account (google-flights-scraper-seen, up to 150,000 listings per key) and is only updated with flights that really reached the dataset, so a failed run never hides anything. Give each schedule its own stateKey (two schedules sharing a key would hide each other's flights), and tick resetState once to start over.

Tick Price changes (trackPriceChanges) as well and a flight already delivered comes back, whole, when its price has moved by at least Price change threshold (%) (3 % by default) since the run that delivered it. The row carries previousPrice, priceChange and priceChangePct; it is charged the flight price plus the price-change event, and a flight whose price did not move enough is skipped free.

Follow prices over time

To be told only when a price moves, tick Only new flights and Price changes (above). To keep the whole series instead, leave Only new flights off and schedule a task with a relative departure date (30 days): every run prices the same distance ahead, and each row carries its price and scrapedAt. Tick Search summary to get Google's price history of the last 60 days in one row, and Price calendar for the cheapest price of each departure day of the coming weeks.

Sellers and Explore: give the run more memory

Booking options (sellers) and Explore destinations open a real browser for the run. Set the run memory to at least 1 GB (Run options → Memory): with less, the run stops at the start and says so, before any flight is read. Sellers take about 2 to 4 seconds per flight; in our tests 2 flights gave 58 sellers (Vueling, British Airways, Iberia and about 15 travel agencies such as Booking.com, Expedia, Trip.com, eDreams and Kiwi.com), one-way and round trip alike. Explore gave 20 destinations, at the prices of the Explore page.

🔌 Integrations and API

Call the Actor via the Apify API, the JavaScript or Python clients, or connect it with integrations and webhooks (Make, Zapier, n8n, Google Sheets, Slack, Airtable…). The dataset can be fetched as JSON or CSV from any tool.

🤖 Use with AI agents (MCP)

AI agents (Claude, ChatGPT, Cursor…) can find and run this Actor through the Apify MCP server, billed to their Apify account like any run. It returns one item per Google Flights flight. Actor id: nice_dev/google-flights-scraper; MCP server with this Actor only: https://mcp.apify.com/?tools=fetch-actor-details,nice_dev/google-flights-scraper.

Smallest input, for a cheap first call:

{
"origin": "CDG",
"destination": "JFK",
"maxItems": 10
}

Key output fields: price, currency, airline, flightNumbers, departureTime, arrivalTime, durationMinutes, stops.

Cost: a price per flight saved plus a small fee per run start, and each ticked option per row it adds, see the pricing section above and the Pricing tab. Cap each call with maxItems and, through the API, with the run option maxTotalChargeUsd.

❓ FAQ

The Actor only reads what Google Flights shows publicly to any anonymous visitor. It logs in to nothing and solves no captcha. Results are flight schedules, fares and sellers: they hold no personal data. You are responsible for using the data in compliance with Google's Terms of Service and applicable law. This Actor is not affiliated with Google.

Does it need a login or a proxy?

No login. The proxy is included in the price: leave the default setting (the residential proxy is not available). A request the site turns away is retried at once on a new proxy session, up to 10 times on top of the retries (without a proxy, after a pause of 5 seconds, doubled at each retry up to 150 seconds). Lower Max requests per minute if the log shows Google's "unusual traffic" page.

Are the prices the ones I see on Google Flights?

They are the prices Google Flights shows to a visitor who is not logged in, for the passengers, cabin, currency and market you asked for. A price is the total for all passengers; for a round trip it is the price of the whole trip, as on Google Flights. Prices are live: two runs a few minutes apart can differ.

Is the data safe to open in Excel or to show on a web page?

Every text is Google's own (airline, airport and city names, the sellers' fare names), copied as it is. The Actor leaves it as it is, so that the JSON and the API give the real value: when you open a CSV in Excel or Google Sheets, import the text columns as text. On a web page, escape every field like any text that comes from another site.

Known limitations

  • Multi-city trips are not available: Google Flights gives no list for them, and a pasted multi-city link is refused. Search each leg as a one-way route instead.
  • Delays, on-time rates and self-transfer trips (separate tickets) are not given by Google Flights.
  • Round trips: the list gives the outbound flights, each with the price of the whole trip, as Google shows it; the return flights come with the Return flights option.
  • Dates: with no departure date the search is 30 days after the run date. Google Flights sells up to about 330 days ahead: a past or later date is refused, and the whole run stops with that message. A pasted link keeps its own dates, so a link whose date is past is refused too: in a scheduled task, use a relative Departure date or paste a fresh link.
  • Passengers: 9 at most, one infant on a lap per adult, as on Google Flights.
  • Sellers and Explore need a run memory of at least 1 GB (see Tips).
  • onlyNew remembers flights, not their price: without Price changes, a flight whose price moved is not returned again.
  • Two runs sharing the same stateKey at the same time may both return the same new flight.

A run that reaches its timeout stops itself about 45 seconds before it: no new page is asked, what it read is saved and, with onlyNew, remembered, and the run ends Succeeded with "Stopped before the run's timeout". Resurrect it to go on from there, or give the next run a longer timeout (Run options).

A run the platform stops without warning (out of memory)

  • Resurrect it: it goes on from where it stood at most a minute before the stop. What it had read since is read again, and the flights already saved are skipped: none is delivered or charged twice, and maxItems still counts them.
  • With onlyNew, the memory is saved after each write (at most once every 2 seconds): resurrect the stopped run and the flights it had saved meanwhile join the memory; leave it stopped for good, and the next run may return the flights of its last 2 seconds once more.

Something doesn't work?

The last line of the log counts the flights saved, the other rows saved and the flights filtered out, and the requests that failed after every retry. Those requests are listed, with the reason, in the FAILED_REQUESTS record of the run's key-value store. A search Google returns no flight for is not a failure: it gives one free no-flights row. A run that saved nothing and had failed requests fails, and its last message gives the cause.

If Google Flights changes its pages, you are told instead of paying for blank rows. If the first 20 listings read all lack their airline code, their airports, their departure or arrival time, their duration, their segments or their flight numbers, the run saves nothing more, stops and fails, and its last message names the missing field: at most those first flights are charged. A flight that Departure from, Arrival from or Max total duration drops because it has no time or duration at all counts among those 20. A run of fewer flights (a scheduled onlyNew run that finds a few new ones, a small Max flights) is checked at its end, from 5 listings: its flights are already saved, and the run fails with the missing field instead of ending green.

🛟 Support

Open an issue in the Issues tab with a link to your run: the run log and the FAILED_REQUESTS record of the key-value store show exactly which requests failed and why.