Google Flights Scraper API avatar

Google Flights Scraper API

Pricing

from $0.40 / 1,000 results

Go to Apify Store
Google Flights Scraper API

Google Flights Scraper API

πŸ”₯ $0.40/1K results πŸ”₯ ✈️ Scrape live Google Flights prices, airlines, schedules, stops, layovers, aircraft, COβ‚‚ data and booking links. Supports one-way, round-trip and multi-city searches with clean JSON, CSV, API and MCP output. ⚑ Fast, reliable and built for fare tracking.

Pricing

from $0.40 / 1,000 results

Rating

0.0

(0)

Developer

Poidata

Poidata

Maintained by Community

Actor stats

1

Bookmarked

2

Total users

1

Monthly active users

16 hours ago

Last modified

Categories

Share

Google Flights Scraper API: Live Flight Prices, Routes & Booking Links

Extract live flight prices, airlines, schedules, layovers, baggage information, and booking links from Google Flights without manually copying search results.

This Google Flights Scraper API is a ready-to-run Apify Actor for one-way, round-trip, and multi-city flight searches. Enter your route and travel dates to receive structured flight data that can be searched, filtered, downloaded, or integrated into another application.

Developers can use the Actor as a Google Flights Scraper API through the Apify API. Non-technical users can run it directly from a simple input form; no coding or scraping infrastructure required.

✈️ In short: Provide an origin, destination, and date; the Actor searches Google Flights and returns matching flight options as clean JSON, CSV, or Excel data.

✈️ What can you extract from Google Flights?

The Google Flights Scraper API collects the details needed to compare flights, monitor fares, analyse routes, or build a flight-search product.

Each result can include:

  • Live flight price and currency
  • Airline name and logo
  • Departure and arrival airports
  • Departure and arrival times
  • Flight number and individual segments
  • Total journey duration
  • Direct, one-stop, and multi-stop itineraries
  • Layover airports and waiting times
  • Cabin and travel class
  • Aircraft details
  • Legroom and overnight-flight information
  • COβ‚‚ emissions estimate
  • Passenger counts
  • Google Flights itinerary link
  • Airline and travel-agent booking options
  • Fare type and baggage rules
  • Price from each available booking provider

Results are available in two practical views:

  • Overview: A clean table containing the most useful fields for quick comparison.
  • All fields: The complete flight record, including segments, layovers, booking providers, baggage details, aircraft, and emissions.

✨ Why use this Google Flights Scraper API?

Search one-way, round-trip, and multi-city flights

Run a simple one-way search, include a return date for a round trip, or define multiple flight legs for a multi-city itinerary.

You can also search a multi-leg journey in one Actor run using Multi-city legs.

Compare live flight prices

Every run searches Google Flights at that time and returns the prices displayed for the selected route, dates, passengers, cabin, and currency.

Because airfares can change quickly, rerun the same search whenever you need refreshed pricing.

Every flight result includes a Google Flights link with the itinerary pre-selected.

Enable Include Booking Details to retrieve the available airline and travel-agent offers, including:

  • Booking provider
  • Provider price
  • Fare type
  • Baggage information
  • Provider-specific booking link

This makes the dataset useful for flight comparison tools, travel research, fare monitoring, and booking workflows.

Apply detailed flight filters

Narrow results before extraction using filters such as:

  • Economy, Premium Economy, Business, or First Class
  • Adult, child, and infant passenger counts
  • Maximum number of stops
  • Maximum flight price
  • Maximum journey duration
  • Preferred airlines
  • Airline alliances
  • Departure time range
  • Arrival time range

Localise prices and results

Select the currency, language, and country used for the search. Retrieve fares in USD, EUR, INR, GBP, or another supported currency directly from Google Flights.

Export structured flight data

Download the dataset in formats including:

  • JSON
  • CSV
  • Excel

You can also access results programmatically through the Apify API and send them to a database, dashboard, spreadsheet, website, or internal application.

πŸš€ How to scrape Google Flights in four steps

  1. Open the Google Flights Scraper API in Apify Console.
  2. Enter the departure airport, arrival airport, and outbound date.
  3. Optionally add a return date, passengers, cabin class, filters, currency, or multi-city legs.
  4. Click Run, then open the Output tab to view or export the results.

Most standard searches finish in under a minute. Completion time can vary depending on the number of routes, filters, and booking details requested.

Quick search example

Use the following values for a round-trip flight search:

