# Find the cheapest dates to fly on Google Flights

**Use case:** 

Get the lowest Google Flights fare for every departure date in a range, one row per date, with airline, flight numbers and stops, and the cheapest date marked. Set the route and the range (+30 = 30 days from today), run, and export the calendar as CSV or Excel.

## Input

```json
{
  "origin": "JFK",
  "destination": "LHR",
  "departureDate": "+30",
  "mode": "calendar",
  "departureDateEnd": "+44",
  "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
}
```

## Output

```json
{
  "departureDate": {
    "label": "Date",
    "format": "string"
  },
  "returnDate": {
    "label": "Return",
    "format": "string"
  },
  "price": {
    "label": "Price",
    "format": "number"
  },
  "currency": {
    "label": "Cur.",
    "format": "string"
  },
  "isCheapest": {
    "label": "Cheapest",
    "format": "boolean"
  },
  "airlines": {
    "label": "Airlines",
    "format": "array"
  },
  "flightNumbers": {
    "label": "Flights",
    "format": "array"
  },
  "stops": {
    "label": "Stops",
    "format": "integer"
  },
  "durationMinutes": {
    "label": "Minutes",
    "format": "integer"
  },
  "flightsFound": {
    "label": "Flights found",
    "format": "integer"
  },
  "priceLevel": {
    "label": "Price level",
    "format": "string"
  },
  "typicalPriceLow": {
    "label": "Typical from",
    "format": "number"
  },
  "typicalPriceHigh": {
    "label": "Typical to",
    "format": "number"
  },
  "origin": {
    "label": "Origin asked",
    "format": "string"
  },
  "destination": {
    "label": "Destination asked",
    "format": "string"
  },
  "googleFlightsUrl": {
    "label": "On Google Flights",
    "format": "string"
  },
  "rowType": {
    "label": "Row",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "note": {
    "label": "Note",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Google Flights Scraper — Flight Prices & Cheapest Dates Actor is ready to run with the inputs already set for "Find the cheapest dates to fly on Google Flights". [Sign up or log in](https://console.apify.com/create-task-from-example/tLyk5zjuenJHUfCBd) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Find the cheapest dates to fly on Google Flights" task

The Google Flights Scraper — Flight Prices & Cheapest Dates Actor will start running based on the input automatically. You can also change all the input fields, like from, to, and more, to match your specific use case.

### 3. Receive the "Find the cheapest dates to fly on Google Flights" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as date, return, price, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Find the cheapest dates to fly on Google Flights" task via API](https://apify.com/instagram-data-api/google-flights-scraper.md).

## FAQ

### How much does this cost?

$1.05 per 1,000 dates on the Starter plan and from $0.88 on Business, plus $0.0005 per run. This example (15 dates) costs about $0.02.

### Do the dates move with time?

Yes. +30 means 30 days from the day of the run, so a scheduled task always checks the same window ahead. Use YYYY-MM-DD for fixed dates.

### How do I get the data into Excel or Google Sheets?

Open the run's Storage tab and export the dataset as CSV, Excel or JSON, or pull it through the Apify API. Integrations can send it straight to Google Sheets.

## About this Actor

This example demonstrates how to use [Google Flights Scraper — Flight Prices & Cheapest Dates](https://apify.com/instagram-data-api/google-flights-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/instagram-data-api/google-flights-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/instagram-data-api/google-flights-scraper.md

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`).
