# Google Flights Scraper: Fares, Price Calendar & Tracking (`kizukidata/google-flights-scraper`) Actor

Enter airport codes, routes, or Google Flights URLs and get flight itineraries, fares, stops, layovers, CO2 emissions, price insights, booking links, and price-drop alerts. No login. Error rows are free. Not affiliated with Google.

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

## Pricing

from $0.50 / 1,000 flight rows

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/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: Fares, Price Calendar & Tracking

Enter airport codes, routes, or Google Flights URLs and get flight itineraries, fares, stops, layovers, CO2 emissions, price insights, booking links, and price-drop alerts. Search one-way trips, round trips, multiple routes, date ranges, price calendars, and Explore destinations anywhere in the world. Export as JSON, CSV, or Excel.

No Google login or cookies required. You pay only for delivered rows: failed searches, invalid inputs, and unchanged flights in `onlyChanges` or `onlyNewItems` runs cost nothing. This Actor is an independent tool and is not affiliated with Google.

### What goes in and what comes out

| Input | What it returns |
|---|---|
| `origin`, `destination`, `departureDate` (optional `returnDate`) | Matching itineraries with fares, airline names, flight numbers, stops, layovers, duration, aircraft, legroom, CO2 emissions, price insights, and a direct Google Flights link |
| `routes` or `searches` | Batch search across many airport pairs or dates in one run, tagged by `searchIndex` |
| `startUrls` | Parses Google Flights URLs (`google.com/travel/flights?tfs=...` or `?q=...`) into searches |
| `calendarDays` (with optional `calendarOnly: true`) | Lowest fare for each departure date up to 93 days ahead (`type: "calendar_day"`) |
| `resolveReturnFlights: true` | For round trips, attaches matched return flights with round-trip total fares to the top outbound rows |
| `resolveBookingOptions: true` | For one-way searches, attaches airline and travel agency sellers, fare names, prices, and booking links to the top itineraries |
| `exploreAnywhere: true` | Cheapest destinations from `origin` (`JFK` when `origin` is empty) worldwide or by `exploreRegion` / `exploreCountry` (`type: "explore"`) |
| `onlyChanges: true` or `onlyNewItems: true` | Tracks fares across scheduled runs and outputs only new flights or fares that dropped or rose (`previousPrice`, `priceDelta`, `priceDeltaPct`, `priceChanged`) |

An input that names no target (`{}`, or settings only) returns a built-in sample, `JFK` to `SFO`, 30 days ahead: at most 5 rows, marked `isSample`, with no result charged (the run start fee still applies). The sample runs on the default settings and the default proxy: your other settings are not applied to it (a lower `maxItems` is). An input that names no target and holds an unrecognized field ends with an input message and no rows.

#### Quick start

One-way search:

```json
{
    "origin": "JFK",
    "destination": "SFO",
    "departureDate": "2026-12-15",
    "currency": "USD",
    "maxItems": 50
}
```

Round trip with matched return flights:

```json
{
    "origin": "LAX",
    "destination": "JFK",
    "departureDate": "2026-12-15",
    "returnDate": "2026-12-22",
    "resolveReturnFlights": true,
    "maxReturnResolutions": 5,
    "maxItems": 30
}
```

Price-drop monitoring across scheduled runs:

```json
{
    "routes": [
        { "origin": "JFK", "destination": "LHR", "departureDate": "2026-12-15", "returnDate": "2026-12-22" },
        { "origin": "LAX", "destination": "TYO", "departureDate": "2027-01-10", "returnDate": "2027-01-20" }
    ],
    "onlyChanges": true,
    "maxItems": 200
}
```

93-day cheapest fare calendar (calendar rows only):

```json
{
    "origin": "JFK",
    "destination": "SFO",
    "departureDate": "2026-12-15",
    "calendarDays": 30,
    "calendarOnly": true,
    "maxItems": 30
}
```

Explore cheapest destinations from an airport:

```json
{
    "origin": "JFK",
    "exploreAnywhere": true,
    "exploreRegion": "europe",
    "maxDestinations": 40,
    "maxItems": 40
}
```

