Google Flights Scraper avatar

Google Flights Scraper

Pricing

Pay per usage

Go to Apify Store
Google Flights Scraper

Google Flights Scraper

Scrapes Google Flights results for a given route and date, returning flight options with price, times, duration, stops, and CO2 estimate.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Ghaith Mlika

Ghaith Mlika

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

2 days ago

Last modified

Categories

Share

Search Google Flights for a route and date, and get structured flight options: airline, flight number, departure/arrival times, duration, stops, price, currency, and estimated CO₂.

How to use

  1. Open this Actor in Apify Console.
  2. Fill in the input form (or paste JSON).
  3. Keep proxy groups set to RESIDENTIAL (recommended for Google).
  4. Click Start.
  5. Open the Output / Dataset tab when the run finishes.

You can also run it via the Apify API, schedules, or from an AI agent that can call Actors.

Input

FieldRequiredDescription
fromYesOrigin airport IATA code (e.g. TUN)
toYesDestination airport IATA code (e.g. CDG)
dateYesDeparture date YYYY-MM-DD
returnDateNoReturn date for round-trips; leave empty for one-way
currencyNoPrice currency (default USD)
languageNoUI language code (default en)
seatNoeconomy, premium_economy, business, or first
adults / children / infantsInSeat / infantsOnLapNoPassenger counts
maxRetriesNoRetries on CAPTCHA / network errors (default 3)
proxyGroupsNoApify Proxy groups (default ["RESIDENTIAL"])

Example

{
"from": "TUN",
"to": "CDG",
"date": "2026-09-01",
"currency": "USD",
"adults": 1,
"seat": "economy",
"proxyGroups": ["RESIDENTIAL"]
}

Output

Each run pushes one dataset item with the search summary and a flights array.

{
"from": "TUN",
"to": "CDG",
"date": "2026-09-01",
"trip": "one-way",
"currency": "USD",
"total_results": 11,
"flights": [
{
"airline": "Air France",
"flight_number": "AF1185",
"departure_time": "18:45",
"arrival_time": "22:20",
"duration": "2 hr 35 min",
"stops": 0,
"price": 559,
"currency": "USD",
"co2_kg": 134,
"from": "TUN",
"to": "CDG",
"date": "2026-09-01"
}
],
"scraped_at": "2026-08-06T18:14:56Z"
}

In Console, use the Overview view for the search summary and the Flights view for one row per itinerary.

Requirements

  • An Apify account with access to Residential proxy (or another group that works for Google). Datacenter IPs are often blocked.
  • Valid 3-letter IATA codes and a real calendar date.

Tips

  • Prefer RESIDENTIAL in proxyGroups for higher success rates.
  • If a run fails with CAPTCHA / forbidden errors, retry later or confirm your proxy plan includes the selected group: Proxy settings.
  • Google Flights data can change; empty or partial results usually mean a temporary block or a page-layout change on Google’s side.

Support

Open an issue on the Actor’s GitHub repository or contact the author from the Actor page on Apify.