InputExample
FromJFK
ToLHR
Outbound date2026-11-25
Return date2026-12-02
Cabin classEconomy
Adults1
CurrencyUSD

Leave Return Date empty to search for a one-way flight.

πŸ”Œ Google Flights Scraper API

The Actor can be called programmatically as a Google Flights Scraper API using the Apify REST API or an Apify client.

A basic API input looks like this:

{
"departure": "JFK",
"arrival": "LHR",
"outboundDate": "2026-11-25",
"returnDate": "2026-12-02"
}

To integrate the Actor:

  1. Open the API tab on the Actor page.
  2. Select JavaScript, Python, cURL, HTTP, CLI, or OpenAPI.
  3. Copy the generated integration example.
  4. Add your Apify API token and search input.
  5. Start the Actor and retrieve the resulting dataset.

The API returns predictable, structured records that can be used in travel applications, fare trackers, price-comparison tools, dashboards, or data pipelines.

You do not need a Google Flights API key. An Apify API token is required when calling the Actor programmatically.

πŸ›« Run multi-city flights

Use Multi-city legs (advanced) for a journey with several consecutive flight legs. Add one row per leg in ORIGIN-DESTINATION-DATE format, for example:

LAX-JFK-2026-08-04
JFK-CDG-2026-08-10

Each row becomes one leg of a single multi-city itinerary (not separate searches). When set, the multi-city legs override the From / To / dates above. Leave the field empty for a one-way or round-trip search.

To run multiple independent searches in one run (instead of one multi-leg itinerary), use Searches (advanced / batch): one row per search as DEP-ARR-DATE (one-way) or DEP-ARR-DATE-RETURN (round-trip). Legacy object entries are still accepted via the JSON input.

πŸ“Š Google Flights data fields

Every matching flight option becomes a separate dataset record.

Overview fields

FieldDescriptionExample
RouteOrigin and destinationJAX β†’ LAX
AirlineOperating airlineDelta
DepartureScheduled departure2026-09-01 12:59
ArrivalScheduled arrival2026-09-01 17:20
StopsNumber of stops1
DurationTotal journey time7h 21m
PriceFare in the selected currency275
CurrencyISO currency codeUSD
BookPre-selected Google Flights itineraryURL
LogoAirline logoImage
Has layoverWhether the itinerary has a layovertrue
Layover countNumber of layovers1
Layover timeTotal waiting time1h 45m
AdultsNumber of adult passengers1
ChildrenNumber of child passengers0
InfantsNumber of infant passengers0
Return dateSelected return date2026-12-02
Search indexSource search within the run1
Result typeGoogle Flights result groupingbest
Actor versionBuild metadataVersion marker

Detailed flight fields

The All fields view includes the complete itinerary structure:

  • Individual flight segments
  • Airline and flight number
  • Departure and arrival airports
  • Segment departure and arrival times
  • Segment duration
  • Aircraft model
  • Travel class
  • Legroom information
  • Overnight-flight status
  • Layover airport and duration
  • Total COβ‚‚ estimate
  • Booking options and baggage details

Booking-option fields

When Include Booking Details is enabled, additional fields can include:

FieldDescriptionExample
bookingOptionsCountNumber of provider and fare options5
bookingFromLowest provider price found187
bookingProvidersAirlines or agents offering the itineraryJetBlue (direct), American
baggageCarry-on rules and optional chargesCarry-on 32 in Β· add-on from $49
bookingOptionsComplete provider, fare, baggage, price, and URL recordsArray

πŸ“ Input reference

InputPurposeExample
FromDeparture airport or supported cityJFK
ToArrival airport or supported cityLHR
Outbound DateTravel departure date2026-11-25
Return DateOptional return date2026-12-02
Multi-city legsMulti-leg journeys (ORIGIN-DEST-DATE)string list
Searches (batch)Multiple searches (DEP-ARR-DATE[+RETURN])string list
Cabin ClassSelected travel classBusiness
PassengersAdults, children, and infants2 adults
Maximum StopsLimits connecting flights1
Maximum PriceExcludes fares above a set amount500
Maximum DurationLimits total journey time12 hours
Airlines or AlliancesIncludes selected carriersSelected airlines
Time WindowsLimits departure or arrival times08:00-18:00
CurrencyFare currencyUSD
LanguageResult languageen-US
CountryGoogle Flights country settingUS
Include Booking DetailsRetrieves provider offers and baggage datatrue

Three-letter IATA airport codes such as JFK, LHR, CDG, and NRT are recommended for precise searches.