Field names from other Google Flights Actors also work: `departure_id`, `arrival_id`, `outbound_date`, `return_date`, `departDate`, `searches`, `flightUrl`, `max_stops`, `max_price`, `maxResults`, `priceGraphDays`, `priceCalendarOnly`, `exploreDestinations`, `returnFlightsTop`, `returnFlightsPerOutbound`, `fetch_booking_options`, `includeBookingDetails`, `maxBookingItineraries`, `hl`, `gl`, `country`, `outboundDepartureTime`, `outboundArrivalTime`, `maxDurationHours`, and `proxy`.

### Output fields

Every row includes `id`, `type` (`flight`, `calendar_day`, `explore`, or `error`), `source`, `searchIndex`, `origin`, `destination`, `departureDate`, `returnDate`, `tripType`, `cabinClass`, `fetchedAt`, and `error`.

#### Flight and calendar rows (`type: "flight"` / `"calendar_day"`)

| Field | Description |
|---|---|
| `price`, `currency`, `priceLabel`, `priceUnavailable` | Total fare, ISO currency code, formatted label, and flag when Google omitted a fare |
| `isBestFlight`, `rank` | Whether Google ranked the itinerary in Best Flights, and its 1-based position |
| `airline`, `airlineCodes`, `flightNumbers` | Carrier name(s), IATA codes, and flight numbers across all segments |
| `stops`, `layovers` | Stop count and layover details (`airport`, `airportName`, `city`, `durationMinutes`, `overnight`, `changeOfAirport`) |
| `departAt`, `arriveAt`, `duration`, `durationMinutes` | Local departure/arrival timestamps and total journey duration |
| `aircraft`, `legroom`, `segments` | Primary aircraft and legroom plus full per-segment details (amenities, operating carrier, CO2) |
| `co2EmissionsKg`, `typicalCo2Kg`, `co2DiffPct`, `emissionsTag` | Estimated CO2 emissions, typical route baseline, percent delta, and `lower` / `typical` / `higher` |
| `priceLevel`, `typicalPriceLow`, `typicalPriceHigh`, `priceHistory` | Google price insights (`low`, `typical`, `high`), typical fare range, and 60-day history |
| `bookingToken`, `bookingUrl` | Booking token and direct Google Flights URL for the exact itinerary |
| `bookingOptions`, `returnFlights` | Seller options (`vendor`, `isDirect`, `price`, `fareName`, `bookingUrl`) and matched round-trip returns when requested |
| `previousPrice`, `priceDelta`, `priceDeltaPct`, `priceChanged` | Fare comparison against the previous run when `onlyChanges` is enabled (`new`, `dropped`, `increased`, `unchanged`) |

#### Explore rows (`type: "explore"`)

Explore rows fill `destinationName`, `destinationCountry`, `latitude`, `longitude`, `destination` (airport code), `departureDate`, `returnDate`, `price`, `currency`, `airline`, `stops`, `durationMinutes`, and `bookingUrl`.

#### Error rows (`type: "error"`, free)

When a route fails to respond after retries, the Actor outputs a free row with `type: "error"`, `price: null`, and the reason in `error`.

### Scheduled price tracking with `onlyChanges` and `onlyNewItems`

With `onlyChanges: true`, the Actor stores the latest fare of each itinerary or calendar date per route set in a named key-value store. On subsequent scheduled runs of the same input, unchanged fares are skipped without charge, while new itineraries or changed fares are output with `previousPrice`, `priceDelta`, `priceDeltaPct`, and `priceChanged` (`dropped` or `increased`). With `onlyNewItems: true`, only itineraries not seen in previous runs are returned. Do not run the exact same tracked input concurrently.

### Pricing and free tier

Launch pricing uses one custom event (`flight`) per delivered row. `apify-actor-start` is charged by the platform at run start.

| Apify plan | Per 1,000 rows | Per row |
|---|---:|---:|
| Free | $0.85 | $0.00085 |
| Starter (Bronze) | $0.72 | $0.00072 |
| Scale (Silver) | $0.60 | $0.00060 |
| Business (Gold and above) | $0.50 | $0.00050 |

Apify's Free plan includes USD 5 of monthly usage, which covers about 5,880 flight rows at the Free plan price (run start fees aside).

For comparison, on 2026-11-18 the busiest Google Flights scraper on the Apify Store charged $1.00 per 1,000 rows on Free and $0.90 on Bronze (with a Bronze category median of $2.00 per 1,000 rows).

