This repository is documentation only — no scraper source code. The Actor runs on the Apify platform; just enter an origin, a destination and a date.
Scrape live flight prices from Google Flights in seconds — airlines, departure & arrival times, number of stops, total flight duration, cabin class, per-leg segments and booking tokens. Works for one-way and round-trip searches, any cabin class (economy, premium economy, business, first), and can scan a whole range of departure dates in one run to find the cheapest day to fly. There is no login, no Google Flights API key and no quota — this is the practical Google Flights API alternative for fare monitoring, price-drop alerts and airfare price intelligence, exportable to JSON, CSV or Excel.
One row per flight itinerary. Real output fields:
| Field | Description |
|---|---|
price |
Total fare price for the search party, in the selected currency. |
currency |
ISO currency code of the price. |
airlines |
Comma-separated airline name(s) on the itinerary. |
airlineCode |
Primary marketing airline IATA code. |
stops |
Number of stops (0 = non-stop). |
fromCode / toCode |
First-segment departure and last-segment arrival airport IATA codes. |
departureDate / departureTime |
Local outbound departure date and time (HH:MM). |
arrivalDate / arrivalTime |
Local arrival date and time. |
totalDurationMin |
Total travel time in minutes. |
tripType |
one-way or round-trip. |
searchOrigin / searchDestination |
Origin / destination used for the search. |
searchDepartDate / searchReturnDate |
Departure / return date used for the search. |
segments |
JSON string of per-segment detail (airports, times, aircraft type, flight numbers, operating carrier). |
bookingToken |
Google Flights booking token for the itinerary, when present. |
scrapedAt |
ISO 8601 timestamp of the scrape. |
- Fare monitoring & price-drop alerts — schedule daily runs and track when a route gets cheaper.
- Cheapest-day-to-fly analysis — set
departureDateEndto build a full fare calendar in a single run. - Travel agencies & OTAs — enrich your own search results with live Google Flights pricing.
- Route & competitor price intelligence — monitor how carriers price specific routes over time.
- Deal sites & newsletters — auto-source the best fares for your audience.
- AI travel agents & chatbots — feed structured, real-time flight data into LLM workflows.
- Airfare data science & dashboards — analyze pricing trends, seasonality and demand.
Four ways to run — all return the same structured dataset.
- Open apify.com/logiover/google-flights-scraper.
- Click Try for free. Defaults (
JFK → LHR, ~30 days out) return sample fares immediately. - Pick your
origin,destinationanddepartureDate, then Start and export from the Output tab.
npm install -g apify-cli
apify login
apify call logiover/google-flights-scraper \
--input '{ "origin": "JFK", "destination": "LHR", "departureDate": "2026-08-15", "currency": "USD" }'curl -X POST \
"https://api.apify.com/v2/acts/logiover~google-flights-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"origin": "JFK",
"destination": "LHR",
"departureDate": "2026-08-01",
"departureDateEnd": "2026-08-31",
"tripType": "one-way",
"seatClass": "economy",
"currency": "USD"
}'Full snippets in examples/javascript.md and examples/python.md. All four methods are in examples/.
Provide at least an origin and destination; a departure date is optional (defaults to ~30 days out).
| Field | Type | Description |
|---|---|---|
origin |
select | Departure airport IATA code, e.g. JFK, IST, CDG. |
destination |
select | Arrival airport IATA code, e.g. LHR, LAX, DXB. |
departureDate |
string | Outbound date YYYY-MM-DD. Blank → ~30 days out. |
departureDateEnd |
string | Scan every date from departureDate to this date — a cheapest-day fare calendar (many more results). |
returnDate |
string | Return date YYYY-MM-DD for round-trips. |
tripType |
select | one-way or round-trip (round-trip requires a return date). |
seatClass |
select | economy, premium-economy, business or first. |
adults / children |
integer | Number of adult / child passengers. |
maxStops |
select | Cap stops: Any, non-stop only (0), up to 1, or up to 2. |
currency |
select | ISO price currency: USD, EUR, GBP, TRY, AED, … |
language |
select | Google locale for results: en-US, en-GB, de-DE, … |
maxResults |
integer | Cap total rows across all searched dates (0 = unlimited). |
proxyConfiguration |
object | Apify Proxy (auto IP rotation) on by default. Use RESIDENTIAL for high volume. |
Origin, destination, cabin class, currency and locale are all dropdowns in the Console.
Tip — cheapest day to fly: set both
departureDateanddepartureDateEndand the Actor returns one set of fares per day across the window — ideal for a fare calendar.
A realistic sample record:
{
"price": 412,
"currency": "USD",
"airlines": "British Airways",
"airlineCode": "BA",
"stops": 0,
"fromCode": "JFK",
"toCode": "LHR",
"departureDate": "2026-08-15",
"departureTime": "21:30",
"arrivalDate": "2026-08-16",
"arrivalTime": "09:25",
"totalDurationMin": 415,
"tripType": "one-way",
"searchOrigin": "JFK",
"searchDestination": "LHR",
"searchDepartDate": "2026-08-15",
"searchReturnDate": null,
"segments": "[{\"from\":\"JFK\",\"to\":\"LHR\",\"flightNo\":\"BA112\",\"plane\":\"Boeing 777\"}]",
"bookingToken": "WyJDalJJ...",
"scrapedAt": "2026-07-06T08:12:44.000Z"
}- Schedules — run hourly or daily for automated fare monitoring and price-drop alerts.
- Webhooks — trigger a notification the moment a route drops below your target price.
- Google Sheets / Airtable — sync live fares into a shared fare calendar or dashboard.
- Databases, BI & S3 — export via the Apify API for airfare trend analysis.
- Zapier · Make · n8n · Pipedream — connect the Actor into no-code alerting flows (e.g. Slack when JFK→LHR drops under $400).
Export every run as CSV, JSON, JSONL (JSON Lines), Excel (XLSX) or XML — one click in the Console or via the Apify API.
No. There is no public Google Flights API, so this Actor is the closest Google Flights API alternative — it returns live, structured fare data you can pull programmatically.
Yes. There is no API key, no login, no OAuth, no cookies and no quota. Just enter an origin, destination and date and get live flight prices ready for CSV or JSON export.
Yes. Prices are fetched at run time and reflect what a traveler sees. Availability and fares change constantly, so re-run for fresh data.
Set both departureDate and departureDateEnd to scan every date in that window — you get one result set per day, perfect for a fare calendar.
Yes — set tripType to round-trip and provide a returnDate.
Yes — set seatClass to premium-economy, business or first.
Yes. Set maxStops to 0 for non-stop itineraries only, or leave it open for any number of connections.
Major hubs worldwide via standard IATA codes (JFK, LHR, IST, CDG, DXB, SIN, SYD, …), selectable from a dropdown.
Run the Actor, then download the dataset as CSV, JSON, JSONL, Excel or XML from the Console, or pull it straight from the Apify API. Each itinerary is one clean row.
As many itineraries as Google Flights returns for your search — and far more when you use departureDateEnd to scan a date range (one result set per day). Cap the total with maxResults.
- Booking.com Hotels & Prices Scraper — live hotel rates and availability.
- Airbnb Scraper — short-stay listings, prices and availability.
- Numbeo Cost of Living Scraper — cost-of-living data by city for trip planning.
👉 Browse all logiover scrapers on Apify Store.
📄 Documentation only — this repository contains no scraper source code. The Actor runs on the Apify platform. Always confirm the final price on the airline or booking site before purchase.
Licensed under the MIT License · © 2026 logiover · Not affiliated with, endorsed by, or sponsored by Google.