Google Flights Scraper - Fares, Price Calendar & Sellers avatar

Google Flights Scraper - Fares, Price Calendar & Sellers

Pricing

from $6.00 / 1,000 google flights searches

Go to Apify Store
Google Flights Scraper - Fares, Price Calendar & Sellers

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

ScraperCompany

Maintained by Community

Actor stats

1

Bookmarked

4

Total users

1

Monthly active users

a day ago

Last modified

Categories

Security

Limited permissions

Share

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

ModeWhat it returnsPrice per request
searchItineraries for a route and dates: price, airlines, legs, stops, duration, emissions$0.006
calendarCheapest fare for each date around your target dates$0.009
returnOptions for the next leg of a round trip or multi-city trip, from a departure_token$0.006
bookingWhere to book an itinerary (airline and OTAs) with each seller's price, from a booking_token$0.008
locationsIATA airport and city codes for a place name$0.003

What makes it different?

Google Flights ScraperMany alternatives
SetupNothing to configure: no login, no keysOften your own accounts, cookies or network setup
You pay forSuccessful results; failed and empty requests are freeOften run time, or every attempt
When a site pushes backRetried and handled for youOften 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?

FieldDescription
itineraries[].price / display_price / currencyTotal fare
itineraries[].legsEach flight: airline, flight number, airports, times, aircraft, duration
itineraries[].total_stops / total_duration_minutes / is_directTrip shape
itineraries[].carbon_emissions_kg / carbon_emissions_comparisonEmissions vs typical
itineraries[].departure_token / booking_tokenTokens for Return options and Booking options
price_insightsLowest 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

  1. Open Google Flights Scraper in Apify Console and go to the Input tab.
  2. Enter routes as JFK-LAX and dates (exact or relative, such as 30 days). Leave the return date empty for one-way.
  3. Adjust the options if needed. Dates accept an exact date (2026-12-01) or a relative one (30 days from today), so saved tasks and schedules never go stale.
  4. Click Start and wait for the run to finish.
  5. Download the results from the Output tab as JSON, CSV, Excel or HTML, or fetch them with the Apify API.

Input

InputNameWhat it does
modeModeStart 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).
routesRoutesOne route per line as DEPARTURE-ARRIVAL IATA codes: airports (JFK-LAX), cities (NYC-LON) or several airports (JFK,EWR-LAX).
departure_dateDeparture dateOutbound date: exact (2026-12-01) or relative (30 days from today).
return_dateReturn dateLeave empty for one-way. Exact or relative (35 days from today).
adultsAdultsAdult passengers (12+), 1-9.
cabin_classCabin classCabin to search.
currencyCurrencyCurrency for prices.
sort_bySort byResult order. Anything other than Top flights returns Google's full list.
stopsMaximum stops0 = nonstop only, 1 = at most one stop, 2 = at most two. Leave empty for any.
childrenChildrenChildren aged 2-11.
infants_in_seatInfants in seatInfants under 2 with their own seat.
infants_on_lapInfants on lapLap infants under 2 (at most one per adult).
carry_on_bagsCarry-on bagsCarry-on bags per passenger to include in the price (0-1).
checked_bagsChecked bagsChecked bags per passenger to include in the price (0-2).
include_airlinesOnly these airlines.g. AC,UA. Not with Exclude airlines.
exclude_airlinesExclude airlines.g. B6.
max_priceMaximum priceOnly itineraries at or below this price, in the selected currency.
max_durationMaximum duration (minutes)Maximum door-to-door time per leg, in minutes.
outbound_timesOutbound time windowDeparture hours from,to (0-23), optionally followed by arrival hours: 6,12 leaves 06:00-12:59.
return_timesReturn time windowSame format as the outbound window, for the return leg.
layover_durationLayover length (minutes).g. 60,240.
connecting_airportsOnly connect through.g. ORD,DTW.
exclude_connecting_airportsNever connect throughComma-separated IATA codes.
exclude_basic_economyExclude basic economyHide basic-economy fares (US routes).
less_emissionsLower emissions onlyOnly flights with lower-than-typical emissions.
date_window_daysDate window (Price calendar)Days before and after the target dates to include in the grid (1-30).
tokensTokens (Return / Booking options)A departure_token (Return options) or booking_token (Booking options) per line, copied from a Flight search result.
placesPlaces (Airport/city lookup).g. paris, Heathrow.
glGoogle countryTwo-letter market code.
hlLanguage.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.

EventCharged whenPricePer 1,000
flights-requestOne flight search or return-leg lookup. Searches with no itineraries are free.$0.006$6.00
booking-options-requestBooking options (airlines and agents with prices) for one itinerary. Empty answers are free.$0.008$8.00
calendar-requestOne route priced over a window of departure (and return) dates.$0.009$9.00
location-searchOne 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.

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.

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 os
from apify_client import ApifyClient
client = 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)

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.