Not charged: error rows (`type: "error"`), empty results, flights excluded by filters (including flights without a fare when `includeUnavailablePrices` is false), and unchanged flights skipped by `onlyChanges` or `onlyNewItems`.

### Limits

- Up to 100 routes per run, up to 93 calendar days per route, and up to 5,000 delivered rows per run (`maxItems`).
- `resolveBookingOptions` applies to one-way searches only; on round-trip rows `bookingOptions` returns `null` (only outbound fares are returned).
- By default (`includeUnavailablePrices: false`), itineraries without a published fare (`price: null`) are excluded so you only pay for priced itineraries; set `includeUnavailablePrices: true` to return schedule-only flights as well.
- `multiCityLegs` searches each leg as an independent leg query rather than combining them into a single through-ticket fare.
- Resolving `bookingOptions` or `returnFlights` sends extra requests per itinerary and adds run time; keep `maxBookingResolutions` and `maxReturnResolutions` small for large batches.
- Searches that include children or infants may return fewer itineraries when Google computes those fares dynamically in the browser.
- Fares and availability reflect what Google Flights displays publicly for the selected `market` and `currency` at the time of the run.

### Integrations and MCP

#### MCP (Claude, Cursor, n8n)

```text
https://mcp.apify.com?tools=fetch-actor-details,kizukidata/google-flights-scraper
```

- Claude Code: `claude mcp add --transport http apify "https://mcp.apify.com?tools=fetch-actor-details,kizukidata/google-flights-scraper"`
- Cursor / Claude Desktop: add an HTTP MCP connector with the URL above and your Apify API token.
- n8n: use the Apify node with `kizukidata/google-flights-scraper`, or an MCP Client node with the URL above.

#### API (cURL / Python)

```bash
curl -X POST "https://api.apify.com/v2/acts/kizukidata~google-flights-scraper/runs" \
  -H "Authorization: Bearer <APIFY_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"origin":"JFK","destination":"SFO","departureDate":"2026-12-15","maxItems":20}'
```

```python
from apify_client import ApifyClient

client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("kizukidata/google-flights-scraper").call(run_input={
    "origin": "JFK",
    "destination": "SFO",
    "departureDate": "2026-12-15",
    "maxItems": 20,
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row["airline"], row["flightNumbers"], row["priceLabel"], row["bookingUrl"])
```

### Related Kizuki Actors

