Google Flights Scraper: Prices, Airlines and Times avatar

Google Flights Scraper: Prices, Airlines and Times

Pricing

from $1.94 / 1,000 flights

Go to Apify Store
Google Flights Scraper: Prices, Airlines and Times

Google Flights Scraper: Prices, Airlines and Times

Scrape Google Flights for any route and date. Get price, currency, airline, flight numbers, departure and arrival times, duration, stops and layovers, one way or round trip, economy to first. Type LHR-JFK or London to New York. No login, no browser. Pay per flight, $10 per 1,000.

Pricing

from $1.94 / 1,000 flights

Rating

0.0

(0)

Developer

Oski

Oski

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Features

Limited permissions

Share

Google Flights Prices Scraper

Flight prices, airlines, flight numbers, departure and arrival times, duration, stops and layovers from Google Flights for any route, date and cabin. One way or round trip, in the currency you choose. Pay only for flights delivered. No login, no browser, no API key.

Tired of flight scrapers that time out or come back empty? This one reads Google's own results data over a plain connection in about a second a route, retries the page when Google sends it without results, and ends every run with a status line that says exactly what came back and why.

What you get

One row per itinerary:

FieldExample
route, origin, destinationLHR-JFK, LHR, JFK
depart_date, return_date, trip_type2026-11-10, null, one way (the dates Google priced; what you asked for is in requested_depart_date and requested_return_date)
origin_airport, destination_airportthe airport Google attached to a city name (Berlin gives BER)
airline, airlines, flight_numbersJetBlue, ["JetBlue"], ["B62220"]
depart_airport, arrive_airportLHR, JFK
depart_at, arrive_at2026-11-10T07:25, 2026-11-10T10:32 (local times)
duration_min, stops487, 0
layovers[{"airport": "BCN", "name": ..., "city": "Barcelona", "minutes": 335}]
legsone entry per flight: number, airline, airports, times, duration, aircraft, legroom, emissions
price, price_text, currency, price_for409, "GBP 409", GBP, one way
cabin, passengerseconomy, 1
aircraft, legroom, emissions_kgAirbus A321neo, 32 in, 549
rankbest or other (Google's own grouping)
search_url, scraped_atthe Google Flights search and the run time

Plus one free SUMMARY row per route (flights delivered, requested, available, currency, and a reason when nothing came back).

Use cases

  • Fare monitoring: schedule a daily run for your routes and chart the cheapest fare.
  • Price comparison content: "cheapest flights London to New York in November" tables with live prices.
  • Travel agencies and corporate travel: price a batch of trips for several dates and cabins in one run.
  • Market research: which airlines fly a route, how often, with how many stops, at what price.
  • Alerts: run it with your own threshold logic and message yourself when a fare drops.

How to use it

  1. Type your routes, one per line: airport codes (LHR-JFK), city names (London to New York, Winston-Salem to Boston) or a pasted Google Flights search link. The same search typed twice runs once.
  2. Pick a departure date (empty means four weeks ahead). Add a return date for round-trip totals, or leave it empty for one-way prices.
  3. Choose cabin (economy, business or first; Google's search does not read premium economy), number of adults and a currency if you want one.
  4. Start the run. Download the dataset as JSON, CSV or Excel, or read it through the API.

Run it on a schedule

The recurring job for this actor is fare tracking: every morning, the current fares on your routes, so you can chart the cheapest one and spot a drop. A relative Departure date such as 28 days rolls forward by itself, so every run prices a departure four weeks ahead and the date never falls into the past.

Input for a daily run

{
"routes": ["LHR-JFK"],
"departDate": "28 days",
"currency": "GBP",
"maxFlightsPerRoute": 30
}

Every run returns current fares, so there is no "new only" mode here. To follow the same flight from one run to the next, match on route, flight_numbers and depart_at together.

Set it up in three steps

  1. Open the actor, fill in the input above and click Save as a new task.
  2. Open Schedules in the Apify console, click Create new and pick how often. The cron line for every day at 07:00 UTC is 0 7 * * *.
  3. Add the saved task to the schedule and save.

At the rate in the cost table below (about $0.20 per 100 flights), 30 daily runs that each deliver 30 flights with a fare, 900 flights in the month, cost about $1.86.

Or create the schedule over the API

curl -X POST "https://api.apify.com/v2/schedules" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "daily-flight-prices",
"cronExpression": "0 7 * * *",
"timezone": "UTC",
"isEnabled": true,
"isExclusive": true,
"actions": [{
"type": "RUN_ACTOR",
"actorId": "oski~google-flights-prices-scraper",
"runInput": {
"body": "{\"routes\": [\"LHR-JFK\"], \"departDate\": \"28 days\", \"currency\": \"GBP\", \"maxFlightsPerRoute\": 30}",
"contentType": "application/json; charset=utf-8"
}
}]
}'

Prices: what they mean

  • With no return date the price is a one-way fare. With a return date it is the round-trip total for the outbound flight shown, as Google displays it. The price_for field says which.
  • Prices are totals for the number of adults you set.
  • Currency follows your Currency field, or the country's currency when it is empty (United Kingdom gives GBP). The code is always in currency.
  • A few flights carry no fare on Google ("Price unavailable"). They are delivered with price null and are free.
  • Dates can be up to 330 days ahead. The rows carry the dates Google priced, and the SUMMARY row says so if they differ from the request.
  • Google groups results into "best" and "other" flights; both are delivered, in Google's order, with the group in rank.

How many flights and what it costs

Google lists 10 to 60 itineraries per route and date. Each route is one search.

Flights deliveredCost
100about $0.20
1,000about $2.00

Price: $0.002 per run plus $0.002 per flight delivered with a fare (lowered from $0.01 on 24 November 2026). Flights without a fare and routes that return nothing are free.

Input

FieldWhat to put
Routes (routes)One route per line as airport codes (LHR-JFK) or city names (London to New York). A pasted Google Flights search link also works and is fetched exactly as pasted, with its own dates and passengers.
Departure date (departDate)A date (2027-03-10, or typed like 10/03/2027) or a relative value such as 7 days. Empty means four weeks from today. Up to 330 days ahead.
Return date (returnDate)Leave empty for one-way prices. With a return date every price is the round-trip total.
Adults (passengers)1 to 9. Default 1. Prices are totals for this many adults.
Cabin (cabin)economy (the default), business or first.
Flights per route (maxFlightsPerRoute)1 to 200. Default 50.
Currency (currency)A 3-letter code such as GBP, USD or EUR. Leave empty for the currency of the country below.
Search as from country (country)The Google country edition to ask, as a two-letter code such as GB, US or DE. 25 countries are listed. It sets the default currency and can change which fares Google shows.
Proxy, Routes fetched at onceAdvanced settings (proxyConfiguration, concurrency). The defaults suit most runs.

Example input

The smallest useful input is one route. It prices one-way economy fares for one adult, four weeks from today:

{
"routes": ["LHR-JFK"]
}

A round trip for two adults in business class, leaving three weeks from today and returning a week later, priced in pounds:

{
"routes": ["LHR-JFK", "London to Dubai", "Manchester to Dublin"],
"departDate": "21 days",
"returnDate": "28 days",
"passengers": 2,
"cabin": "business",
"currency": "GBP",
"maxFlightsPerRoute": 50
}

A fare watch on fixed dates from the United States, in dollars, the kind of input you schedule daily:

{
"routes": ["SFO-LAX", "JFK-LAX", "ORD-MIA"],
"departDate": "2027-03-10",
"country": "US",
"currency": "USD",
"maxFlightsPerRoute": 30
}

Change the fixed date to one that suits you. Dates in the past and dates more than 330 days ahead are declined with an "Input problem" message before anything is charged.

Tips for bigger runs

  • Run many routes in one go: they are fetched in parallel.
  • To price several dates for the same route, add the route once per run and schedule runs per date, or pass each date as its own run through the API.
  • For a daily fare series, schedule the actor with a rolling date such as 28 days, so every run looks the same distance ahead.
  • Use airport codes when a city has several airports and you care which one. A city name lets Google choose, and the row tells you what it chose in origin_airport and destination_airport.
  • To find the cheapest fare on a route, sort the rows by price and skip the ones where price is empty.

Scheduling and integrations

See Run it on a schedule and Use it in n8n, Make or Zapier on this page; Apify's integrations can also send each run to Google Sheets or Slack, and a webhook can call your own system when a run finishes.

Use it in n8n, Make or Zapier

Any tool that can send an HTTP request can run this actor and get the rows back in the same call.

SettingValue
MethodPOST
URLhttps://api.apify.com/v2/acts/oski~google-flights-prices-scraper/run-sync-get-dataset-items
HeaderAuthorization: Bearer YOUR_TOKEN
Body typeJSON, with an input such as the one below
{
"routes": ["LHR-JFK"],
"departDate": "28 days",
"currency": "GBP",
"maxFlightsPerRoute": 20
}

n8n: add an HTTP Request node with those settings after a Schedule Trigger. Each returned row becomes one n8n item, so the next node (Google Sheets, Slack, email) receives one row per result. The rows include one free summary row per route with type set to SUMMARY; filter it out if you only want flights.

Make and Zapier: Make has an HTTP "Make a request" module; use the same four settings. Zapier has "Webhooks by Zapier" (Custom Request); use the same four settings.

This call waits for the run to finish and Apify ends it after 300 seconds, so keep Flights per route small for this route and use a schedule plus the dataset for large runs.

Google Flights API: call it from your code

Use the actor as a Google Flights API: send routes and dates, get itineraries and prices back as JSON.

curl (waits for the run and returns the flights):

curl -X POST "https://api.apify.com/v2/acts/oski~google-flights-prices-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"routes": ["LHR-JFK", "LHR-LAX"], "departDate": "21 days", "returnDate": "28 days", "currency": "GBP"}'

Python (pip install apify-client):

from apify_client import ApifyClient
client = ApifyClient("YOUR_TOKEN")
run = client.actor("oski/google-flights-prices-scraper").call(run_input={
"routes": ["LHR-JFK", "Manchester to Dublin"],
"departDate": "14 days",
"currency": "GBP",
"maxFlightsPerRoute": 50,
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
if row.get("type") == "SUMMARY":
continue # one free summary row per route
print(row["route"], row["airline"], row["depart_at"], row["stops"], row["price"], row["currency"])

JavaScript (npm install apify-client):

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_TOKEN' });
const run = await client.actor('oski/google-flights-prices-scraper').call({
routes: ['SFO-LAX'],
departDate: '7 days',
country: 'US',
currency: 'USD',
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
const flights = items.filter((row) => row.type !== 'SUMMARY' && row.price);
flights.sort((a, b) => a.price - b.price);
console.log('Cheapest:', flights[0].airline, flights[0].price, flights[0].currency);

The dataset holds the flights plus one free row per route with "type": "SUMMARY", so filter on type as shown. The same per-route summaries are in the run's key-value store under the key SUMMARIES.

Use it with AI agents and LLM apps

  • Claude, Cursor and other MCP clients: connect Apify's MCP server and add this actor by its name, oski/google-flights-prices-scraper. The agent can then answer questions such as "what is the cheapest direct flight from London to New York in three weeks?" from live fares.
  • Clean numbers: price is a number with a currency code, duration_min is minutes and stops is a count, so a model can compare itineraries without parsing text such as "8 hr 7 min".
  • No guessing about the fare: price_for says whether a price is one way or a round-trip total, and depart_date holds the date Google priced next to requested_depart_date, so an assistant can tell the user exactly what a fare covers.

Output sample

{
"route": "LHR-JFK",
"origin": "LHR",
"destination": "JFK",
"origin_airport": "LHR",
"destination_airport": "JFK",
"depart_date": "2026-12-10",
"return_date": null,
"requested_depart_date": "2026-12-10",
"requested_return_date": null,
"trip_type": "one way",
"airline": "Tap Air Portugal",
"airlines": [
"Tap Air Portugal"
],
"flight_numbers": [
"TP1367",
"TP209"
],
"depart_airport": "LHR",
"arrive_airport": "JFK",
"depart_at": "2026-12-10T12:25",
"arrive_at": "2026-12-10T20:05",
"duration_min": 760,
"stops": 1,
"layovers": [
{
"airport": "LIS",
"name": "Lisbon Airport",
"city": "Lisbon",
"minutes": 80
}
],
"legs": [
{
"flight_number": "TP1367",
"airline": "Tap Air Portugal",
"depart_airport": "LHR",
"depart_airport_name": "Heathrow Airport",
"arrive_airport": "LIS",
"arrive_airport_name": "Lisbon Airport",
"depart_at": "2026-12-10T12:25",
"arrive_at": "2026-12-10T15:15",
"duration_min": 170,
"aircraft": "Airbus A320neo",
"legroom": "28 in",
"emissions_kg": 123
},
{
"flight_number": "TP209",
"airline": "Tap Air Portugal",
"depart_airport": "LIS",
"depart_airport_name": "Lisbon Airport",
"arrive_airport": "JFK",
"arrive_airport_name": "John F. Kennedy International Airport",
"depart_at": "2026-12-10T16:35",
"arrive_at": "2026-12-10T20:05",
"duration_min": 510,
"aircraft": "Airbus A321neo",
"legroom": "31 in",
"emissions_kg": 445
}
],
"price": 388,
"price_text": "GBP 388",
"currency": "GBP",
"price_for": "one way",
"cabin": "economy",
"passengers": 1,
"aircraft": "Airbus A320neo, Airbus A321neo",
"legroom": "28 in",
"emissions_kg": 568,
"rank": "best",
"search_url": "https://www.google.com/travel/flights?q=flights%20from%20LHR%20to%20JFK%20on%20december%2010%20one%20way&hl=en&gl=gb&curr=GBP",
"scraped_at": "2026-11-19T16:59:12+00:00"
}

This is a real row from a run on 2026-11-19.

If something looks wrong

Status line saysWhat it meansWhat to do
Input problem: Add at least one routeThe routes field was emptyAdd a route like LHR-JFK
Input problem: "X" is not a routeA line had only one placeType two places, origin and destination
Input problem: Return date must be on or after the departure dateDates were reversedSwap them
Google did not understand the routeGoogle could not read the places as typedCheck the spelling or use airport codes such as LHR-JFK
Google listed no flights for it on that dateGoogle has no itineraries for that pair and dateCheck the airport codes or try another date
Google sent the page without its results three timesGoogle served a results-less page on every tryRun again later; it is a transient Google behaviour
Google showed a consent page or a captchaGoogle asked for consent or refused the exit IPRun again; if it repeats, choose the RESIDENTIAL proxy group
Fewer flights than listedThe route had more flights than your maximumRaise "Flights per route"
Input problem: ... is a link but not a Google Flights search linkA hotel, explore or other site's link was pastedPaste a google.com/travel/flights link or type the route
Input problem: ... is more than 330 days aheadThe search names month and day onlyPick a date within 330 days
Stopped early because the run reached its maximum costYour per-run cost cap was hit; unstarted routes have a SUMMARY row saying soRaise the cap under Run options
I wanted one-way prices but got round tripA return date was setClear the return date

The actor reads only flight results that Google Flights shows publicly, without logging in. The data is about flights: airlines, flight numbers, times, aircraft and fares. It carries no passenger details and no other personal data. You are responsible for how you use the data, including any rules on republishing fares in your country. This is general information and not legal advice.

FAQ

Do I need a Google account or API key? No. Only an Apify account.

Can I search one way and round trip? Yes. Leave Return date empty for one-way fares, or set it for round-trip totals. The price_for and trip_type fields say which you got.

Can I price several dates in one run? One departure date applies to every route in a run. For several dates, start one run per date through the API or schedule one task per date.

Does it support multi-city trips or premium economy? Not in this version. Cabins are economy, business and first, because Google's search does not read premium economy.

Can I add children or infants? The input takes adults only, from 1 to 9.

Does it return booking links? Not per airline. Each row carries search_url, which opens that search on Google Flights where the booking options are listed.

Can I track fares over time? Yes. Schedule the same routes with a fixed date and compare runs. The actor keeps no price history itself: each run reads the fares at that moment.

How many flights can I get? Up to 200 per route in the input. Google lists 10 to 60 itineraries for a route and date, and that is what comes back. Dates can be up to 330 days ahead.

Can I export to Excel or Google Sheets? Yes. Download the dataset as Excel, CSV or JSON, or send each run to Google Sheets with Apify's integrations. In a spreadsheet, the per-route summary rows are the ones with SUMMARY in the type column.

How fresh is the data? Live: each run reads Google Flights at that moment.

What if it breaks? Open an issue on the actor's page with the run link.

Changelog

  • 10 October 2026, version 0.1.3: a page that Google sends without results is fetched again up to two more times before the route is reported empty. Rows carry the dates Google priced, with the dates you asked for beside them. Departures more than 330 days ahead are declined before any charge. The same search typed two ways runs once.
  • 10 October 2026, version 0.1.2: flights that Google lists without a fare are delivered free. A route Google cannot read gets its own message, separate from "no flights". City names are kept alongside the main airport code.
  • 10 October 2026: first version. One-way and round-trip fares for any route, date and cabin, in the currency you choose, with one free summary row per route.

Sibling actors

  • Google Hotels Prices Scraper: hotel names, nightly prices, ratings and amenities for any destination and dates.