Google Flights Scraper avatar

Google Flights Scraper

Pricing

from $3.20 / 1,000 flights

Go to Apify Store
Google Flights Scraper

Google Flights Scraper

Scrape one-way flights from Google Flights: airline, flight numbers, times, duration, stops, price, CO2 and every segment with aircraft and legroom. Any route and date, cabin class and passengers. One result per flight.

Pricing

from $3.20 / 1,000 flights

Rating

0.0

(0)

Developer

try mersianto

try mersianto

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Categories

Share

Scrape one-way flights from Google Flights for any route and date. One result per flight: airline, flight numbers, departure and arrival times, duration, stops, total price, CO2 estimate, and every segment with aircraft and legroom. Choose cabin class, number of adults, maximum stops and currency. $4 per 1,000 flights on the Free plan, less on paid plans. No browser, so runs are fast and cheap.

What you get

FieldTypeDescription
searchstringSearch as given in the input
rankintegerPosition of the flight in Google's results for that search, starting at 1
originstringDeparture airport IATA code
destinationstringArrival airport IATA code
departure_datestringDeparture date, YYYY-MM-DD, local time
departure_timestring or nullDeparture time, HH:MM, local time
arrival_datestring or nullArrival date, YYYY-MM-DD, local time
arrival_timestring or nullArrival time, HH:MM, local time
duration_minutesinteger or nullTotal travel time including layovers, in minutes
stopsintegerNumber of stops, 0 for nonstop
airlinestringAirline or airlines, comma separated
flight_numbersarrayFlight numbers of all segments, for example AA 171
pricenumberTotal price for all adults, one way, in the currency given in currency
currencystringCurrency code of price
cabinstringCabin class searched: economy, premium_economy, business or first
adultsintegerNumber of adult passengers searched
co2_emissions_kginteger or nullEstimated CO2 emissions of this itinerary per passenger, kg
typical_co2_emissions_kginteger or nullTypical CO2 emissions for this route, kg
segmentsarrayEach flight segment: flight_number, airline, from/to airport and name, departure/arrival date and time, duration_minutes, aircraft, legroom
google_urlstringGoogle Flights page of this search
scraped_atstringUTC time the flight was scraped, ISO 8601

Times are local to each airport. price is the total for all adults in the search, one way.

Input

  • searches: one-way searches as FROM TO YYYY-MM-DD with IATA airport codes, for example JFK LAX 2026-12-01. For a return trip, add the return as a second search (LAX JFK 2026-12-08). Lines in another format are skipped and logged.
  • cabin: economy (default), premium_economy, business or first.
  • adults: 1 to 9 adult passengers. Default 1.
  • maxStops: any (default), nonstop, max_1_stop or max_2_stops.
  • currency: three-letter currency code, default USD.
  • maxItemsPerSearch: stop a search after this many flights, in Google's order. Default 50.
  • maxItems: stop after this many flights in total. Default 500.
  • proxyConfiguration: fallback proxy, Apify datacenter by default. Each search is tried directly first.
{
"searches": ["JFK LAX 2026-12-01", "LAX JFK 2026-12-08"],
"cabin": "economy",
"adults": 1,
"maxStops": "nonstop"
}

Example output

{
"search": "JFK LAX 2026-12-01",
"rank": 1,
"origin": "JFK",
"destination": "LAX",
"departure_date": "2026-12-01",
"departure_time": "21:27",
"arrival_date": "2026-12-02",
"arrival_time": "00:49",
"duration_minutes": 382,
"stops": 0,
"airline": "American",
"flight_numbers": [
"AA 300"
],
"price": 205,
"currency": "USD",
"cabin": "economy",
"adults": 1,
"co2_emissions_kg": 281,
"typical_co2_emissions_kg": 343,
"segments": [
{
"flight_number": "AA 300",
"airline": "American",
"from_airport": "JFK",
"from_airport_name": "John F. Kennedy International Airport",
"to_airport": "LAX",
"to_airport_name": "Los Angeles International Airport",
"departure_date": "2026-12-01",
"departure_time": "21:27",
"arrival_date": "2026-12-02",
"arrival_time": "00:49",
"duration_minutes": 382,
"aircraft": "Boeing 787",
"legroom": "31 in"
}
],
"google_url": "https://www.google.com/travel/flights/search?tfs=GhoSCjIwMjYtMTItMDFqBRIDSkZLcgUSA0xBWEABSAGYAQI&hl=en&curr=USD",
"scraped_at": "2026-10-16T12:21:53+00:00"
}

Pricing

Pay per result: one flight event per flight saved. The run stops cleanly when your maximum charge per run is reached. Searches that return no flights cost nothing beyond the start fee.

Limitations

  • One-way searches only. Round trips are two searches; Google's round-trip bundle prices are not included.
  • Results are the flights Google lists on the first results page for a search, usually 20 to 100. Google's ranking and prices change often; a flight's price is a snapshot at scraped_at.
  • Prices come from Google and may differ from the airline's final price (bags, fees).
  • Airports must be given as IATA codes (JFK, LHR, CGK). City codes such as NYC are not supported.

For AI agents

Minimal input:

{ "searches": ["JFK LAX 2026-12-01"], "maxItemsPerSearch": 10 }

Each dataset item is one flight itinerary with the fields listed under "What you get"; segments lists each leg.