Example input combinations

Ready-to-run inputs are in the repo under apify/examples/. Copy a file's contents into the Actor's input JSON editor and run. The Actor also logs a friendly input hint: warning when something looks off (bad date format, unknown maxStops/sortBy, malformed search rows, etc.), so mistakes are easy to spot.

The Actor infers the trip type from which fields you fill in:

ModeFields you setResult
One-waydeparture + arrival + outboundDate1 leg
Round-tripthose + returnDate2 legs (outbound + return)
Multi-citymultiCityLegs (list of ORIGIN-DESTINATION-DATE strings)N legs: overrides From/To/dates
Batchsearches (list of DEP-ARR-DATE[+RETURN] strings)one search per row

One-way

{ "departure": "JAX", "arrival": "LAX", "outboundDate": "2026-08-31" }

Round-trip

{
"departure": "JAX", "arrival": "LAX",
"outboundDate": "2026-08-31", "returnDate": "2026-09-07"
}

Multi-city (2 legs, no From/To needed)

{ "multiCityLegs": ["LAX-JFK-2026-08-30", "JFK-LHR-2026-09-02"] }

Full round-trip with filters, passengers and booking details

{
"departure": "JAX", "arrival": "LAX",
"outboundDate": "2026-08-31", "returnDate": "2026-09-07",
"cabinClass": "Business", "adults": 2, "children": 1, "infants": 1,
"maxStops": "Nonstop", "maxPrice": 800, "maxDuration": 600,
"airlines": ["UA", "AA"], "alliance": "STAR_ALLIANCE", "excludeBasic": true,
"departureTimeEarliest": "06:00", "departureTimeLatest": "22:00",
"arrivalTimeEarliest": "07:00", "arrivalTimeLatest": "23:00",
"sortBy": "Price", "showAllResults": true, "maxPages": 2, "topN": 10,
"includeBookingDetails": true,
"currency": "INR", "hl": "en-US", "country": "US"
}

Batch (searches: multiple one-way / round-trip searches in one run)

{
"searches": [
"JAX-LAX-2026-08-31",
"LAX-SFO-2026-09-10-2026-09-17"
]
}

Row format: DEP-ARR-DATE (one-way) or DEP-ARR-DATE-RETURN (round-trip). This is exposed in the input form as "Searches (advanced / batch)" with the same list design as Multi-city legs: add one row per search and keep adding. Leave it empty to use the single From / To / Date fields.

Things to keep in mind

  • Precedence: multiCityLegs overrides From/To/dates; searches runs only when it has rows. (Legacy object entries can still set per-search overrides via the JSON input.)
  • Booking details add time: includeBookingDetails fetches per-flight booking offers one network call per top result, so a search with it on takes ~9-11s vs ~2s without it. Works for one-way, round-trip and multi-city.
  • Pay-per-event: a filtered query charges the filter event (results Γ— active filters); enabling booking details charges additional-detail (results).
  • Output record types: the default (flight) dataset holds best, other, noFlights (no matches), and error (failed search).

πŸ“ˆ Flight price monitoring

The Google Flights Scraper API can be scheduled on Apify to repeat the same route search automatically.

A typical fare-monitoring workflow is:

  1. Save a search containing the route, dates, passengers, and filters.
  2. Schedule it to run hourly, daily, or weekly.
  3. Store each dataset with its run date and time.
  4. Compare the latest price with earlier results.
  5. Trigger your own notification when the fare reaches a target.

This allows you to build airfare histories, route dashboards, price-drop alerts, or travel-deal monitoring systems without operating your own scraper.

πŸ’° Pay-per-event pricing

The actor uses Apify's pay-per-event (PPE) pricing model. Besides the platform events billed automatically (apify-actor-start per run and apify-default-dataset-item per dataset item), the actor reports pay-per-event metrics for filter usage and booking details:

The filter event is charged on every filtered search:

total billed = number of results Γ— number of active filters Γ— price per event

Set its price per event once in the Apify Console (Monetization & Pricing tab of the actor); the price is configured there, not in the Actor. A search that uses no filters incurs no filter charge.

Which filters count (each adds 1 to the multiplier):

Actor inputCharged when the query applies…
maxStopsa stop limit (including Nonstop)
maxPricea maximum price
maxDurationa maximum duration
airlinesan airline list
alliancean alliance
excludeBasicexclude basic economy
departureTimeEarliest / departureTimeLatesta departure time window
arrivalTimeEarliest / arrivalTimeLatestan arrival time window

