Google Flights Scraper — Flight Prices, Times, Stops & Airlines avatar

Google Flights Scraper — Flight Prices, Times, Stops & Airlines

Pricing

from $0.05 / 1,000 flights

Go to Apify Store
Google Flights Scraper — Flight Prices, Times, Stops & Airlines

Google Flights Scraper — Flight Prices, Times, Stops & Airlines

Google Flights scraper and API: one-way and round-trip flight prices, airlines, times, duration, stops, layovers and emissions for any route and date. Price insights included.

Pricing

from $0.05 / 1,000 flights

Rating

0.0

(0)

Developer

Tristan Leroux

Tristan Leroux

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

13 days ago

Last modified

Features

Limited permissions

Share

Get Google Flights results as clean data: every flight option for a route and date with its price, airlines, flight numbers, departure and arrival times (with time zone), duration, stops, layovers, aircraft, legroom and CO₂ emissions, plus Google's price insight ("prices are currently low / typical / high", the typical price range and about 60 days of price history). One-way and round trip, many routes per run, any cabin class and passenger mix. No Google account and no API key needed. Export as JSON, CSV or Excel, or use it as a Google Flights API.

What does Google Flights Scraper do?

Enter routes such as JFK → LAX on 2026-12-15 or LHR → CDG, 2026-12-18 to 2026-12-22 and the scraper returns the flight options Google Flights lists for each search, in Google's order:

  • Price for the whole booking (all passengers; round trips: both directions), currency and a formatted price such as $164.
  • Best flights — Google's "Top flights" picks are flagged with isBest, and every option has its rank on the page.
  • Schedule — departure and arrival time in local time with UTC offset (2026-12-20T14:45:00-08:00), total duration in minutes, number of stops.
  • Airlines and flights — airline names and codes, flight numbers (AA 171), the operating carrier when another airline flies it, codeshare numbers.
  • Every leg — airports with names, times, duration, aircraft (Airbus A321neo), legroom (31 in) and CO₂ per leg.
  • Layovers — airport, city, duration, overnight flag and change-of-airport flag.
  • Emissions — CO₂ in kg, the typical CO₂ for the route and the difference in percent.
  • Price insights — low, typical or high, the lowest price right now, the typical price range for the route and the daily price history Google shows.
  • Google Flights link — opens the same search in the browser.

Searches can use any cabin class (economy, premium economy, business, first), up to 9 passengers (adults, children, infants in seat or on lap), a stops filter (nonstop, up to 1 or 2 stops), any currency, language and country market.

Use cases

  • Fare tracking and price alerts — schedule daily runs for your routes and get notified when the price level turns low or the cheapest fare drops.
  • Travel agencies and travel startups — quote real flight options with flight numbers, times, layovers and cabin class without copying from a browser.
  • Corporate travel and procurement — compare carriers, durations and prices on the routes your team flies, and report CO₂ per trip.
  • Airline and airport analysts — see who serves a route, how often, nonstop or with connections, and at what price per market and currency.
  • Content and affiliate sites — build "cheapest flights from X to Y" pages from fresh data.
  • AI agents and assistants — answer "is this a good price?" with Google's own price level and typical range.

How much does it cost?

You pay only for the flight options you get (pay-per-event). Duplicates and options above your limits are never charged; failed searches cost nothing.

EventWhat you pay forFree planPaid plans (from)
flightOne flight option (itinerary with price, times, airlines, stops, legs and price insight)$0.054 per 1,000$0.045 per 1,000

"Paid plans (from)" is the Gold-and-above price; Bronze ($0.051) and Silver ($0.048) sit in between. Apify also charges a tiny actor-start fee per run.

Worked examples (Free plan prices):

  1. Quick check — the prefilled input (JFK → LAX one-way and London → Paris round trip) returned 50 flight options: 50 × $0.054 / 1,000 = $0.0027.
  2. Daily fare monitoring — 20 routes every day for 30 days at about 25 options per route = 15,000 flight options: 15,000 × $0.054 / 1,000 = $0.81 per month ($0.68 on Gold+). Set Max flights per route to 5 to track only the top options and pay a fifth of that.

Apify Free plan includes $5 monthly credit, enough for about 90,000 flight options every month.

How to use Google Flights Scraper

  1. Open the actor in Apify Console and click Try for free.
  2. In Routes, enter one object per search: from and to (IATA airport codes like JFK or city codes like LON), departureDate, and returnDate for a round trip. The form is prefilled with one one-way and one round-trip route using relative dates ("+40 days", "+33 days" → "+36 days"); replace them with fixed dates such as 2026-12-15 if you prefer.
  3. Set passengers, cabin class and stops, and optionally currency, language and country.
  4. Click Start. Each route takes a second or two.
  5. Open the Output tab (Flights and Price insights views) and export as JSON, CSV, Excel or HTML.

