Google Flights Scraper - Fares, Price Calendar & Sellers
Pricing
from $6.00 / 1,000 google flights searches
Google Flights Scraper - Fares, Price Calendar & Sellers
Scrape Google Flights: itineraries with price, airlines, legs, stops, duration and emissions for any route and dates; a cheapest-fare date calendar; return-leg and booking options (which airline or OTA sells it, at what price); airport code lookup. Made by ScraperCompany.
Pricing
from $6.00 / 1,000 google flights searches
Rating
0.0
(0)
Developer
ScraperCompany
Maintained by CommunityActor stats
1
Bookmarked
4
Total users
1
Monthly active users
a day ago
Last modified
Categories
Security
Limited permissionsShare
Google Flights Scraper by ScraperCompany returns Google Flights results as structured data. Flight search lists itineraries for a route and dates with total price, airlines, every leg with times and aircraft, stops, layovers, duration and CO2 emissions, plus Google's price insights. Price calendar finds the cheapest fare for each date around your target dates. Return options and Booking options follow Google's tokens to the next leg and to the sellers (airline and OTAs) with their prices. Filters match Google Flights: stops, airlines, alliances, bags, times, layovers and price caps. Pricing is pay-per-event: $0.006 per flight search, $0.008 per booking-options lookup, $0.009 per price calendar and $0.003 per airport lookup; failed requests are not charged.
Nothing to set up: no code, no login and no keys. Start a run, then export JSON, CSV or Excel, or pull the results through the Apify API. You pay only for results; failed and empty requests are free.
What can this Google Flights scraper do?
- Itineraries for one-way, round-trip and multi-city trips: price, airlines, legs, stops, layovers, duration, emissions.
- Price insights: price level, typical range and history.
- Date grid: cheapest fare per departure/return date in a window up to +/-30 days.
- Booking options: which airline or OTA sells an itinerary and at what price.
- Filters: stops, airlines and alliances, bags, cabin, time windows, layovers, connecting airports, max price, max duration, basic economy, lower emissions.
- Airport/city lookup to IATA codes. Batch many routes per run.
Modes
| Mode | What it returns | Price per request |
|---|---|---|
search | Itineraries for a route and dates: price, airlines, legs, stops, duration, emissions | $0.006 |
calendar | Cheapest fare for each date around your target dates | $0.009 |
return | Options for the next leg of a round trip or multi-city trip, from a departure_token | $0.006 |
booking | Where to book an itinerary (airline and OTAs) with each seller's price, from a booking_token | $0.008 |
locations | IATA airport and city codes for a place name | $0.003 |
What makes it different?
| Google Flights Scraper | Many alternatives | |
|---|---|---|
| Setup | Nothing to configure: no login, no keys | Often your own accounts, cookies or network setup |
| You pay for | Successful results; failed and empty requests are free | Often run time, or every attempt |
| When a site pushes back | Retried and handled for you | Often an empty or failed run |
Who uses Google Flights data?
- Travel apps: Show itineraries, fares and booking options for a route.
- Fare analysts: Track the cheapest date around a trip and how fares move over time.
- Corporate travel teams: Benchmark fares, airlines and emissions across routes.
What Google Flights data can you extract?
| Field | Description |
|---|---|
itineraries[].price / display_price / currency | Total fare |
itineraries[].legs | Each flight: airline, flight number, airports, times, aircraft, duration |
itineraries[].total_stops / total_duration_minutes / is_direct | Trip shape |
itineraries[].carbon_emissions_kg / carbon_emissions_comparison | Emissions vs typical |
itineraries[].departure_token / booking_token | Tokens for Return options and Booking options |
price_insights | Lowest price, price level, typical range, price history |
prices[] (Price calendar) | Cheapest fare per date pair |
booking_options[] (Booking options) | Sellers with price and booking link |
locations[] (Airport lookup) | Airports and cities with IATA codes |
Every dataset item also carries input (the options used for that request), request_id (quote it to support), billed and scraped_at.
How to scrape Google Flights fares
- Open Google Flights Scraper in Apify Console and go to the Input tab.
- Enter routes as
JFK-LAXand dates (exact or relative, such as30 days). Leave the return date empty for one-way. - Adjust the options if needed. Dates accept an exact date (
2026-12-01) or a relative one (30 daysfrom today), so saved tasks and schedules never go stale. - Click Start and wait for the run to finish.
- Download the results from the Output tab as JSON, CSV, Excel or HTML, or fetch them with the Apify API.
Input
| Input | Name | What it does |
|---|---|---|
mode | Mode | Start with Flight search. Its itineraries carry a departure_token (round trips: use it in Return options) or a booking_token (use it in Booking options to see where to buy). |
routes | Routes | One route per line as DEPARTURE-ARRIVAL IATA codes: airports (JFK-LAX), cities (NYC-LON) or several airports (JFK,EWR-LAX). |
departure_date | Departure date | Outbound date: exact (2026-12-01) or relative (30 days from today). |
return_date | Return date | Leave empty for one-way. Exact or relative (35 days from today). |
adults | Adults | Adult passengers (12+), 1-9. |
cabin_class | Cabin class | Cabin to search. |
currency | Currency | Currency for prices. |
sort_by | Sort by | Result order. Anything other than Top flights returns Google's full list. |
stops | Maximum stops | 0 = nonstop only, 1 = at most one stop, 2 = at most two. Leave empty for any. |
children | Children | Children aged 2-11. |
infants_in_seat | Infants in seat | Infants under 2 with their own seat. |
infants_on_lap | Infants on lap | Lap infants under 2 (at most one per adult). |
carry_on_bags | Carry-on bags | Carry-on bags per passenger to include in the price (0-1). |
checked_bags | Checked bags | Checked bags per passenger to include in the price (0-2). |
include_airlines | Only these airlines | .g. AC,UA. Not with Exclude airlines. |
exclude_airlines | Exclude airlines | .g. B6. |
max_price | Maximum price | Only itineraries at or below this price, in the selected currency. |
max_duration | Maximum duration (minutes) | Maximum door-to-door time per leg, in minutes. |
outbound_times | Outbound time window | Departure hours from,to (0-23), optionally followed by arrival hours: 6,12 leaves 06:00-12:59. |
return_times | Return time window | Same format as the outbound window, for the return leg. |
layover_duration | Layover length (minutes) | .g. 60,240. |
connecting_airports | Only connect through | .g. ORD,DTW. |
exclude_connecting_airports | Never connect through | Comma-separated IATA codes. |
exclude_basic_economy | Exclude basic economy | Hide basic-economy fares (US routes). |
less_emissions | Lower emissions only | Only flights with lower-than-typical emissions. |
date_window_days | Date window (Price calendar) | Days before and after the target dates to include in the grid (1-30). |
tokens | Tokens (Return / Booking options) | A departure_token (Return options) or booking_token (Booking options) per line, copied from a Flight search result. |
places | Places (Airport/city lookup) | .g. paris, Heathrow. |
gl | Google country | Two-letter market code. |
hl | Language | .g. en. |
Input example
This is the default input; running the Actor without changes uses it.
{"mode": "search","routes": ["JFK-LAX"],"departure_date": "30 days","return_date": "35 days","places": ["paris"],"includeErrors": true,"maxConcurrency": 3,"maxRetries": 2}
Output example
One dataset item per request (trimmed here; real items contain all the fields):
{"mode": "search","input": {"departure": "YUL","arrival": "CDG","departure_date": "2026-11-04","return_date": "2026-11-11"},"adults": 1,"arrival_airport": "CDG","best_count": 3,"cheapest_price": 527,"currency": "USD","departure_airport": "YUL","departure_date": "2026-11-04","google_flights_url": "https://www.google.com/travel/flights/search?tfs=CBwQAhoeEgoyMDI2LTExLTA0agcIARIDWVVMcgcIARIDQ0RHGh4SCjIwMjYtMTEtMTFqBwgBEgNDREdyBwgBEgNZVUxAAUgBcAGCAQsI____...","itineraries": [{"airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/AC.png","carbon_emissions": {"difference_percent": -19,"this_flight": 325000,"typical_for_this_route": 399000},"carbon_emissions_comparison": "19% lower than typical","carbon_emissions_kg": 325,"carry_on_bags_included": 1,"currency": "USD","departure_token": "gf1.eNqFUMkKwjAU_Jd3TiGpVqU3TVuhBO1iIhpyEhe09NJWBfHfTRexxS2BlxneMvNygzPYBMEObJkWSYKqQOpHKo0kQbi8Cr3yn4IsD6w4A12rVMmBOtOGVSW4VQ4mNgcGwQax4Dmg7u5k6hF1x5hqPhr2Q...","display_price": "$527","google_flights_url": "https://www.google.com/travel/flights/search?tfs=CBwQAho_EgoyMDI2LTExLTA0Ih8KA1lVTBIKMjAyNi0xMS0wNBoDQ0RHKgJBQzIDODc0agc...","group": "best","is_direct": true,"legs": [{"arrival_airport": "CDG","arrival_time": "2026-11-05T07:20:00","departure_airport": "YUL","departure_time": "2026-11-04T18:10:00","duration_minutes": 430,"is_direct": true,"stops": 0}],"price": 527,"price_exact": 526.19,"total_duration_minutes": 430,"total_stops": 0,"trip_type": "round_trip"}],"itinerary_count": 69,"leg_index": 0,"legs_total": 2,"price_insights": {"lowest_price": 527,"price_history": [[1790568000]],"price_level": "typical","typical_price_range": [475]},"return_date": "2026-11-11","source": "rpc","trip_type": "round_trip","request_id": "req_3f9c0d6e2b8a4c1f9e7d5b3a1c0e8f6d","billed": true,"scraped_at": "2026-10-01T14:03:27.512Z"}
A request that fails is saved with an error message instead (turn off Include failed requests to skip those). Failed requests are never charged.
How much does it cost to scrape Google Flights fares?
This Actor uses pay-per-event pricing: you pay for successful requests, not for compute time.
| Event | Charged when | Price | Per 1,000 |
|---|---|---|---|
flights-request | One flight search or return-leg lookup. Searches with no itineraries are free. | $0.006 | $6.00 |
booking-options-request | Booking options (airlines and agents with prices) for one itinerary. Empty answers are free. | $0.008 | $8.00 |
calendar-request | One route priced over a window of departure (and return) dates. | $0.009 | $9.00 |
location-search | One city or airport name resolved to IATA codes. Empty answers are free. | $0.003 | $3.00 |
What a real run costs:
- 100 requests: $0.60
- 1,000 requests: $6.00
- 10,000 requests: $60.00
Apify's $5 of free monthly usage covers about 833 flights-request events.
- Failed requests (errors, invalid input, a site refusing after retries) are free.
- Requests where the source returns nothing at all (no results, nothing priced) are saved but not charged.
- Set Maximum cost per run when you start a run and the Actor stops cleanly before going over it.
Run it on a schedule
Use Apify Schedules to repeat a run hourly, daily or weekly and compare results over time, and webhooks or the Integrations tab to push new results to Make, Zapier, n8n, Google Sheets, Slack or your own warehouse.
Use it with AI agents
Results are structured JSON, so they are easy to feed to a model. AI agents such as Claude can run this Actor and read its results through the Apify MCP server.
FAQ
Do I need an account on the site, or an API key?
No. The Actor is ready to run as is, and you only pay the per-event prices above.
How do I get booking links?
Run Flight search, take an itinerary's booking_token (one-way) or follow its departure_token through Return options for round trips, then run Booking options with that token.
Are prices final?
They are the prices Google Flights shows at the time of the request, in the selected currency, including the bags you asked for. Airlines can change fares at any time.
Does Google have a Flights API?
No. Google shut down its QPX Express flight API in 2018. This Actor returns the public Google Flights results as structured data.
How do round trips work?
Search with a return date. Each outbound itinerary carries a departure_token: run the Return / next-leg options mode with it to get the matching return flights, then the Booking options mode with the complete trip's booking_token for sellers and fares.
Can I find the cheapest day to fly?
Yes. The Price calendar (date grid) mode returns the lowest fare for each departure date around the date you choose, in one request.
Is it legal to scrape Google Flights fares?
The Actor collects publicly available information that anyone can see without logging in. You are responsible for how you use the results: respect the source site's terms, copyright and privacy law (such as GDPR) and do not collect personal data without a lawful basis. If in doubt, ask a lawyer.
What happens when a request is blocked or rate-limited?
Temporary errors are retried automatically. If a request still fails it is saved with the error message and not charged, and the rest of the batch keeps going. A run only fails when every request failed.
Why did a request return an error?
Read the error field: it says what was wrong with the input, for example a malformed date or an unknown id. Fix it and run again; failed requests cost nothing.
How many requests can I run at once?
Any number per run. The Actor sends up to 3 requests in parallel by default (change it under Run options); larger batches simply take longer.
Use it from your code
Call the Actor from any language through the Apify API. With the JavaScript client (npm install apify-client):
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: process.env.APIFY_TOKEN });const run = await client.actor('scrapercompany/google-flights-scraper').call({"mode": "search","routes": ["JFK-LAX"],"departure_date": "30 days"});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
With Python (pip install apify-client):
import osfrom apify_client import ApifyClientclient = ApifyClient(os.environ["APIFY_TOKEN"])run = client.actor("scrapercompany/google-flights-scraper").call(run_input={"mode": "search","routes": ["JFK-LAX"],"departure_date": "30 days",})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
Related scrapers
- Google Hotels Search Scraper: hotel prices at the destination
- Airbnb Scraper: rentals at the destination
Support
Questions, a field you need, or a site that stopped working? Open an issue on the Issues tab. Include the request_id from the dataset item so we can trace the request.