# Google Flights Scraper — Flight Prices and Schedules \[$0.99/1K] (`zinin/google-flights-scraper`) Actor

Search Google Flights by route and date: airline, flight numbers, departure and arrival times, duration, stops, price and price level for every flight. $0.99 per 1,000 flights, no start fee.

- **URL**: https://apify.com/zinin/google-flights-scraper.md
- **Developed by:** [Tim Zinin](https://apify.com/zinin) (community)
- **Categories:** Travel, E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 9 total users, 5 monthly users, 85.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.35 / 1,000 result delivereds

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 schedules

**$0.99 per 1,000 flights, no start fee.** Enter a route and a date and get every flight Google Flights lists for it: airline, flight numbers, departure and arrival times, duration, stops, layovers, price and its level against Google's typical range. One way or round trip, any cabin class, any currency. You pay only for flights that come with a price.

The prefilled run searches New York (JFK) to London (LHR) one month from today and returns the flights in a few seconds.

Published Store prices of the first seven Actors for "google flights", read on 20 November 2026 (Free plan). The table compares listed prices and user counts; it is not an accuracy test of other Actors.

| Actor | Users in 30 days | Result price | Other charges |
|---|---:|---:|---|
| Google Flights Scraper (memo23) | 122 | $2.00/1K flights | $0.005 per start |
| Google Flights Data Scraper (johnvc) | 254 | $0.02 per results page | setup $0.001 |
| Google Flights Scraper (kaix) | 230 | $0.06/1K flights | $0.00005 per start |
| Google Flights Scraper (lergassy) | 792 | $1.00/1K flights | none |
| Google Flights Scraper (automation-lab) | 37 | $0.23/1K flights | $0.005 per start |
| Google Flights Scraper (dz_omar) | 25 | $0.60/1K flights | $0.003 per search, $0.001 per start |
| Google Flights Real Time API (mtnrabi) | 23 | $0.003 per search | $0.00005 per start |
| **This Actor** | new | **$0.99/1K flights** | **none** |

### What you get

One row per flight option:

- `airline`, `airlines`, `flightNumbers` — who operates the trip and every flight number in it;
- `departureAirport`, `departureTime`, `arrivalAirport`, `arrivalTime` — local airport times in `YYYY-MM-DDTHH:MM`;
- `durationMinutes`, `stops`, `layovers` — total travel time and each connection with its airport, city and waiting time;
- `price`, `currency`, `priceType` — the total for all passengers, one way or round trip;
- `segments` — every leg with its flight number, airports, times, aircraft and legroom;
- `lowestPrice`, `typicalPriceLow`, `typicalPriceHigh` — the cheapest current price and the typical price range Google Flights shows for the route, and `priceLevel` (`low`, `typical` or `high`): where that cheapest price sits against the range. These are `null` when Google shows no range for the route;
- `priceHistory` — about 60 days of the route's lowest price, on the first row of a one-way search. Google's round-trip page carries no history, so it is `null` there;
- `isBestFlight`, `co2Kg` and `co2TypicalKg` (for all passengers together), `position`, `url`, `source`, `scrapedAt`.

Use it to track fares on your routes, compare airlines and dates, feed a travel assistant or agent with live prices, or build price alerts and reports.

Set `flexDays` to search up to three days before and after your date in the same run and compare the days by `departureDate`. Dates are searched nearest first and `maxItems` counts flights across all dates, so raise `maxItems` (up to 500) when you search several dates on a busy route.

For a round trip the rows are the outbound flights and `price` is the round-trip total, the same number Google Flights shows on the first step of a round-trip search. The Actor does not list the matching return flights and does not return booking-site links; `url` opens the same search on Google Flights. It reads the list of flights Google shows when the search page opens (from a handful on thin routes to several dozen on busy ones) and does not book tickets.

This Actor is an independent tool and is not affiliated with Google.

### Input

The one-click prefill uses:

```json
{
  "origin": "JFK",
  "destination": "LHR",
  "currency": "USD",
  "maxItems": 100
}
```

| Field | What it does |
|---|---|
| `origin`, `destination` | 3-letter IATA airport or city codes: `JFK`, `LHR`, `NYC`, `LON`. |
| `departureDate` | `YYYY-MM-DD`, from today to 330 days ahead (Google Flights has no fares further out). Empty means 30 days from today. |
| `returnDate` | Optional. Set it for a round trip, leave empty for one way. |
| `flexDays` | 0 to 3. Also search this many days before and after; a round trip keeps its length. |
| `adults`, `children`, `infantsInSeat`, `infantsOnLap` | Passengers, up to 9 in total. Prices are totals for all of them. |
| `cabinClass` | `economy` (default), `premium_economy`, `business`, `first`. |
| `maxStops` | `any` (default), `0` nonstop only, `1`, `2`. |
| `currency` | ISO code for prices. Default `USD`. If Google Flights does not price in that currency, the search returns a free `CURRENCY_NOT_SUPPORTED` row. |
| `maxItems` | Cap on paid flight rows in one run, 1 to 500. Default 100. |
| `includePriceInsights` | On (default): add price level, typical range and price history. No extra charge. |

### Output

```json
{
  "found": true,
  "position": 1,
  "origin": "TBS",
  "destination": "IST",
  "departureDate": "2026-12-15",
  "returnDate": null,
  "tripType": "one_way",
  "cabinClass": "Economy",
  "passengers": 1,
  "price": 167,
  "currency": "USD",
  "priceType": "one way total, all passengers",
  "airline": "Turkish Airlines",
  "airlines": ["Turkish Airlines"],
  "flightNumbers": ["TK 379"],
  "departureAirport": "TBS",
  "departureTime": "2026-12-15T12:10",
  "arrivalAirport": "IST",
  "arrivalTime": "2026-12-15T13:50",
  "durationMinutes": 160,
  "stops": 0,
  "layovers": [],
  "isBestFlight": true,
  "co2Kg": 128,
  "co2TypicalKg": 125,
  "segments": [
    {
      "flightNumber": "TK 379",
      "airline": "Turkish Airlines",
      "airlineCode": "TK",
      "operatedBy": null,
      "departureAirport": "TBS",
      "departureAirportName": "Tbilisi International Airport",
      "departureTime": "2026-12-15T12:10",
      "arrivalAirport": "IST",
      "arrivalAirportName": "Istanbul Airport",
      "arrivalTime": "2026-12-15T13:50",
      "durationMinutes": 160,
      "aircraft": "Boeing 737MAX 8 Passenger",
      "legroom": "30 inches"
    }
  ],
  "priceLevel": "low",
  "lowestPrice": 117,
  "typicalPriceLow": 130,
  "typicalPriceHigh": 195,
  "priceHistory": [{ "date": "2026-09-20", "price": 121 }, { "date": "2026-09-21", "price": 121 }],
  "url": "https://www.google.com/travel/flights/search?tfs=GhoSCjIwMjYtMTItMTVqBRIDVEJTcgUSA0lTVEIBAUgBmAEC&hl=en&gl=us&curr=USD",
  "source": "Google Flights public search page",
  "status": "OK",
  "reason": null,
  "scrapedAt": "2026-11-20T13:20:00.000Z"
}
```

Free status rows have `found: false` and a `status`:

| `status` | Meaning |
|---|---|
| `NO_FLIGHTS` | Google Flights lists no flights for this route, date and filters. |
| `INVALID_INPUT` | The input cannot be searched (for example a departure date in the past or the same airport twice). The `reason` says what to change; the run ends without an error and nothing is charged. |
| `NO_PRICE` | The flight is listed, but Google shows no price for it. The row has the schedule and is free. |
| `CURRENCY_NOT_SUPPORTED` | Google Flights answered in another currency than the one requested. Nothing is delivered under a wrong label. |
| `SOURCE_BLOCKED`, `SOURCE_RATE_LIMITED`, `SOURCE_REJECTED`, `SOURCE_CONSENT`, `SOURCE_REDIRECT`, `SOURCE_HTTP`, `SOURCE_FORMAT`, `SOURCE_NETWORK` | Google Flights refused or did not answer this search after four attempts. Retry later. |

### Price and limits

The only paid event is `result-found`: $0.00099 per delivered flight with a price on the Free plan ($0.99 per 1,000). There is no start charge and no paid default-dataset event. Status rows are free. Subscription tiers: Bronze $0.891/1K, Silver $0.792/1K, Gold, Platinum and Diamond $0.693/1K. A typical search with 20 flights costs about $0.02.

One run is one route with up to seven dates (`flexDays` 3). For many routes, start one run per route. If no search of a run gets results from Google Flights and nothing was delivered, the run fails and nothing is charged. Invalid input fails the run before any request.

### For AI agents and workflow tools

The Actor uses limited permissions and declares input, dataset and output schemas. An MCP client can connect to `https://mcp.apify.com` and select `zinin/google-flights-scraper`; set `maxItems` to 10 and `includePriceInsights` to `false` when the agent only needs the cheapest options.

```json
{
  "mcpServers": {
    "apify": { "url": "https://mcp.apify.com?tools=zinin/google-flights-scraper" }
  }
}
```

In n8n, Make or Zapier, run the Actor, wait for completion, then fetch default-dataset items. Route `found: false` rows by `status`. [Apify's MCP guide](https://docs.apify.com/mcp) and [integration guides](https://docs.apify.com/integrations) show the client setup.

### You might also like

- [Tripadvisor Scraper](https://apify.com/zinin/tripadvisor-scraper) — hotels, restaurants and attractions at the destination.
- [Airbnb Listings & Prices Scraper](https://apify.com/zinin/airbnb-listings-prices-scraper) — stays and nightly prices for the same dates.
- [GetYourGuide Scraper](https://apify.com/zinin/getyourguide-scraper) — tours and activities with prices.
- [Viator Scraper](https://apify.com/zinin/viator-scraper) — experiences and tickets by destination.

### What's new — 20 November 2026

First version: one-way and round-trip search, passengers, cabin class, stops filter, currency, flexible dates, price insights, free status rows, result-only billing.

### Run time limit

When the run's time limit is close, the Actor stops by itself shortly before it and finishes normally: everything delivered stays, and the status message says how many flights were delivered. Raise the run timeout for a big job, or resurrect the run — it continues from that point without charging the delivered flights again.

# Changelog

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

# Actor input Schema

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

3-letter IATA code of the departure airport or city, for example JFK, LHR or NYC (all New York airports).

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

3-letter IATA code of the arrival airport or city, for example LHR, CDG or LON (all London airports).

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

Departure date in YYYY-MM-DD format, from today to 330 days ahead. Leave empty to search 30 days from today.

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

Leave empty for a one-way search. For a round trip the Actor returns the outbound flights; each price is the total for the round trip.

## `flexDays` (type: `integer`):

Also search this many days before and after the departure date (0 to 3). A round trip keeps its length. Each date is a separate search; compare rows by departureDate to find the cheapest day.

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

Number of adult passengers. Prices are totals for all passengers.

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

Number of children aged 2 to 11.

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

Number of infants under 2 with their own seat.

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

Number of infants under 2 on an adult's lap. Not more than the number of adults.

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

Cabin class for the search.

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

Limit the number of stops.

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

3-letter ISO currency code for prices, for example USD, EUR, GBP, INR or JPY. If Google Flights does not price in the requested currency, the search returns a free status row.

## `maxItems` (type: `integer`):

Stop after this many paid flight rows (1 to 500), counted across all dates of the run. Raise it when you use flexible dates on a busy route.

## `includePriceInsights` (type: `boolean`):

Add the typical price range Google shows for the route, the price level against it (low, typical, high) and, on the first row of a one-way search, about 60 days of price history. Round-trip searches carry no history. No extra charge.

## Actor input object example

```json
{
  "origin": "JFK",
  "destination": "LHR",
  "flexDays": 0,
  "adults": 1,
  "children": 0,
  "infantsInSeat": 0,
  "infantsOnLap": 0,
  "cabinClass": "economy",
  "maxStops": "any",
  "currency": "USD",
  "maxItems": 100,
  "includePriceInsights": true
}
```

# Actor output Schema

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

API URL of the run's default dataset items.

# 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",
    "currency": "USD"
};

// Run the Actor and wait for it to finish
const run = await client.actor("zinin/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",
    "currency": "USD",
}

# Run the Actor and wait for it to finish
run = client.actor("zinin/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",
  "currency": "USD"
}' |
apify call zinin/google-flights-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,zinin/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/bb597AhhNN1gjSCfX/builds/ZwBwLim4TTA8PFENW/openapi.json