Through the API:

  1. Get your API token in Apify Console → Settings → Integrations.
  2. Call the actor with your input JSON (see Integrations and API).
  3. Read the dataset items from the run.

Input

FieldTypeDefaultDescription
routesarray–Required. One object per search: {"from": "JFK", "to": "LAX", "departureDate": "2026-12-15"}; add "returnDate" for a round trip. Dates are YYYY-MM-DD or relative to the run day ("+30 days"), never in the past.
adultsinteger1Passengers aged 12+.
childreninteger0Children aged 2–11.
infantsInSeatinteger0Infants under 2 with their own seat.
infantsOnLapinteger0Infants under 2 on a lap, at most one per adult.
cabinClassstringeconomyeconomy, premium-economy, business or first.
maxStopsstringanyany, 0 (nonstop only), 1 or 2 (stops per direction).
currencystringUSDCurrency of the prices, e.g. EUR, GBP, JPY.
languagestringenLanguage of airport and airline names, e.g. de, fr.
countrystringusMarket (point of sale), e.g. gb, de. Fares can differ by market.
maxFlightsPerRouteinteger100Keep at most this many options per route, best first.
maxItemsinteger1000Hard cap on flight options for the whole run.
proxyConfigurationobjectApify ProxyProxy settings. The default works; blocked requests are retried on a new IP.
debugbooleanfalseLog every retry.

Example — three routes with fixed dates, one of them a round trip:

{
"routes": [
{ "from": "JFK", "to": "LAX", "departureDate": "2026-12-15" },
{ "from": "LHR", "to": "CDG", "departureDate": "2026-12-18", "returnDate": "2026-12-22" },
{ "from": "SFO", "to": "NRT", "departureDate": "2026-12-20" }
]
}

Example — nonstop business class for a family, prices in euros on the German market:

{
"routes": [{ "from": "FRA", "to": "JFK", "departureDate": "2026-12-16" }],
"adults": 2,
"children": 1,
"cabinClass": "business",
"maxStops": "0",
"currency": "EUR",
"language": "de",
"country": "de"
}

Example — relative dates: a daily schedule that always looks 30 days ahead:

{
"routes": [{ "from": "BOS", "to": "ORD", "departureDate": "+30 days", "returnDate": "+34 days" }],
"maxFlightsPerRoute": 5
}

Output

One item per flight option. Example from a real run on 2026-11-12 (price history shortened):

{
"route": { "from": "SFO", "to": "NRT", "departureDate": "2026-12-20", "returnDate": null },
"tripType": "one-way",
"rank": 4,
"isBest": false,
"price": 1432,
"currency": "USD",
"priceText": "$1,432",
"airlines": ["Air Canada"],
"airlineCodes": ["AC"],
"flightNumbers": ["AC 567", "AC 3"],
"departureAirport": "SFO",
"arrivalAirport": "NRT",
"departureTime": "2026-12-20T14:45:00-08:00",
"arrivalTime": "2026-12-22T16:40:00+09:00",
"durationMinutes": 1975,
"stops": 1,
"layovers": [
{
"airport": "YVR",
"airportName": "Vancouver International Airport",
"city": "Vancouver",
"durationMinutes": 1222,
"overnight": true,
"changeOfAirport": false
}
],
"segments": [
{
"airline": "Air Canada",
"airlineCode": "AC",
"flightNumber": "AC 567",
"operatedBy": null,
"from": "SFO",
"fromName": "San Francisco International Airport",
"to": "YVR",
"toName": "Vancouver International Airport",
"departureTime": "2026-12-20T14:45:00-08:00",
"arrivalTime": "2026-12-20T18:08:00-07:00",
"durationMinutes": 143,
"aircraft": "Airbus A220-300 Passenger",
"legroom": "30 in",
"co2EmissionsKg": 142,
"codeshares": []
},
{
"airline": "Air Canada",
"airlineCode": "AC",
"flightNumber": "AC 3",
"operatedBy": null,
"from": "YVR",
"fromName": "Vancouver International Airport",
"to": "NRT",
"toName": "Narita International Airport",
"departureTime": "2026-12-21T14:30:00-07:00",
"arrivalTime": "2026-12-22T16:40:00+09:00",
"durationMinutes": 610,
"aircraft": "Boeing 787",
"legroom": "31 in",
"co2EmissionsKg": 402,
"codeshares": []
}
],
"co2EmissionsKg": 545,
"typicalCo2EmissionsKg": 630,
"emissionsVsTypicalPercent": -13,
"cabinClass": "economy",
"passengers": { "adults": 1, "children": 0, "infantsInSeat": 0, "infantsOnLap": 0 },
"priceInsights": {
"priceLevel": "high",
"lowestPrice": 1432,
"typicalPriceLow": 355,
"typicalPriceHigh": 1300,
"priceHistory": [
{ "date": "2026-09-12", "price": 1290 },
{ "date": "2026-11-12", "price": 1432 }
]
},
"bookingUrl": "https://www.google.com/travel/flights/search?tfs=GhoSCjIwMjYtMTItMjBqBRIDU0ZPcgUSA05SVEIBAUgBmAEC&hl=en&gl=us&curr=USD",
"country": "us",
"language": "en",
"scrapedAt": "2026-11-12T09:19:48Z"
}

