# Google Flights Scraper — Flight Prices & Cheapest Dates (`instagram-data-api/google-flights-scraper`) Actor

Google Flights scraper, no API key or login: flight prices for any route and date — the long list, 73–255 flights a search. Each flight: fare, airlines, flight numbers, times with time zones, stops, layovers, aircraft, CO2 — 36 fields. Round trips, cheapest dates. Pay per flight. CSV, Excel, JSON.

- **URL**: https://apify.com/instagram-data-api/google-flights-scraper.md
- **Developed by:** [Instagram Data API](https://apify.com/instagram-data-api) (community)
- **Categories:** Travel, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.70 / 1,000 flights

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### Google Flights scraper — flight prices and cheapest dates, pay per flight

**Enter a route and a date — get the flights Google Flights lists for it: the fare (with cents), airlines, flight numbers, departure and arrival with time zones, stops and layovers, aircraft, legroom and CO2. No API key, no login, no browser. One search returns the long list — 73 to 255 flights per route and date in 78 searches of 17 Nov 2026. $0.90 per 1,000 flights on the Starter plan; a search that finds nothing is free.**

![Google Flights Scraper output: real rows of a run — route, airlines, times, stops, duration and price](https://media.fypspy.com/products/google-flights-scraper/rows-v1.png)

**Real row, 17 Nov 2026:** Los Angeles → Tokyo Narita, 22 Dec – 1 Jan round trip: Asiana OZ201 + OZ108 via Seoul, $2,142.69, 18 h 20 min, 898 kg CO2 (38% above typical for the route), with the 3 return flights Google offered for it.

- ✈️ **One-way and round trip.** For a round trip each row is an outbound flight with the round-trip price; set “Round trip: return flights for the top N outbound flights” and the row also lists the return flights with their totals — no extra charge.
- 📅 **Cheapest dates.** One row per date of a date range (up to 92 dates a route): the day's lowest fare, its airline, stops and times; the cheapest date is flagged. 90 dates took 58–62 s on Apify (two runs, 17 Nov 2026).
- 🌍 **Any market.** Currency, country of sale and language; cabin class; adults, children, infants; non-stop or 1–2 stops; airlines and alliances to keep or leave out; max price and duration; your own sort order.
- 🧾 **Price insight, free.** A summary row per search: Google's typical price range for the route, low / typical / high, and about 60 days of price history.
- 🗺️ **Many routes in one run.** Airport codes, city codes (NYC, LON) or city names, a list of routes, or search links pasted from Google Flights. 30 routes — 2,961 flights — took 23 s (17 Nov 2026).
- 🔓 **Never charged:** a search or a date with no flights, a failed search, input that can't be used, duplicates, summary rows.
- **Plainly:** you get the list Google Flights shows for a route and date after “more flights” is pressed. Who sells the ticket (airline and agency prices) and multi-city trips are not included; each row has a link to that flight on Google Flights.

**Try it:** press **Start** — the prefilled New York JFK → London Heathrow, 30 days from today, returns 100 flights (Google listed 130 on 17 Nov 2026; “Max flights per search” is 100) and one summary row in 8–10 s.

### What data does the Google Flights scraper return?

One row per flight (36 fields, plus 17 for each flight leg inside `legs`):

| Field | Example |
|---|---|
| `price` / `priceExact` / `currency` | 2143 / 2142.69 / USD — total for all passengers; round trips: the round-trip total |
| `airlines` / `airlineCodes` / `flightNumbers` | \["Asiana Airlines"] / \["OZ"] / \["OZ201", "OZ108"] |
| `stops` / `layovers` | 1 / \[{ "airport": "ICN", "city": "Seoul", "durationMinutes": 145, "changeOfAirport": false }] |
| `departureAirport` / `departureTime` | LAX / 2026-12-22T09:00:00-08:00 |
| `arrivalAirport` / `arrivalTime` / `durationMinutes` | NRT / 2026-12-23T20:20:00+09:00 / 1100 |
| `legs[]` | flight number, airline, operated by, codeshares, airports with names, times, minutes, overnight, aircraft (Airbus A380 / 388), legroom (33 in), CO2 |
| `emissionsKg` / `typicalEmissionsKg` / `emissionsVsTypicalPercent` | 898 / 649 / 38 |
| `rank` / `isBest` | 1 / true — Google's “Best flights” |
| `returnOptions[]` | round trips, on request: return flights with the round-trip total, times, stops, legs |
| `bookingToken` / `itineraryUrl` / `googleFlightsUrl` | Google's fare token / this flight on Google Flights / the search on Google Flights |
| `origin`, `destination`, `departureDate`, `returnDate`, `tripType`, `cabinClass`, passengers | the search the row belongs to |
| `notCollected` | names of the fields the row does not have — never a fake 0 |

Cheapest-dates rows (`rowType: "date"`): `departureDate`, `returnDate`, `price`, `priceExact`, `currency`, `isCheapest`, the cheapest flight's `airlines`, `flightNumbers`, `stops`, `durationMinutes` and times, `flightsFound`, `typicalPriceLow` / `typicalPriceHigh`, `priceLevel`.

Summary rows (`rowType: "search"`, free): `status`, `flightsFound`, `flightsDelivered`, `lowestPrice`, `typicalPriceLow` / `typicalPriceHigh`, `priceLevel`, `priceHistory`, `note`.

### How much does it cost to scrape Google Flights?

Pay per result; platform usage and proxies are included.

| Apify plan | 1,000 flights | 1,000 cheapest-dates days | Run start |
|---|---|---|---|
| Free | $1.00 | $1.14 | $0.0005 |
| Starter | $0.90 | $1.05 | $0.0005 |
| Scale | $0.80 | $0.96 | $0.0005 |
| Business | $0.70 | $0.88 | $0.0005 |

- The prefilled run (one route, one date, 100 flights) costs about $0.10 on the Free plan — the $5 free credit covers about 5,000 flights a month. Set “Max flights per search” to 20 and the same run costs $0.02.
- 30 routes × 100 flights on Starter: 3,000 flights = $2.70.
- The cheapest dates of 90 days for one route on Starter: 90 days = $0.10.
- Set **Max cost per run** and the run stops there: rows are charged first and delivered only as far as your limit allows.

### Input

```json
{
  "origin": "JFK",
  "destination": "LHR",
  "departureDate": "+30",
  "returnDate": "+37",
  "maxReturnLookups": 3,
  "cabinClass": "economy",
  "maxStops": "1",
  "currency": "USD"
}
```

Cheapest dates of a month, one row per date:

```json
{ "origin": "London", "destination": "Barcelona", "departureDate": "2027-03-01", "departureDateEnd": "2027-03-31", "mode": "calendar", "currency": "GBP", "country": "GB" }
```

Many routes: `"routes": ["JFK-LHR", "BOS-DUB 2026-12-20 2026-12-27", {"origin": "SFO", "destination": "Tokyo", "departureDate": "+45"}]`.

Dates are `YYYY-MM-DD` or relative, always counted from today: `+30` = 30 days from today, so departure `+30` with return `+37` is a 7-day trip, and departure `+30` with last departure date `+36` is a week of dates — a scheduled run always looks ahead.

### Output example

A real row of 17 Nov 2026 (one of the two legs shown):

```json
{
  "rowType": "flight",
  "origin": "LAX", "destination": "NRT", "departureDate": "2026-12-22", "returnDate": "2027-01-01",
  "tripType": "round_trip", "cabinClass": "economy", "adults": 1, "children": 0, "infantsInSeat": 0, "infantsOnLap": 0,
  "rank": 1, "isBest": true,
  "price": 2143, "priceExact": 2142.69, "currency": "USD",
  "airlines": ["Asiana Airlines"], "airlineCodes": ["OZ"], "flightNumbers": ["OZ201", "OZ108"],
  "stops": 1,
  "layovers": [{ "airport": "ICN", "airportName": "Incheon International Airport", "city": "Seoul", "durationMinutes": 145, "changeOfAirport": false, "departureAirport": "ICN" }],
  "departureAirport": "LAX", "arrivalAirport": "NRT",
  "departureTime": "2026-12-22T09:00:00-08:00", "arrivalTime": "2026-12-23T20:20:00+09:00", "durationMinutes": 1100,
  "legs": [{
    "flightNumber": "OZ201", "airlineCode": "OZ", "airlineName": "Asiana Airlines", "operatedBy": null, "codeshares": [],
    "departureAirport": "LAX", "departureAirportName": "Los Angeles International Airport",
    "arrivalAirport": "ICN", "arrivalAirportName": "Incheon International Airport",
    "departureTime": "2026-12-22T09:00:00-08:00", "arrivalTime": "2026-12-23T15:35:00+09:00", "durationMinutes": 815,
    "overnight": true, "aircraft": "Airbus A380", "aircraftCode": "388", "legroom": "33 in", "emissionsKg": 783.2
  }],
  "emissionsKg": 898.0, "typicalEmissionsKg": 649.0, "emissionsVsTypicalPercent": 38,
  "returnOptions": [{ "price": 2143, "priceExact": 2142.69, "currency": "USD", "airlines": ["Asiana Airlines"], "flightNumbers": ["OZ107", "OZ202"], "stops": 1, "departureAirport": "NRT", "arrivalAirport": "LAX", "departureTime": "2027-01-01T08:30:00+09:00", "arrivalTime": "2027-01-01T06:40:00-08:00", "durationMinutes": 910 }],
  "bookingToken": "CjRId2dGV1FtWG9PVTRBRWJPYmdCRy0t…",
  "googleFlightsUrl": "https://www.google.com/travel/flights/search?tfs=CBwQAhoeEgoyMDI2LTEyLTIy…",
  "itineraryUrl": "https://www.google.com/travel/flights/search?tfs=CBwQAhpgEgoyMDI2LTEyLTIy…",
  "notCollected": ["bookingOptions", "baggage"],
  "scrapedAt": "2026-11-17T14:56:46Z"
}
```

### Limits

- **Flights per search:** the list Google shows after “more flights” — 73 to 255 per route and date in 78 searches of busy routes on 17 Nov 2026 (half of them 130 or more); a route with few flights returns few. “Max flights per search” is 100 by default: raise it to get the whole list. Now and then Google's page carries only a part of the list (8–50 flights in 14 of 60 searches of two test runs with less memory): a search that comes back with under 60 flights is asked a second time and the longer answer is kept.
- **Not supported:** multi-city trips (Google's page returns no flights for them without a browser — checked 17 Nov 2026), booking options (which airline or agency sells the ticket and for how much), baggage fees, seat maps, “explore anywhere”.
- **Round trip — return flights:** `returnOptions` holds the first return flights Google offers for an outbound flight (3–7 in our runs), not the long list.
- **“Without these airlines”:** a flight is left out when any of its legs is sold under the code; alliances are matched by their member list of November 2026.
- **Cheapest dates** read one date per request; Google's own calendar grid is not used. Up to 92 dates per route, 1,000 searches per run.
- **Children and infants:** Google prices some parties only in the browser. Such a search comes back as a free row that says so.
- **Emissions, legroom, aircraft** are `null` where Google shows none (3 of 121 flights had no CO2 estimate, 17 Nov 2026).
- Fares change by the minute: a row is what Google showed at `scrapedAt`.

### FAQ

**Do I need a Google account, an API key or cookies?** No. Nothing to log in to and no proxy to set up.

**Does it work on the Apify free plan?** Yes, the same way as on paid plans: there is no cap of ours, the proxy is part of the run, and the $5 monthly credit pays for about 5,000 flights.

**What if I set “Max cost per run”?** The run stops inside it: rows are charged first and delivered only as far as the limit allows, searches that no longer fit are not requested, and the last row says how many were not run. With a $0.05 limit a 90-date search delivered 47 dates and stopped (17 Nov 2026).

**How much do 1,000 flights cost?** $0.90 on Starter, $1.00 on Free, $0.80 on Scale, $0.70 on Business, plus $0.0005 per run. A cheapest-dates day: $1.05 per 1,000 on Starter.

**Am I charged when a search finds nothing?** No. A search or a date with no flights, a failed search, a route that can't be read and duplicates are free; each gets a row that says what happened.

**How many flights will I get for a route?** The list Google shows after “more flights”: 73 to 255 per route and date in our runs of 17 Nov 2026, 100 of them by default — raise “Max flights per search” for the rest. The first rows are Google's “Best flights”.

**How fast is it?** One request per search. Measured on Apify on 17 Nov 2026 (default memory, 8 searches at once): the prefilled one-way search, 100 flights — a run of 8–10 s; 30 routes, 2,961 flights — 23 s; the cheapest dates of 90 days — 58–62 s, about a second per date. Rows appear while the run goes.

**Can I track prices?** Yes: schedule the run with relative dates (`+30`, `+37`). `priceExact`, `typicalPriceLow` / `typicalPriceHigh` and `priceHistory` are made for that.

**Why is a field `null`?** Google did not show it for that flight. `notCollected` names every such field; nothing is filled with a guess.

**Coming from another Google Flights Actor?** These input names work as they are: `origin`, `destination`, `departureDate`, `returnDate`, `routes`, `adults`, `children`, `infantsInSeat`, `infantsOnLap`, `cabinClass`, `maxStops`, `airlines`, `excludeAirlines`, `maxPrice`, `maxResults`, `currency`, `language`, `calendarDays`, `startUrls`; also `departure_id`, `arrival_id`, `outbound_date`, `return_date`, `hl`, `gl`, `market`, `departDate`, `maxItems`, `flightUrl`.

**Can I use it from code, n8n, Make or an AI agent?** Yes — through the Apify API, the integrations on this page, or Apify's MCP server. Export as CSV, Excel or JSON.

🆕 New Actor (November 2026). Tried it? Tell us in a review what to add next.

### Related scrapers

Prices on the Starter plan.

**Real estate and travel**

- [Airbnb Scraper](https://apify.com/instagram-data-api/airbnb-scraper) — listings by place or Airbnb link with the total price for your dates, rating and coordinates; 2,000 listings with full details in 152 s on Apify. From $2.10 / 1,000 listings; $2.35 with full details.
- [Zillow Scraper](https://apify.com/instagram-data-api/zillow-scraper) — homes for sale, for rent or recently sold by city, ZIP code or Zillow link, with price, Zestimate and days on Zillow; a whole city (5,307 Austin homes) in 26–43 s as listing rows. From $1.85 / 1,000 homes.

# Changelog

This Actor's version history is a separate document: https://apify.com/instagram-data-api/google-flights-scraper/changelog.md

# Actor input Schema

## `origin` (type: `string`):

Airport code (JFK), city code (NYC, LON) or city name (New York). Several airport codes separated by commas are searched one by one: JFK, EWR. An airport code is read at once; a city costs one extra request per run.

## `destination` (type: `string`):

Airport code (LHR), city code or city name (London). Several airport codes separated by commas are searched one by one.

## `departureDate` (type: `string`):

YYYY-MM-DD, or +30 for “30 days from today” (handy for scheduled runs). Empty = 30 days from today.

## `returnDate` (type: `string`):

YYYY-MM-DD, or +37 for “37 days from today” — relative dates always count from today, so departure +30 with return +37 is a 7-day trip. Empty = one-way. For a round trip each flight row is an outbound flight with the round-trip price.

## `mode` (type: `string`):

Flights: the flights Google lists for the date. Cheapest dates: one row per date of a date range with that day's lowest fare.

## `departureDateEnd` (type: `string`):

YYYY-MM-DD, or +36 for “36 days from today” (counted from today, like the departure date: +30 to +36 is 7 dates). Every date from the departure date to this one is searched, up to 92 dates per route. With a return date the length of the stay is kept. Empty = one date.

## `dateRangeDays` (type: `integer`):

Another way to set the range: this many dates starting with the departure date (7 = a week). Used when no last departure date is given.

## `routes` (type: `array`):

One route per line: JFK-LHR, or with dates: JFK-LHR 2026-12-17 2026-12-24. Through the API also objects: {"origin": "JFK", "destination": "LHR", "departureDate": "+30", "returnDate": "+37"}. Routes without dates use the dates above. Duplicates are searched once.

## `startUrls` (type: `array`):

Paste search links copied from Google Flights (they contain tfs=). The route, dates, passengers, cabin and stops are read from the link.

## `adults` (type: `integer`):

Up to 9 travellers in total. The price is the total for the whole party.

## `children` (type: `integer`):

The price is the total for the whole party. If Google shows no flights for a party with children, the search comes back as a free “no flights” row.

## `infantsInSeat` (type: `integer`):

Infants under 2 with their own seat.

## `infantsOnLap` (type: `integer`):

Infants under 2 on an adult's lap (one per adult).

## `cabinClass` (type: `string`):

The cabin Google prices.

## `maxStops` (type: `string`):

Google filters the list itself: only flights with this many stops or fewer.

## `airlines` (type: `array`):

Two-letter airline codes (BA, UA, NH) or an alliance: ONEWORLD, SKYTEAM, STAR_ALLIANCE. Google filters the list itself.

## `excludeAirlines` (type: `array`):

Two-letter airline codes or an alliance to leave out. A flight is left out when any of its legs is sold under one of these codes.

## `maxPrice` (type: `integer`):

In the currency below. Flights above it are left out and not charged.

## `maxDurationMinutes` (type: `integer`):

Flights longer than this are left out and not charged.

## `sortBy` (type: `string`):

Google's own order (best flights first) or yours. Sorting is applied before “Max flights per search”.

## `maxResults` (type: `integer`):

Google lists about 40–250 flights for a route and date (the whole list, as after “more flights”); you pay for the flights delivered. Lower it for a cheaper run: the first flights are Google's “Best flights”.

## `maxReturnLookups` (type: `integer`):

For each of the first N outbound flights the row gets returnOptions — the first return flights Google offers for it (about 3–10) with the round-trip total. One extra request per flight, no extra charge. 0 = off.

## `currency` (type: `string`):

Three-letter code: USD, EUR, GBP, JPY…

## `country` (type: `string`):

Two-letter code: US, GB, DE, JP… Google shows the fares it sells in that country.

## `language` (type: `string`):

Language of airline, airport and city names: en, de, fr, es, ja…

## `includeSearchSummary` (type: `boolean`):

Flights found, lowest price, Google's typical price range for the route, price level (low / typical / high) and the price history. A search that found nothing or failed always gets its row.

## `proxyGroup` (type: `string`):

Apify Proxy of the run, nothing to set up. Automatic: datacenter IPs, residential only when Google refuses a flight search. Cheapest-dates and return-flight requests always use datacenter IPs.

## `proxyCountry` (type: `string`):

Two-letter country of the residential proxy IP (default US). Datacenter IPs are picked automatically. Fares follow the Country field above, not the IP.

## `maxConcurrency` (type: `integer`):

How many pages are read at the same time (1–8). 30 routes took 23 s at 8 (Apify, 17 Nov 2026).

## Actor input object example

```json
{
  "origin": "JFK",
  "destination": "LHR",
  "departureDate": "+30",
  "mode": "flights",
  "adults": 1,
  "children": 0,
  "infantsInSeat": 0,
  "infantsOnLap": 0,
  "cabinClass": "economy",
  "maxStops": "any",
  "sortBy": "best",
  "maxResults": 100,
  "maxReturnLookups": 0,
  "currency": "USD",
  "country": "US",
  "language": "en",
  "includeSearchSummary": true,
  "proxyGroup": "auto",
  "maxConcurrency": 8
}
```

# Actor output Schema

## `results` (type: `string`):

All rows of this run (JSON, CSV, Excel).

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "origin": "JFK",
    "destination": "LHR",
    "departureDate": "+30"
};

// Run the Actor and wait for it to finish
const run = await client.actor("instagram-data-api/google-flights-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "origin": "JFK",
    "destination": "LHR",
    "departureDate": "+30",
}

# Run the Actor and wait for it to finish
run = client.actor("instagram-data-api/google-flights-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "origin": "JFK",
  "destination": "LHR",
  "departureDate": "+30"
}' |
apify call instagram-data-api/google-flights-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,instagram-data-api/google-flights-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/wNKUnhxDGbcpabjIY/builds/emHroqNrknzAHGgW9/openapi.json
