Google Flights Scraper avatar

Google Flights Scraper

Pricing

$1.00 / 1,000 flight offers

Go to Apify Store
Google Flights Scraper

Google Flights Scraper

Scrape Google Flights route offers with price, airline, flight number, departure and arrival times, duration, stops, layovers, aircraft and CO2. Search one-way or round-trip in any cabin, filter stops or max price, and use direct HTTP extraction without browser runtime.

Pricing

$1.00 / 1,000 flight offers

Rating

0.0

(0)

Developer

Nate Schnell

Nate Schnell

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

Google Flights Scraper returns one clean dataset row per route offer, so travel teams can compare fares without manually copying search results. Each row includes price, airline, flight number, departure and arrival times, total duration, stops, layovers, aircraft, estimated CO2, segment details, and the Google Flights search URL. Use it for route monitoring, itinerary research, fare comparison, and travel-planning workflows.

What Google Flights Scraper returns

The actor searches one origin and destination at a time. It supports one-way and round-trip trips, adult passenger counts, economy through first class, currency selection, stop limits, maximum fare filters, and a result cap. Filters are applied before records are written, which keeps a scoped run predictable.

Quick start

  1. Enter three-letter IATA codes such as JFK and LHR.
  2. Enter a future departure date. Add a return date for a round trip.
  3. Choose cabin, currency, stop limit, and maximum offers.
  4. Run the actor and open the default dataset.

Example input:

{
"origin": "JFK",
"destination": "LHR",
"departDate": "2026-12-15",
"returnDate": "2026-12-22",
"adults": 1,
"cabinClass": "ECONOMY",
"maxStops": "1",
"currency": "USD",
"maxResults": 10,
"dryRun": false
}

Google Flights Scraper input

origin, destination, and departDate are required. returnDate is optional; omit it for a one-way search. maxPrice is interpreted in the selected currency. The page currently exposes up to 25 offers for a route search, so maxResults accepts values from 1 through 25.

Google Flights Scraper output

Each dataset item is an offer. Dates and local times are preserved as strings, while prices, stops, durations, and emissions are numeric. segments contains the per-flight details for connecting itineraries.

Example output:

{
"id": "AA:100:2026-12-15T09:35:LHR",
"resultGroup": "best",
"origin": "JFK",
"destination": "LHR",
"departDate": "2026-12-15",
"returnDate": "2026-12-22",
"airline": "American",
"airlineCode": "AA",
"flightNumber": "100",
"operatingAirlines": null,
"departureTime": "2026-12-15T09:35",
"arrivalTime": "2026-12-15T21:40",
"durationMinutes": 425,
"stops": 0,
"layovers": [],
"legroom": "31 in",
"aircraft": "Boeing 777",
"emissionsKg": 407,
"price": 793,
"currency": "USD",
"segments": [{
"airline": "American Airlines",
"airlineCode": "AA",
"flightNumber": "100",
"origin": "JFK",
"destination": "LHR",
"departureTime": "2026-12-15T09:35",
"arrivalTime": "2026-12-15T21:40",
"durationMinutes": 425,
"aircraft": "Boeing 777"
}],
"googleFlightsUrl": "https://www.google.com/travel/flights/search?tfs=...",
"scrapedAt": "2026-08-10T16:00:00.000Z"
}

Pricing and limits

The actor is pay per emitted flight offer. The first public price is set after a deployed smoke run and is shown on the actor page before you start. Apify's free usage credit can be used for testing. A single run handles one route search and returns at most 25 selected offers. To control spend, set maxStops, maxPrice, and maxResults; excluded offers are not written to the dataset.

Use cases

  • Monitor a fixed route for fare changes on a schedule.
  • Build a shortlist of nonstop or low-stop travel options.
  • Compare airlines, journey duration, emissions, and fare levels.
  • Feed itinerary options into a travel-planning or operations workflow.

FAQ

You are responsible for using the output lawfully and respecting the rules that apply to your project, location, and intended use. Use the data for permitted purposes, avoid representing results as an official Google service, and review current Google terms and applicable privacy, consumer-protection, and aviation rules before deploying a commercial workflow.

Does the actor need a Google account or API key?

No account or API key is required in the actor input. The actor performs a route search and returns the fare data available in that search response.

It returns the Google Flights search URL used for the result set. Airline or agency booking links are not promised as a stable output field.

Why are some fields null?

Google does not expose every enrichment field for every itinerary. Aircraft, operating-airline names, and layover details can be absent for some offers; the core route, price, schedule, and stop fields are validated before writing.

Run locally

npm install
npm test
npm start

Set the normal Apify environment variables for a live run. Fixture tests do not make network requests.