Field notes:

  • price — total for all passengers in currency; for round trips the price of the whole trip. null when Google shows "price unavailable" for that option.
  • rank / isBest — position on the Google Flights page and whether the option is one of Google's "Top flights".
  • departureTime / arrivalTime — local time at the airport with its UTC offset (Z = UTC). Without an offset when Google does not provide one.
  • layovers[].overnight — the connection crosses midnight at the layover airport; changeOfAirport — you must change airports (e.g. LGA → JFK).
  • priceInsights — the same for every option of a search: Google's price level for the route and date, the lowest price now, the typical range and the daily price history (about 60 days).
  • emissionsVsTypicalPercent — CO₂ compared with a typical flight on the route (-13 = 13 % less).
  • bookingUrl — opens this exact search on Google Flights.

Integrations and API

Run the actor and get the flights back in one call:

curl -X POST "https://api.apify.com/v2/acts/innolabs~google-flights-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"routes": [{"from": "JFK", "to": "LAX", "departureDate": "2026-12-15"}]}'

Python with apify-client:

from apify_client import ApifyClient
client = ApifyClient("YOUR_TOKEN")
run = client.actor("innolabs/google-flights-scraper").call(run_input={
"routes": [{"from": "LHR", "to": "CDG", "departureDate": "2026-12-18", "returnDate": "2026-12-22"}],
"currency": "GBP",
})
for flight in client.dataset(run["defaultDatasetId"]).iterate_items():
print(flight["price"], flight["airlines"], flight["departureTime"], flight["stops"])
  • Make, Zapier, n8n — use the Apify app or node to start the actor and send flights to Google Sheets, Airtable, Slack or a database.
  • Scheduling — create a schedule in Apify Console with relative dates ("+30 days") to track the same routes every day.
  • Webhooks — trigger your pipeline or a price alert when a run finishes.
  • AI agents (MCP) — connect Claude, Cursor or other MCP clients through the Apify MCP server at https://mcp.apify.com and let your agent search flights on demand.

FAQ

Is the price for one person or for everyone?

It is the total Google Flights shows for the whole search: all passengers together, and for round trips both directions. Divide by the number of passengers for a per-person figure.

How do round trips work?

A route with returnDate is searched as a round trip. You get the departing flight options with their round-trip price, exactly like the first page of a round-trip search on Google Flights. The return flights you can combine with each option are not listed separately.

How many flights do I get per route?

All options on Google's results page: usually 10–35 per route, depending on how many airlines serve it. Use Max flights per route to keep only the top ones and pay less.

Should I use fixed or relative dates?

Both work and can be mixed in one run. Fixed dates ("2026-12-15") search exactly that day. Relative dates ("+30 days", also "+30d") are counted from the day the run starts (UTC), so a saved task or schedule never searches a date in the past. A return date can be relative too, e.g. departure "+33 days" and return "+36 days".

Can I track prices over time?

Yes. Schedule the actor with relative dates like "+30 days" and store the results, or use the priceInsights field: it carries Google's price level, typical range and about 60 days of price history for each search.

Do I need a proxy?

No setup needed. The default Apify Proxy works; if Google blocks or throttles a request, the scraper retries it automatically on a new IP.

The scraper collects public flight information that anyone can see on Google Flights without logging in, and no personal data. Check that your use complies with Google's terms and the laws that apply to you.

What happens with wrong airport codes or past dates?

Invalid routes (codes that are not 3 letters, past dates, a return before the departure) are skipped and listed in the run's SUMMARY record; the other routes still run. A code Google does not know returns no results and is reported the same way. You are not charged for routes without results.

Limits

  • One page of results per route (usually 10–35 options), not Google's "more flights" expansion.
  • Round trips list departing options with the total round-trip price; return-flight choices and multi-city trips are not supported yet.
  • Booking sites and their individual prices (airline vs travel agencies) are not included; bookingUrl opens the search on Google Flights.
  • Dates must be today or later and at most 365 days ahead; Google rarely has fares beyond about 11 months.
  • At most 9 passengers per search, as on Google Flights.
  • Fares change constantly and depend on market, currency and time of the search.