Google Flights Scraper — Flight Prices & Schedules avatar

Google Flights Scraper — Flight Prices & Schedules

Pricing

from $3.00 / 1,000 flight offers

Go to Apify Store
Google Flights Scraper — Flight Prices & Schedules

Google Flights Scraper — Flight Prices & Schedules

Scrape Google Flights offers: airline, times, duration, stops and price. One-way or round-trip. REQUIRES Apify RESIDENTIAL proxy. Clean airfare schema for OTAs and fare alerts — emissions are not included.

Pricing

from $3.00 / 1,000 flight offers

Rating

0.0

(0)

Developer

Noah Adler

Noah Adler

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

18 hours ago

Last modified

Categories

Share

Google Flights scraper / flight prices API to extract airline offers from Google Flights: times, duration, stops and price for one-way or round-trip searches by city/airport. Carbon emissions are not exported.

Ideal for fare monitoring, travel price research, route comps, or a Google Flights API without building your own browser stack.

⚠️ For users — read before you run
Google Flights is aggressive on bots.
Keep Apify RESIDENTIAL proxy ON. Datacenter / no-proxy → often captcha or empty results.
You don’t install a proxy on your PC — leave the default proxyConfiguration.

Why this Actor: Origin→destination search · Round-trip support · Paste Flights URLs · Structured offer rows · Travel Store niche


Table of contents

  1. What this Actor does
  2. What you get
  3. Features
  4. Input
  5. Output example
  6. Output fields
  7. Quick start (API)
  8. Use cases
  9. Limitations
  10. FAQ
  11. Keywords

What this Actor does

StepAction
1Open Google Flights (or your pasted search URL)
2Fill origin, destination and dates (Playwright)
3Parse visible flight offer cards
4Return normalized price / schedule rows

What you get

Schedule

  • Airline name
  • Departure / arrival times
  • Duration and stops

Price & extras

  • Price + currency when shown
  • Emissions text when available
  • Search URL used

Features

CapabilityDetail
Route searchCity or IATA codes
Trip typesOne-way or round-trip (returnDate)
URL pasteFull Google Flights links
Proxy-readyRESIDENTIAL defaults documented
CapsmaxItems for cost control

Input

FieldRequiredDescription
origin / destination / departureDateCond.Route search
returnDateNoEnables round-trip
searchUrlsCond.Overrides builders
adults / travelClassNoPassengers / cabin
currency / languageNoEUR / en defaults
maxItemsNoDefault 30
proxyConfigurationYes in practiceRESIDENTIAL

Example — MAD → BCN

{
"origin": "MAD",
"destination": "BCN",
"departureDate": "2026-11-10",
"maxItems": 20,
"currency": "EUR",
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": ["RESIDENTIAL"]
}
}

Output example

{
"recordType": "flight_offer",
"airline": "Iberia",
"departureTime": "08:15",
"arrivalTime": "09:30",
"duration": "1 hr 15 min",
"stops": "Nonstop",
"price": 59.0,
"currency": "EUR",
"origin": "MAD",
"destination": "BCN",
"departureDate": "2026-11-10"
}

Output fields

FieldNotes
airline, departureTime, arrivalTimeCarrier & schedule
duration, stopsAs shown on card
price, priceText, currencyParsed when possible
origin, destination, departureDate, returnDateQuery context
flightUrl, scrapedAtProvenance

Quick start (API)

from apify_client import ApifyClient
client = ApifyClient("<YOUR_TOKEN>")
run = client.actor("YOUR_USERNAME/google-flights-scraper").call(
run_input={
"origin": "MAD",
"destination": "LHR",
"departureDate": "2026-12-01",
"returnDate": "2026-12-08",
"maxItems": 15,
"proxyConfiguration": {
"useApifyProxy": True,
"apifyProxyGroups": ["RESIDENTIAL"],
},
}
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

Use cases

  • Airline / OTA fare monitoring
  • Route price bands for travel agencies
  • Competitor flight offer snapshots
  • Flexible-date research pipelines (batch dates)

Limitations

  • RESIDENTIAL proxy strongly recommended.
  • Google UI selectors change — cards may need maintenance.
  • Captcha / consent walls can empty a run.
  • Not a booking engine — prices are display offers.
  • Respect Google Terms of Service.

FAQ

Empty results?
Enable RESIDENTIAL, retry; try IATA codes (MAD) instead of long city names.

Round-trip?
Set returnDate.

Only a URL?
Paste into searchUrls and skip origin fields.


Keywords

google flights scraper, google flights api, flight prices scraper, airfare scraper, flight schedule api, MAD BCN flights, travel fare monitoring