- [Google Ads Transparency Scraper](https://apify.com/kizukidata/google-ads-transparency-scraper): extract Google Ads creatives, copy, and impression data by domain or advertiser.
- [Google Maps Contact Enricher](https://apify.com/kizukidata/google-maps-contact-enricher): enrich Google Maps businesses with website emails, forms, and social links.
- [Google News Feed](https://apify.com/kizukidata/google-news-feed): collect public Google News articles by keyword, topic, or region.
- [Website Contact Intelligence](https://apify.com/kizukidata/website-contact-intelligence): extract emails, phones, forms, DNS mail records, and ad pixels from company domains.
- [URL to Markdown](https://apify.com/kizukidata/url-to-markdown): convert public web pages into clean Markdown for AI agents and RAG pipelines.

# Actor input Schema

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

3-letter IATA airport or city code (e.g. JFK, LAX, LON). Comma-separate for multi-airport searches. Naming no route, URL or Explore target (empty or settings only) searches JFK to SFO and returns a free sample of at most 5 rows (marked isSample).

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

3-letter IATA airport or city code (e.g. SFO, LHR, TYO). Comma-separate for multi-airport searches. With no target in any field, the sample route JFK to SFO is searched.

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

Departure date in YYYY-MM-DD format. Defaults to 30 days from today when omitted.

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

Optional return date in YYYY-MM-DD format for round-trip searches. Leave empty for one-way.

## `departDaysAhead` (type: `integer`):

Relative departure offset in days from today (0-330) when departureDate is not set.

## `tripLengthDays` (type: `integer`):

Relative round-trip length in days (1-90) after departureDate when returnDate is not set.

## `departDateWindowDays` (type: `integer`):

Also search each of the next N departure days (0-30) as separate searches.

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

List of route objects {origin, destination, departureDate, returnDate} to search in one run.

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

Google Flights search URLs (google.com/travel/flights?tfs=... or ?q=...).

## `multiCityLegs` (type: `array`):

Multi-city legs as ORIGIN-DESTINATION-YYYY-MM-DD strings or {origin, destination, date} objects (searched per leg).

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

Number of adult passengers (1-9).

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

Number of child passengers aged 2-11 (0-9).

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

Number of infants under 2 in their own seat (0-9).

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

Number of infants under 2 traveling on an adult lap (0-9).

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

Cabin class preference.

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

Maximum number of stops: any, 0 (nonstop), 1, or 2.

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

IATA airline codes to include (e.g. UA, AA, NH).

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

IATA airline codes to exclude.

## `alliances` (type: `array`):

Airline alliances to include: ONEWORLD, SKYTEAM, STAR_ALLIANCE.

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

Maximum fare in the selected currency.

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

Maximum itinerary duration in minutes.

## `connectOnlyVia` (type: `array`):

Only allow connections through these IATA airport codes.

## `minLayoverMinutes` (type: `integer`):

Minimum layover duration in minutes.

## `maxLayoverMinutes` (type: `integer`):

Maximum layover duration in minutes.

## `departureTimeFrom` (type: `string`):

Earliest departure hour (0-23 or HH:MM, e.g. 06:00).

## `departureTimeTo` (type: `string`):

Latest departure hour (0-24 or HH:MM, e.g. 18:00).

## `arrivalTimeFrom` (type: `string`):

Earliest arrival hour (0-23 or HH:MM).

## `arrivalTimeTo` (type: `string`):

Latest arrival hour (0-24 or HH:MM).

## `lessEmissionsOnly` (type: `boolean`):

Filter to flights Google marks as lower CO2 emissions.

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

3-letter ISO currency code for returned prices (e.g. USD, EUR, JPY).

## `market` (type: `string`):

2-letter ISO country code for point of sale (e.g. US, GB, JP).

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

Language code for airport and airline names (e.g. en, ja, de).

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

Result ordering: top (or best), price, departure, arrival, duration, or emissions.

## `calendarDays` (type: `integer`):

Lowest fare for each departure date over N days starting at departureDate (0-93).

## `calendarOnly` (type: `boolean`):

When true with calendarDays > 0, return only calendar_day rows and skip full itinerary lists.

## `resolveReturnFlights` (type: `boolean`):

For round trips, fetch return flight options with round-trip total prices for the top outbound flights.

## `maxReturnResolutions` (type: `integer`):

How many outbound flights to expand into return options (1-25).

## `maxReturnOptions` (type: `integer`):

Maximum return flights to attach per outbound itinerary (1-50).

## `resolveBookingOptions` (type: `boolean`):

Fetch airline and OTA booking sellers, prices, and deep links for the top one-way itineraries (round-trip rows return null).

## `maxBookingResolutions` (type: `integer`):

How many top itineraries to resolve booking options for (1-25).

## `exploreAnywhere` (type: `boolean`):

List cheapest destinations from origin (JFK when origin is empty) instead of searching a fixed destination.

## `exploreRegion` (type: `string`):

Region filter when exploreAnywhere is true.

## `exploreCountry` (type: `string`):

Optional country name to filter Explore destinations (e.g. Italy, Japan).

## `maxDestinations` (type: `integer`):

Maximum destinations to return in Explore mode (1-300).

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

Attach Google price level (low/typical/high), typical range, and 60-day price history.

## `includeUnavailablePrices` (type: `boolean`):

Include flights where Google Flights does not display a fare (price: null). Disabled by default so only priced itineraries are returned and charged.

## `onlyChanges` (type: `boolean`):

Track fares across scheduled runs and return only new flights or flights whose price changed (with priceDelta and previousPrice).

## `onlyNewItems` (type: `boolean`):

Return only flights not seen in earlier runs for the same routes.

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

Maximum total rows to deliver across the run (1-5000).

## `proxyConfiguration` (type: `object`):

Apify datacenter proxy settings (enabled by default; residential proxies are not used).

## Actor input object example

```json
{
  "departDateWindowDays": 0,
  "routes": [],
  "startUrls": [],
  "multiCityLegs": [],
  "adults": 1,
  "children": 0,
  "infantsInSeat": 0,
  "infantsOnLap": 0,
  "cabinClass": "economy",
  "maxStops": "any",
  "airlines": [],
  "excludeAirlines": [],
  "alliances": [],
  "connectOnlyVia": [],
  "lessEmissionsOnly": false,
  "currency": "USD",
  "market": "US",
  "language": "en",
  "sortBy": "top",
  "calendarDays": 0,
  "calendarOnly": false,
  "resolveReturnFlights": false,
  "maxReturnResolutions": 5,
  "maxReturnOptions": 10,
  "resolveBookingOptions": false,
  "maxBookingResolutions": 5,
  "exploreAnywhere": false,
  "exploreRegion": "anywhere",
  "maxDestinations": 60,
  "includePriceInsights": true,
  "includeUnavailablePrices": false,
  "onlyChanges": false,
  "onlyNewItems": false,
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Flight rows, calendar days, or Explore destinations returned by this run.

## `runSummary` (type: `string`):

Outcome status, counters, and skipped, failed, or unchecked inputs.

# 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 = {
    "departDateWindowDays": 0,
    "routes": [],
    "startUrls": [],
    "multiCityLegs": [],
    "adults": 1,
    "children": 0,
    "infantsInSeat": 0,
    "infantsOnLap": 0,
    "cabinClass": "economy",
    "maxStops": "any",
    "airlines": [],
    "excludeAirlines": [],
    "alliances": [],
    "connectOnlyVia": [],
    "lessEmissionsOnly": false,
    "currency": "USD",
    "market": "US",
    "language": "en",
    "sortBy": "top",
    "calendarDays": 0,
    "calendarOnly": false,
    "resolveReturnFlights": false,
    "maxReturnResolutions": 5,
    "maxReturnOptions": 10,
    "resolveBookingOptions": false,
    "maxBookingResolutions": 5,
    "exploreAnywhere": false,
    "exploreRegion": "anywhere",
    "maxDestinations": 60,
    "includePriceInsights": true,
    "includeUnavailablePrices": false,
    "onlyChanges": false,
    "onlyNewItems": false,
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("kizukidata/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 = {
    "departDateWindowDays": 0,
    "routes": [],
    "startUrls": [],
    "multiCityLegs": [],
    "adults": 1,
    "children": 0,
    "infantsInSeat": 0,
    "infantsOnLap": 0,
    "cabinClass": "economy",
    "maxStops": "any",
    "airlines": [],
    "excludeAirlines": [],
    "alliances": [],
    "connectOnlyVia": [],
    "lessEmissionsOnly": False,
    "currency": "USD",
    "market": "US",
    "language": "en",
    "sortBy": "top",
    "calendarDays": 0,
    "calendarOnly": False,
    "resolveReturnFlights": False,
    "maxReturnResolutions": 5,
    "maxReturnOptions": 10,
    "resolveBookingOptions": False,
    "maxBookingResolutions": 5,
    "exploreAnywhere": False,
    "exploreRegion": "anywhere",
    "maxDestinations": 60,
    "includePriceInsights": True,
    "includeUnavailablePrices": False,
    "onlyChanges": False,
    "onlyNewItems": False,
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("kizukidata/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 '{
  "departDateWindowDays": 0,
  "routes": [],
  "startUrls": [],
  "multiCityLegs": [],
  "adults": 1,
  "children": 0,
  "infantsInSeat": 0,
  "infantsOnLap": 0,
  "cabinClass": "economy",
  "maxStops": "any",
  "airlines": [],
  "excludeAirlines": [],
  "alliances": [],
  "connectOnlyVia": [],
  "lessEmissionsOnly": false,
  "currency": "USD",
  "market": "US",
  "language": "en",
  "sortBy": "top",
  "calendarDays": 0,
  "calendarOnly": false,
  "resolveReturnFlights": false,
  "maxReturnResolutions": 5,
  "maxReturnOptions": 10,
  "resolveBookingOptions": false,
  "maxBookingResolutions": 5,
  "exploreAnywhere": false,
  "exploreRegion": "anywhere",
  "maxDestinations": 60,
  "includePriceInsights": true,
  "includeUnavailablePrices": false,
  "onlyChanges": false,
  "onlyNewItems": false,
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call kizukidata/google-flights-scraper --silent --output-dataset

```

## MCP server setup

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