Google Flights Scraper
Google Flights Scraper returns one JSON row per flight option on a Google Flights results page: price and priceText, airlines, flightNumbers, local departure and arrival times, airports, total duration, stops with layover airports and minutes, aircraft, legroom, CO2 in kg and emissionsVsTypicalPct. It costs $0.002 per search that returns flights, which is $2.00 per 1,000 searches with every option included. No Google API key or browser is needed.
from $0.002 per flight search, $2.00 per 1,000 ยท Updated Nov 2026, version 0.1.8
Key facts
- Price
- from $0.002 per flight search, $2.00 per 1,000
- Pricing model
- Pay per event
- Output
- JSON, CSV, Excel, XML, RSS via Apify datasets
- Access
- Apify Console, REST API, Python and JS clients, MCP tool google_flights
- Version
- Updated Nov 2026, version 0.1.8
- Actor
subimpact/google-flights-scraper
Who it is for
- Travel startups building a fare comparison feed
- Corporate travel teams monitoring route prices
- Aviation and tourism analysts studying capacity and stops
- Data journalists reporting on fare and emissions trade-offs
Use cases
Compare every option on a route
One search object with from KUL, to SIN and a date returns every option Google rendered, each with price, airlines, flightNumbers, duration and stops. isBestFlight marks the options Google put in its Top flights section, so you can separate its best-fare picks from the rest of the list in one pass rather than reading the page yourself.
Analyse layovers and emissions
Each connection row carries the layover airport, the layover length and an overnight flag, and every row carries co2EmissionsKg plus emissionsVsTypicalPct against the route average. That is the data for a greener-travel comparison: a cheap one-stop option with an eight hour layover can score worse on emissions than a pricier nonstop, and the row shows both numbers.
Monitor a set of routes
Build a searches array with several city pairs and run it daily with maxSearches as the cost ceiling. price, priceText and the search fields on each row let you track a route over time, while flightNumbers and departure times show whether the underlying schedule changed or only the fare did. currency is applied by Google, so set MYR or SGD for local pricing.
Filter to nonstop only
Set nonstopOnly to true and every returned row is a direct flight, with departureAirport and arrivalAirport names and the total journey time in minutes. For a business travel policy that bans connections this turns a full results page into a usable shortlist, and maxFlightsPerSearch caps how many of the cheapest options you take.
Check a fare by hand
Every row carries the exact google.com/travel/flights URL it was parsed from, so any price can be re-opened and verified. For a reporting workflow that matters: a fare quoted in a document can be traced to the page that produced it, and the RUN_SUMMARY record in the key-value store lists each search with its URL, options found and whether it was charged.
Output fields
| Field | Type | Description |
|---|---|---|
searchFrom | string/null | Departure airport or city exactly as it was sent to Google, e.g. KUL or Kuala Lumpur |
searchTo | string/null | Arrival airport or city exactly as it was sent to Google, e.g. SIN or Singapore |
searchDate | string/null | Departure date of the search, YYYY-MM-DD |
searchReturnDate | string/null | Return date of the search, YYYY-MM-DD, or null for a one-way search |
tripType | string/null | one-way or round-trip |
cabin | string/null | Cabin class that was searched: economy, business or first |
adults | integer/null | Number of adult passengers in the search (the fare is the total for all of them) |
currency | string/null | ISO currency code the price is expressed in, e.g. USD |
price | number/null | Fare in the requested currency, as the number Google shows (no decimals in the source). Null when Google shows no price for the option (some partner fares). |
priceText | string/null | The same fare formatted with the currency symbol, e.g. $44 |
isBestFlight | boolean/null | True when the option comes from the page's Top flights section (Google's best-fare picks), false for the Other flights list |
airlines | array | Marketing airline names, e.g. ["Scoot"]. Several names when the itinerary is operated by more than one airline. |
Show all 28 fields
| Field | Type | Description |
|---|---|---|
flightNumbers | array | One entry per leg, e.g. ["TR451"] or ["VJ936","VJ820"] |
departureAirport | object/null | First departure airport: 3-letter IATA code and English name |
arrivalAirport | object/null | Final arrival airport: 3-letter IATA code and English name |
departureTime | string/null | Local departure time of the first leg, ISO without zone: 2026-12-01T11:15 |
arrivalTime | string/null | Local arrival time of the last leg, ISO without zone: 2026-12-01T12:35 |
arrivalDayOffset | integer/null | Days between the departure date and the arrival date: 0 same day, 1 next day |
durationMinutes | integer/null | Total journey time including layovers, in minutes |
stops | integer/null | Number of connections: 0 for nonstop |
layovers | array | One entry per connection, in travel order. Empty for nonstop flights. |
aircraft | array | Aircraft types flown, e.g. ["Airbus A320"] |
legroom | string/null | Seat pitch Google reports for the first leg, e.g. 28 inches |
co2EmissionsKg | number/null | Google's per-passenger CO2 estimate for this itinerary, in kilograms |
emissionsVsTypicalPct | integer/null | Percent difference from Google's typical emissions for the route: negative is lower, positive is higher |
searchUrl | string/null | The google.com/travel/flights URL this row was parsed from |
parseStrategy | string/null | structured when the row came from Google's embedded result arrays, aria-label when it came from the rendered card labels |
scrapedAt | string/null | When this row was parsed, ISO 8601 UTC |
Sample output
From one of our own test runs on 20 Nov 2026, trimmed. Personal data is redacted.
2 rows, first 3 shown
[
{
"searchFrom": "KUL",
"searchTo": "SIN",
"searchDate": "2026-12-20",
"searchReturnDate": null,
"tripType": "one-way",
"cabin": "economy",
"adults": 1,
"currency": "USD",
"price": 58,
"priceText": "$58",
"isBestFlight": false,
"airlines": [
"AirAsia"
],
"flightNumbers": [
"AK701"
],
"departureAirport": {
"code": "KUL",
"name": "Kuala Lumpur International Airport"
},
"arrivalAirport": {
"code": "SIN",
"name": "Singapore Changi Airport"
},
"departureTime": "2026-12-20T06:05",
"arrivalTime": "2026-12-20T07:15",
"arrivalDayOffset": 0,
"durationMinutes": 70,
"stops": 0,
"layovers": [],
"aircraft": [
"Airbus A321neo"
],
"legroom": "28 inches",
"co2EmissionsKg": 40,
"emissionsVsTypicalPct": -23,
"searchUrl": "https://www.google.com/travel/flights?q=Flights%20to%20SIN%20from%20KUL%20on%202026-12-20%20oneway&curr=USD&hl=en&gl=us",
"parseStrategy": "structured",
"scrapedAt": "2026-11-20T02:45:41.002Z"
},
{
"searchFrom": "KUL",
"searchTo": "SIN",
"searchDate": "2026-12-20",
"searchReturnDate": null,
"tripType": "one-way",
"cabin": "economy",
"adults": 1,
"currency": "USD",
"price": 58,
"priceText": "$58",
"isBestFlight": false,
"airlines": [
"AirAsia"
],
"flightNumbers": [
"AK703"
],
"departureAirport": {
"code": "KUL",
"name": "Kuala Lumpur International Airport"
},
"arrivalAirport": {
"code": "SIN",
"name": "Singapore Changi Airport"
},
"departureTime": "2026-12-20T07:10",
"arrivalTime": "2026-12-20T08:20",
"arrivalDayOffset": 0,
"durationMinutes": 70,
"stops": 0,
"layovers": [],
"aircraft": [
"Airbus A320"
],
"legroom": "28 inches",
"co2EmissionsKg": 54,
"emissionsVsTypicalPct": 4,
"searchUrl": "https://www.google.com/travel/flights?q=Flights%20to%20SIN%20from%20KUL%20on%202026-12-20%20oneway&curr=USD&hl=en&gl=us",
"parseStrategy": "structured",
"scrapedAt": "2026-11-20T02:45:41.002Z"
}
]Input
| Field | Type | Required | Description | Default |
|---|---|---|---|---|
searches | array | No | One object per search. from/to accept a 3-letter airport or city code (KUL, SIN) or a free-text city name (Kuala Lumpur). date and returnDate are YYYY-MM-DD; returnDate null or empty means one way. adults 1-9, cabin economy, business or ... | - |
from | string | No | Used only when Searches is empty. Departure airport or city: a 3-letter code such as KUL or a city name such as Kuala Lumpur. | - |
to | string | No | Used only when Searches is empty. Arrival airport or city: a 3-letter code such as SIN or a city name such as Singapore. | - |
departureDate | string | No | Used only when Searches is empty. YYYY-MM-DD, today or later, up to 330 days ahead. Empty means about 30 days from today. | - |
returnDate | string | No | Used only when Searches is empty. YYYY-MM-DD, on or after the departure date. Leave empty for a one-way search. | - |
adults | integer | No | Number of adult passengers (1-9). Fares are the total for all adults, exactly as Google Flights shows them. | 1 |
cabin | string | No | Cabin class. Every option was verified against live Google Flights pages in October 2026. | economy |
currency | string | No | 3-letter currency code for the prices, e.g. USD, EUR, MYR, SGD, JPY. Google converts the fare, so the numbers are Google's conversion, not an interbank rate. | USD |
language | string | No | 2-letter Google interface language, e.g. en, ms, de. Prices, airline names and dates follow this language. | en |
country | string | No | 2-letter Google country code, e.g. us, my, sg, gb. It sets the Google Flights market (which points of sale and fare rules are shown); the currency comes from the Currency field. | us |
nonstopOnly | boolean | No | Only show nonstop flights. Verified: Google returns just the nonstop options and the search shows the nonstop filter as applied. | false |
maxFlightsPerSearch | integer | No | Upper limit of flight rows taken from each search's results page (1-300). A page usually lists 20-60 options that Google has already rendered; extra options are dropped, cheapest-first, and the drop is reported. | 50 |
maxSearches | integer | No | Cost ceiling: at most this many searches are run (1-200). Every successful search costs $0.002, so the default 25 caps a run at $0.05. Searches above the cap are skipped and listed in RUN_SUMMARY. | 25 |
maxConcurrency | integer | No | How many searches run at the same time (1-10). Higher is faster and more likely to get a soft rate limit from Google. | 3 |
proxyConfiguration | object | No | Google Flights answers direct requests from Apify's datacenter IPs, so no proxy is used by default and the run costs nothing extra. Enable Apify Proxy (or your own proxy URLs) if you run very large jobs or see empty pages; a failed proxy... | {"useApifyProxy":false} |
Example input
{
"searches": [
{
"from": "KUL",
"to": "SIN",
"adults": 1,
"cabin": "economy"
}
],
"from": "KUL",
"to": "SIN",
"currency": "USD",
"language": "en",
"country": "us",
"maxFlightsPerSearch": 50,
"maxSearches": 25,
"maxConcurrency": 3
}Pricing
| Event | What it means | Price | Lowest tier |
|---|---|---|---|
search | One flight search that returned at least one flight option; every option on the page is included. Empty or failed searches are never charged. | $0.002 | $0.002 |
apify-actor-start | Charged when the Actor starts running. Number of events charged depends on Actor memory (one event per GB, minimum one event). | $0.00005 | $0.00005 |
$2.00 for 1,000 flight search units at the listed price.
Prices from the Apify Store on 20 November 2026. Apify shows the final price before each run.
How it compares with other Apify actors
Price per 1,000 searchs at Apify Store list prices. Every row is a live listing on the Store, read on 20 Nov 2026, so a buyer can check each number at the source.
| Actor | Price per 1,000 searchs (Free plan) | Higher plans (Gold) | Start fee per run | Platform usage | Users | Rating | Last build |
|---|---|---|---|---|---|---|---|
| Google Flights Scraper: Fares, Airlines & Times This API | $2.00 | $2.00 | $0.00005 | Included | 1 | No reviews yet | 19 Nov 2026 |
| Google Flights API | $20.00 | $9.72 | $0.00101 | Included | 3,132 | 4.5 (7 reviews) | 18 Nov 2026 |
| Google Flights Scraper ๐ฐ$1/1K โ Fares, Calendar & Booking | Charges per flight row, so a wide result page costs more than a thin one. | None | Included | 1,477 | 4.9 (11 reviews) | 20 Nov 2026 | |
| Google Flights Scraper - Most Comprehensive | Charges per dataset item, one item for each flight returned. | $0.00005 | Paid separately | 1,016 | No reviews yet | 29 Oct 2026 | |
| Google Flights Scraper API ๐ฐ$2/1k โ Fares & Multi-City | Charges per dataset item, with additional data billed as a separate event. | $0.005 | Included | 929 | 5.0 (2 reviews) | 18 Nov 2026 | |
| Google Flights Scraper | Charges per flight option extracted, with a one-time run start charge. | None | Included | 523 | No reviews yet | 20 Nov 2026 | |
Where Google Flights API is stronger
Where Google Flights API is stronger
- Returns booking options, price insights and airport details for each page
- Covers multi-city itineraries and child or infant passengers
- Supports many languages and countries in the same input
Where this API is stronger
- One charge per search covers every option that Google returned
- Searches that return no options are never charged
- Each option carries layovers, aircraft, legroom and CO2 estimates
Where Google Flights Scraper ๐ฐ$1/1K โ Fares, Calendar & Booking is stronger
Where Google Flights Scraper ๐ฐ$1/1K โ Fares, Calendar & Booking is stronger
- Also returns the price calendar and booking links per flight
- Runs typically finish in a few seconds for a single route
- Larger user base and more recent runs on the Apify Store
Where this API is stronger
- One flat charge per search instead of a charge for every flight option
- Rows include layover airports, aircraft, legroom and emissions versus typical
- Round trips, cabin classes and up to nine adults run from one input
Where Google Flights Scraper - Most Comprehensive is stronger
Where Google Flights Scraper - Most Comprehensive is stronger
- Accepts a pasted Google Flights URL as well as structured searches
- Covers explore destinations and flexible date searches
Where this API is stronger
- A flat charge per search means wide result pages cost the same
- Searches that find nothing are not charged at all
- Rows carry layover airports, aircraft, legroom and CO2 estimates
Where Google Flights Scraper API ๐ฐ$2/1k โ Fares & Multi-City is stronger
Where Google Flights Scraper API ๐ฐ$2/1k โ Fares & Multi-City is stronger
- Covers multi-city, explore and price graph searches with Google filters
- Returns booking options and a link for each flight
- Accepts pasted Google Flights URLs as a starting point
Where this API is stronger
- One search event covers every option, with no per item charge
- Searches with no options are free rather than item based
- Each option includes legroom and emissions compared with typical fares
Where Google Flights Scraper is stronger
Where Google Flights Scraper is stronger
- Returns stop details and a result URL beside each flight
- Form input covering origin, destination, dates and cabin class
Where this API is stronger
- One charge per search rather than one for each option found
- Output includes layover airports, aircraft, legroom and CO2 estimates
- Empty and failed searches are never charged
Most Google Flights actors bill per flight option, which keeps thin searches cheap and makes wide result pages expensive. This actor bills once per search and includes every option, which suits scanning busy routes. Buyers who value price calendars, booking links or explore mode will find more of that in the per flight listings.
Prices are Apify Store list prices, checked 20 Nov 2026. Platform usage 'Paid separately' means Apify bills compute on top of the event price. Check each listing before you buy.
How to run it
- Fill searches with one object per query, for example {"from": "KUL", "to": "SIN", "date": "2026-12-01", "returnDate": null, "adults": 1, "cabin": "economy"}.
- Set currency to the price currency you need, such as USD, EUR, MYR or SGD, and country to the Google market.
- Set maxFlightsPerSearch, 50 by default, and maxSearches as the run's cost ceiling, 25 by default.
- Optional: turn on nonstopOnly, and raise maxConcurrency from 3 if you have a long search list.
- Start the run in the Apify Console; one row per flight option lands in the dataset, cheapest first within your cap.
- Export as JSON, CSV or Excel, and read RUN_SUMMARY to confirm which searches were charged.
cURL
curl -X POST "https://api.apify.com/v2/acts/subimpact~google-flights-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"searches":[{"from":"KUL","to":"SIN","adults":1,"cabin":"economy"}],"from":"KUL","to":"SIN","currency":"USD","language":"en","country":"us","maxFlightsPerSearch":50,"maxSearches":25,"maxConcurrency":3}'Python
from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("subimpact/google-flights-scraper").call(run_input={"searches":[{"from":"KUL","to":"SIN","adults":1,"cabin":"economy"}],"from":"KUL","to":"SIN","currency":"USD","language":"en","country":"us","maxFlightsPerSearch":50,"maxSearches":25,"maxConcurrency":3})
for item in client.dataset(run["default_dataset_id"]).iterate_items():
print(item)JavaScript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('subimpact/google-flights-scraper').call({"searches":[{"from":"KUL","to":"SIN","adults":1,"cabin":"economy"}],"from":"KUL","to":"SIN","currency":"USD","language":"en","country":"us","maxFlightsPerSearch":50,"maxSearches":25,"maxConcurrency":3});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);MCP
claude mcp add subimpact-data -e APIFY_TOKEN=<YOUR_APIFY_TOKEN> -- npx -y @subimpact/data-mcp
# Then ask your agent to use the google_flights tool.n8n
Use the Apify node (Run an Actor).
Actor ID: subimpact/google-flights-scraper
Input JSON: paste the example input above.
MCP users: @subimpact/data-mcp exposes these actors as tools, so an agent can call google_flights directly.
Limits
- Premium economy is not available; only economy, business and first are supported.
- Only the first results page is parsed, so coverage per search is roughly 20 to 60 options.
- Round trips return outbound options priced as the round-trip total, with no return leg selection.
- adults is the only passenger control; children and infants are not supported.
Questions people ask
What does a search cost?
$0.002 per search that returns at least one flight, which is $2.00 per 1,000 searches, and every option on that results page is included in the single charge. Empty searches and failed searches cost nothing, and maxSearches caps the run before it overspends.
Do I need a Google Flights API key?
No. The Actor reads Google Flights' public search results with plain HTTPS requests, no browser, no API key and no cookies. Requests go direct from the Apify containers by default; a proxy can be configured but is off out of the box.
Can I search round trips?
Yes, set returnDate to a date and tripType becomes round-trip. The outbound options are priced as the round-trip total, which is what Google shows. Selecting a specific return leg needs a follow-up request per outbound option, and this Actor does not do that.
Is premium economy supported?
No. cabin accepts economy, business and first. Google's search box falls back to an empty form when a query mentions premium economy, so the Actor refuses that cabin with an explanation rather than quietly returning economy fares.
How many options do I get per search?
Only Google's first results page is parsed, which usually carries 20 to 60 options. maxFlightsPerSearch takes 1 to 300 and defaults to 50, taking the cheapest options from that page. Adding more searches is how you widen coverage.
Why is a price null on some rows?
Google sometimes shows only a partner booking link for an option and no fare. The row is still delivered with price set to null, and the search is charged once because other rows on the page did carry fares, which keeps the page intact.
Which passengers can I price?
adults only, from 1 to 9, and the fare shown is the total for all adults. Google's search box also takes children and infants, but their pricing rules vary by fare and were not verified, so those inputs are not offered.
Need a data source that is not here?
We build and run scrapers for sites that have no public API. Tell us the site, the fields and how often you need them.