Google Flights Scraper
Pricing
Pay per usage
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
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
2 days ago
Last modified
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
- Open this Actor in Apify Console.
- Fill in the input form (or paste JSON).
- Keep proxy groups set to
RESIDENTIAL(recommended for Google). - Click Start.
- 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
| Field | Required | Description |
|---|---|---|
from | Yes | Origin airport IATA code (e.g. TUN) |
to | Yes | Destination airport IATA code (e.g. CDG) |
date | Yes | Departure date YYYY-MM-DD |
returnDate | No | Return date for round-trips; leave empty for one-way |
currency | No | Price currency (default USD) |
language | No | UI language code (default en) |
seat | No | economy, premium_economy, business, or first |
adults / children / infantsInSeat / infantsOnLap | No | Passenger counts |
maxRetries | No | Retries on CAPTCHA / network errors (default 3) |
proxyGroups | No | Apify 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
proxyGroupsfor 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.