# Fares from one home airport to a dozen popular cities

**Use case:** 

One home airport (Seattle) to twelve popular cities three weeks out, one stop at most. The free summary row per city gives the cheapest fare and Google's usual range, so you can see which trip is a bargain right now.

## Input

```json
{
  "mode": "flights",
  "routes": [
    "SEA-LAX",
    "JFK-LHR"
  ],
  "origins": [
    "SEA"
  ],
  "destinations": [
    "LAX",
    "SFO",
    "LAS",
    "DEN",
    "PHX",
    "ORD",
    "JFK",
    "BOS",
    "ATL",
    "MIA",
    "HNL",
    "ANC"
  ],
  "tripType": "one_way",
  "departureInDays": 21,
  "numberOfDates": 1,
  "dateStepDays": 1,
  "tripLengthDays": 7,
  "calendarDays": 60,
  "returnFlightsForCheapestOutbound": 1,
  "adults": 1,
  "children": 0,
  "infantsInSeat": 0,
  "infantsOnLap": 0,
  "cabinClass": "economy",
  "maxStops": "1",
  "maxPrice": 0,
  "currency": "USD",
  "country": "us",
  "completeResults": false,
  "maxResultsPerSearch": 15,
  "searchMethod": "auto",
  "includeSearchSummary": true,
  "includeLegs": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "fallbackToResidential": false,
  "maxConcurrency": 4,
  "maxRetries": 8,
  "debugLog": false
}
```

## Output

```json
{
  "recordType": {
    "label": "Row"
  },
  "route": {
    "label": "Route"
  },
  "departureDate": {
    "label": "Depart"
  },
  "returnDate": {
    "label": "Return"
  },
  "status": {
    "label": "Status"
  },
  "flightsFound": {
    "label": "Flights found",
    "format": "number"
  },
  "flightsSaved": {
    "label": "Flights saved",
    "format": "number"
  },
  "cheapestPrice": {
    "label": "Cheapest",
    "format": "number"
  },
  "currency": {
    "label": "Cur."
  },
  "cheapestAirlines": {
    "label": "Cheapest airline"
  },
  "cheapestFlightNumbers": {
    "label": "Cheapest flights"
  },
  "cheapestStops": {
    "label": "Stops (cheapest)",
    "format": "number"
  },
  "priceLevel": {
    "label": "Price level"
  },
  "usualPrice": {
    "label": "Usual price",
    "format": "number"
  },
  "typicalPriceLow": {
    "label": "Typical low",
    "format": "number"
  },
  "typicalPriceHigh": {
    "label": "Typical high",
    "format": "number"
  },
  "priceHistoryDays": {
    "label": "History days",
    "format": "number"
  },
  "priceHistoryMin": {
    "label": "60-day min",
    "format": "number"
  },
  "priceHistoryMax": {
    "label": "60-day max",
    "format": "number"
  },
  "priceHistory": {
    "label": "Price history",
    "format": "object"
  },
  "nonstopFlights": {
    "label": "Nonstops",
    "format": "number"
  },
  "airlinesFound": {
    "label": "Airlines"
  },
  "extraPagesFetched": {
    "label": "Extra pages",
    "format": "number"
  },
  "charged": {
    "label": "Charged",
    "format": "boolean"
  },
  "googleFlightsUrl": {
    "label": "Google Flights",
    "format": "link"
  },
  "statusMessage": {
    "label": "Message"
  }
}
```

## How it works

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

The Google Flights Scraper – Airfare Data, $0.80/1,000 Flights Actor is ready to run with the inputs already set for "Fares from one home airport to a dozen popular cities". [Sign up or log in](https://console.apify.com/create-task-from-example/lKZ4dkGfy2meH5ezH) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Fares from one home airport to a dozen popular cities" task

The Google Flights Scraper – Airfare Data, $0.80/1,000 Flights Actor will start running based on the input automatically. You can also change all the input fields, like what to collect, routes, and more, to match your specific use case.

### 3. Receive the "Fares from one home airport to a dozen popular cities" 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 row, route, depart, 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 "Fares from one home airport to a dozen popular cities" task via API](https://apify.com/griffie/google-flights-scraper.md).

## About this Actor

This example demonstrates how to use [Google Flights Scraper – Airfare Data, $0.80/1,000 Flights](https://apify.com/griffie/google-flights-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/griffie/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/griffie/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`).
