Google Flights Scraper
Pricing
from $0.05 / 1,000 flights
Google Flights Scraper
Google Flights scraper API for flight prices and itineraries on the routes and dates you choose, one-way or round trip: fare, airlines, flight numbers, times, stops, layovers and emissions, plus Google's price outlook. Filters for stops, airlines, price, times and layovers. $0.047 per 1,000 flights.
Pricing
from $0.05 / 1,000 flights
Rating
5.0
(1)
Developer
Dami's Studio
Maintained by CommunityActor stats
1
Bookmarked
1
Total users
0
Monthly active users
6 days ago
Last modified
Categories
Features
Share
Google Flights scraper for flight prices on the routes and dates you choose: give it airports or cities and get one row per flight, with the fare, airlines, flight numbers, departure and arrival times, stops, layovers and emissions.
One-way or round trip, for one date or every day of a month. Each row also carries Google's own read of the route's prices that day: low, typical or high, with the usual range.
Fares are what Google Flights shows at the moment of the run. They move during the day, so a schedule that runs every morning gives you the trend.
| Input | Airport or city codes and dates (JFK to LAX on 2026-12-10), route lines, or links copied from Google Flights |
| Output | One row per flight: price, currency, airlines, flight numbers, times with time zones, duration, stops, layovers, each segment with aircraft and legroom, emissions, Google's price outlook |
| Ceiling | 100 searches per run, 500 flights per search |
| Speed | About 70 flights from four searches in 4 to 6 seconds (measured on our runs) |
| Account needed | None from you |
| Price | $0.047 per 1,000 flights, the same rate on every plan. The free plan's $5 a month covers about 106,000 flights |
| Using an AI agent? | |
|---|---|
| Actor | dami_studio/google-flights-scraper |
| Set one field | routes, labelled "More routes" in the Console: one line per search, such as JFK-LAX 2026-12-10 |
| Cap the bill | maxTotalChargeUsd on the run, for example 0.10: it never charges past that |
| MCP, one link | https://mcp.apify.com/?tools=fetch-actor-details,dami_studio/google-flights-scraper |
| How often | Daily, to follow a route's fares toward a trip date |
🔍 What Google Flights Scraper does
It runs each search the way you would on Google Flights and writes down the flights Google lists for it: the best flights first, then the rest, each with its exact fare and the trip leg by leg.
Round trips come two ways. By default each outbound flight carries the round-trip price Google shows for it. Set "Return flights for" and the run also opens the first few outbound flights and lists the return flights that go with each, priced as a pair.
The filters are applied to every row before it is written: stops, airlines in or out, highest price, longest journey, departure and arrival windows, layover length, and the airports a trip may or may not connect in. A flight that fails one is left out and not charged.
📋 What data you get from each Google Flights flight
| What you get | Field |
|---|---|
| The fare and what it covers | price, currency, priceCovers |
| Who flies it | airline, airlineCodes, flightNumbers |
| Where and when, in local time and with the time zone | departureAirport, arrivalAirport, departureDateTime, arrivalDateTime, departureDate, departureTime, arrivalDate, arrivalTime |
| How long and how many stops | durationMinutes, stops |
| Each connection | layovers (airport, city, minutes, change of airport) |
| Each flight of the trip | segments (flight number, airline, airports, times, minutes, aircraft, legroom, emissions, other flight numbers it is sold under) |
| Emissions next to the route's typical figure | emissionsKg, typicalEmissionsKg, emissionsVsTypicalPercent |
| Google's read of today's prices | priceLevel, lowestPrice, typicalPrice, typicalPriceLow, typicalPriceHigh, priceHistory (optional) |
| Where it sits in Google's list | rank, isBestFlight |
| The search | origin, destination, searchDepartureDate, searchReturnDate, tripType, leg, cabinClass, adults, children, searchUrl |
| Return flights | outboundFlightNumbers, outboundDepartureDateTime on each return row |
▶️ How to scrape Google Flights prices
- Open Google Flights Scraper and click Try for free.
- Type airport or city codes into From and To, such as JFK and LAX.
- Set Departure date, and Return date for a round trip. Last departure date searches every day up to it.
- Pick any filters, then Start.
- Open the Output tab, or export the rows as CSV, Excel or JSON.
An empty run returns one free sample row showing the shape of the output.
💰 How much does it cost to scrape Google Flights?
$0.047 per 1,000 flights, the same rate on every plan. The free plan's $5 a month covers about 106,000 flights.
Not charged: the sample row, note rows, and flights your filters leave out. The price outlook and the segments on each row cost nothing extra.
📥 What you give it
| Field | What it does | Default |
|---|---|---|
origin, destination | Airport or city codes; several, comma-separated, are searched together | none (prefill JFK to LAX) |
departureDate, returnDate | YYYY-MM-DD, or +14 for 14 days from the run; no return date means one way | 30 days from today; none |
tripLengthDays | A round trip without a return date: come back this many days later | none |
departureDateTo | Search every day up to this date, at most 31 days | none |
routes | More searches, one per line: JFK-LAX 2026-12-10, LHR-JFK 2026-12-10 2026-12-17 for a round trip, JFK-MIA +14, or JFK-LAX for 30 days ahead | none |
startUrls | Links copied from Google Flights' address bar after a search loads | none |
adults, children | Travellers; prices are for the whole party | 1, 0 |
cabinClass | economy, premium_economy, business, first | economy |
currency, country, language | USD, US, en and so on | USD, US, en |
maxStops | any, 0, 1, 2 | any |
airlines, excludeAirlines | Two-character airline codes | none |
maxPrice, maxDurationHours | Highest fare for the party, longest journey each way | none |
departureTimeRange, arrivalTimeRange | HH:MM-HH:MM, outbound | none |
returnDepartureTimeRange, returnArrivalTimeRange | HH:MM-HH:MM, return flights | none |
minLayoverMinutes, maxLayoverMinutes | Connection length | none |
connectingAirports, excludeConnectingAirports | Airport codes | none |
sortBy | best, price, fastest, departure, arrival, emissions | best |
maxFlightsPerSearch | Flights per search after filters, up to 500 | 100 |
returnFlightsFor | On a round trip, list the return flights of this many outbound flights, up to 10 | 0 |
includePriceHistory | Add Google's price graph for the search, one figure a day for about 60 days | off |
maxItems | Flights in the whole run | no limit |
A code that is not an airport or city, a date written another way, or a time window like 25:00-26:00 stops the run before any search, with a free row saying which field to fix. A bad line in routes gets its own free row and the other lines still run.
{"origin": "BOS","destination": "HNL","departureDate": "2026-12-12","maxStops": "1","sortBy": "price","maxFlightsPerSearch": 30}
📤 What you get back
A flight from a real run on 7 November 2026, with its two segments:
{"recordType": "flight","tripType": "one-way","leg": "outbound","origin": "BOS","destination": "HNL","rank": 5,"isBestFlight": false,"price": 276.5,"currency": "USD","airline": "Alaska","flightNumbers": ["AS 389", "AS 845"],"departureDateTime": "2026-12-12T18:13:00-05:00","arrivalDateTime": "2026-12-13T21:53:00-10:00","durationMinutes": 1960,"stops": 1,"layovers": [{ "airport": "SAN", "airportName": "San Diego International Airport", "city": "San Diego", "durationMinutes": 1180, "changeOfAirport": false }],"segments": [{ "flightNumber": "AS 389", "departureAirport": "BOS", "arrivalAirport": "SAN", "departureDateTime": "2026-12-12T18:13:00-05:00", "arrivalDateTime": "2026-12-12T21:55:00-08:00", "durationMinutes": 402, "aircraft": "Boeing 737MAX 9 Passenger", "legroom": "31 in", "emissionsKg": 297 },{ "flightNumber": "AS 845", "departureAirport": "SAN", "arrivalAirport": "HNL", "departureDateTime": "2026-12-13T17:35:00-08:00", "arrivalDateTime": "2026-12-13T21:53:00-10:00", "durationMinutes": 378, "aircraft": "Airbus A330", "legroom": "31 in", "emissionsKg": 333 }],"emissionsKg": 630,"typicalEmissionsKg": 604,"emissionsVsTypicalPercent": 4,"priceCovers": "one way, 1 passenger","priceLevel": "low","lowestPrice": 277,"typicalPriceLow": 310,"typicalPriceHigh": 640}
| Field | How to read it |
|---|---|
price | For the whole party, in currency; on a round trip it covers both ways |
departureDateTime, arrivalDateTime | Local time at that airport, with its offset from UTC |
lowestPrice, typicalPrice... | Google's figures for the search, rounded; the same on every row of one search, empty on return rows |
legroom | Empty when Google lists none, often in premium cabins |
searchUrl | Opens the same search on Google Flights |
🧾 Reading the output
Real rows have recordType flight. The free sample row has _sample: true. Note rows have ok: false, cost nothing and carry an errorCode:
BAD_INPUT: a field or a route line was unusable.detailssays which.NO_RESULTS: the search ran, and Google listed no flight for it, or none matched your filters.NOT_SERVED: Google Flights did not answer this search during the run. Run it again later.TIME_LIMIT: the run's time limit came first; flights before it are delivered.COST_LIMIT: your maximum cost was reached.UNEXPECTED_ERROR: something broke on our side; please report it.
To keep only flights, filter on recordType being flight. To see return flights alone, filter on leg being return.
💡 What people use it for
- Anyone watching a trip they have to book: a daily run on one route and date, sorted by price, to buy when
priceLevelturnslow. - Travel planners comparing a month of departure dates with "Last departure date", to see which days cost less.
- Analysts tracking fares across many routes for a market or an airline, from
routeslines. - Sustainability teams choosing flights by
emissionsKgnext to the route's typical figure.
A small recipe: put ten routes in routes, set sortBy to price and maxFlightsPerSearch to 1, schedule it daily, and keep the rows: one fare per route per day.
🚧 What it does not do
- It reads fares; it doesn't book or hold a seat.
- Up to 100 searches per run and 500 flights per search.
- Prices are those Google shows to a visitor from the country you set, at the time of the run.
- It is not an official Google tool. Dami's Studio is independent and is not affiliated with or endorsed by Google, or by any other company named on this page.
🧭 Which travel scraper do you need?
| If you want | Use |
|---|---|
| Flight prices and schedules from Google Flights | This one |
| Hotel prices for your dates from Google Hotels | Google Hotels Scraper |
| Hotel prices and rooms on Booking.com | Booking.com Hotels Scraper |
| Hotels, rooms and guest reviews on Agoda | Agoda Hotels Scraper |
| Holiday rentals with prices and ratings | Airbnb Listings Scraper |
❓ Questions people ask
Do I need a Google account to scrape Google Flights?
No. You don't need a Google account. The run reads what a signed-out visitor sees on Google Flights.
Why don't my prices match what I see on Google Flights?
Fares change during the day, and Google prices by the country you browse from. Set country and currency to yours, open the row's searchUrl in a private browser window, and compare with a run started at the same moment.
Can I see which day has the lowest fare?
Yes. Set "Last departure date" up to 31 days after the departure date, sortBy to price and maxFlightsPerSearch to 1. You get the first flight by price for each day; on a round trip the trip length stays the same.
How do I call it from code or an AI assistant?
Use the actor's API tab, or connect an assistant through https://mcp.apify.com/?tools=fetch-actor-details,dami_studio/google-flights-scraper. In Python:
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run = client.actor("dami_studio/google-flights-scraper").call(run_input={"origin": "JFK", "destination": "LAX", "departureDate": "2026-12-10", "maxFlightsPerSearch": 20},max_total_charge_usd=0.10,)for row in client.dataset(run["defaultDatasetId"]).iterate_items():if row.get("ok") is False:continueprint(row["price"], row["airline"], row["flightNumbers"], row["departureDateTime"])
Is scraping Google Flights legal?
The data is public: the run reads Google Flights the way a signed-out visitor sees it, with no account and nothing private. Fares and schedules are about flights, not people. Google's own terms still apply to what you do with the data. Apify's write-up on the legality of web scraping covers the general picture. We are not lawyers.
🆘 If something breaks
Open the Issues tab and include the run's link and the input you used. We read every report.