Example: 20 results with maxStops + airlines β†’ 20 results Γ— 2 filters = 40 events. An event with no configured price is skipped, so the actor is safe to run before you set pricing.

The additional-detail event is charged once per search for all results when Include Booking Details is selected:

total billed = number of results Γ— price per event

So if you find 20 results with Include Booking Details on, that's 20 additional-detail events (on top of any filter events). Like filter, its price is set once in the Apify Console, not in the Actor.

Travel agencies and booking platforms

Collect structured flight options for customer research, itinerary comparison, or internal booking workflows.

Flight price trackers

Monitor a route repeatedly and identify price increases, reductions, or unusually low fares.

Travel comparison websites

Power route pages and comparison tools with airlines, prices, schedules, durations, stops, and booking links.

Developers and SaaS teams

Use the Google Flights Scraper API as a flight-data source for applications, dashboards, automated workflows, and prototypes.

Data analysts and researchers

Study airfare changes, airline coverage, route competition, journey duration, layovers, and pricing patterns.

Corporate travel teams

Compare business-travel options and monitor frequently used routes for budgeting and planning.

Individual travellers

Compare the cheapest, fastest, direct, or most convenient flights without reviewing every option manually.

❓ Frequently asked questions

What is a Google Flights scraper?

A Google Flights scraper automatically collects flight-search results from Google Flights. It converts prices, airlines, schedules, durations, stops, routes, and booking information into structured records that can be downloaded or processed automatically.

Does this Actor provide a Google Flights Scraper API?

Yes. You can start searches and retrieve results through the Apify API. The Actor can be integrated using REST, Python, JavaScript, cURL, CLI, or its OpenAPI definition.

Do I need to know how to code?

No. Enter the route and date in the Actor’s web form, click Run, and download the results.

Coding is only required when you want to integrate the Actor into an application or automated workflow.

Does the scraper return live Google Flights prices?

Yes. Each run performs a new Google Flights search and collects the prices displayed at that time.

Flight prices and availability can change after extraction, so rerun the Actor when you need the latest fare information.

Can I scrape round-trip flights?

Yes. Add an outbound date and a return date to search for round-trip itineraries. Leave the return date blank for a one-way search.

Can I search multi-city flights?

Yes. Use the Multi-city legs (advanced) field to define several consecutive flight segments within one multi-city itinerary.

Can I search multiple routes in one run?

Yes. Use Searches (advanced / batch) and add one row per search as DEP-ARR-DATE (one-way) or DEP-ARR-DATE-RETURN (round-trip). Each row runs as an independent search and appears in the output with its own search index.

Can I filter for nonstop flights?

Yes. Set the maximum number of stops to zero. You can also allow one or more stops and apply price, duration, airline, alliance, departure-time, or arrival-time filters.

Can I search Business or First Class flights?

Yes. Supported cabin options include Economy, Premium Economy, Business, and First Class.

Can I retrieve prices in different currencies?

Yes. Select your preferred currency before starting the search. Google Flights returns fares using the chosen currency setting.

Each flight option includes a Google Flights itinerary link. When Include Booking Details is enabled, the result can also include separate airline or travel-agent offers with provider-specific links.

Does the Actor book flights automatically?

No. The Actor extracts and compares flight information. Booking links take you to Google Flights or the relevant provider, where the traveller completes the purchase.

Which airports and destinations are supported?

You can search routes supported by Google Flights worldwide. Three-letter IATA airport codes are recommended, although supported city names can also be used in the From and To fields.

Can the results be exported to Excel?

Yes. Actor datasets can be exported as Excel, CSV, or JSON files.

Is the Google Flights Scraper API free?

Apify offers a free platform tier. This Actor uses Apify compute resources, with no separate per-search fee or Google Flights API key required. Review the Actor’s Pricing tab for the latest applicable platform costs.

What do I need to run the Actor?

You only need:

  • An Apify account
  • A departure location
  • An arrival location
  • An outbound travel date

The Actor runs in the cloud, so you do not need to install a browser, configure a proxy, or maintain your own scraping server.

πŸŽ‰ Start extracting Google Flights data

Enter your route and travel dates to collect live prices, airlines, schedules, layovers, booking links, and detailed flight records.

Run the Actor manually for a quick comparison, schedule it for fare monitoring, or connect the Google Flights Scraper API to your application for automated flight-data extraction.