# Get the Cheapest Flights from a Google Flights Link

**Use case:** 

Copy a link from the Cheapest tab on Google Flights and get its full list back - about 200 fares per route, including the separate-ticket and mixed-airline combinations the Best tab leaves out. Sorted by price, as the link asks.

## Input

```json
{
  "searchUrls": [
    "https://www.google.com/travel/flights/search?tfs=GikSCjIwMjctMDYtMTBqDQgDEgkvbS8wMl8yODZyDAgDEggvbS8wNXF0ahopEgoyMDI3LTA2LTIwagwIAxIIL20vMDVxdGpyDQgDEgkvbS8wMl8yODZAAUgBmAEB&tfu=EggIAhABIAIoAyIA&gl=US&curr=USD"
  ],
  "tripType": "round_trip",
  "origin": [
    "JFK",
    "EWR"
  ],
  "destination": [
    "LAX"
  ],
  "departureDate": "2026-11-20",
  "returnDate": "2026-11-27",
  "outboundDepartureTime": "6-12",
  "outboundArrivalTime": "8-22",
  "returnDepartureTime": "17-24",
  "returnArrivalTime": "0-24",
  "multiCityFlights": [
    {
      "origin": [
        "London"
      ],
      "destination": [
        "Paris"
      ],
      "date": "2026-12-30"
    },
    {
      "origin": [
        "Paris"
      ],
      "destination": [
        "Tokyo"
      ],
      "date": "2027-01-05"
    }
  ],
  "exploreTripLength": "one_week",
  "exploreMonth": "next_6_months",
  "adults": 1,
  "children": 0,
  "infantsInSeat": 0,
  "infantsOnLap": 0,
  "cabinClass": "economy",
  "maxStops": "any",
  "carryOnBags": 0,
  "lessEmissionsOnly": false,
  "excludeBasicEconomy": false,
  "resultsView": "best",
  "sortBy": "top_flights",
  "maxResults": 500,
  "bookingOptionsTop": 0,
  "returnFlightsTop": 0,
  "returnFlightsPerOutbound": 10,
  "priceGraphDays": 0,
  "currency": "USD",
  "market": "US",
  "language": "en-US"
}
```

## Output

```json
{
  "price": {
    "label": "Price"
  },
  "currency": {
    "label": "Currency"
  },
  "airlines": {
    "label": "Airlines"
  },
  "stops": {
    "label": "Stops"
  },
  "duration": {
    "label": "Duration"
  },
  "origin": {
    "label": "From"
  },
  "destination": {
    "label": "To"
  },
  "departureTime": {
    "label": "Departs"
  },
  "arrivalTime": {
    "label": "Arrives"
  },
  "cabinClass": {
    "label": "Cabin"
  },
  "tripType": {
    "label": "Trip"
  },
  "bucket": {
    "label": "Group"
  },
  "googleFlightsUrl": {
    "label": "Open in Google Flights"
  },
  "cheapestBookingOption": {
    "label": "Cheapest booking option"
  }
}
```

## About this Actor

This example demonstrates how to use [Google Flights Scraper - Prices, Fares & Schedules](https://apify.com/dz_omar/google-flights-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/dz_omar/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/dz_omar/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`).
