# Collect round-trip Google Flights fares and itineraries

**Use case:** 

Collect paired JFK–London round-trip itineraries for a seven-day journey in USD. Get total-party fares, both directions and Google booking links. Update travel dates before running your copy. No schedule is enabled. Google errors can produce partial results; inspect RUN_SUMMARY.

## Input

```json
{
  "origin": "JFK",
  "destination": "LHR",
  "departureDate": "2027-01-15",
  "returnDate": "2027-01-22",
  "currency": "USD",
  "country": "US",
  "language": "en",
  "cabin": "economy",
  "adults": 1,
  "children": 0,
  "infantsInSeat": 0,
  "infantsOnLap": 0,
  "maxStops": -1,
  "airlines": [],
  "sortBy": "price",
  "maxResultsPerSearch": 10,
  "maxOutboundOptions": 2,
  "maxRequestsPerRun": 6,
  "maxRetries": 1,
  "requestTimeoutSeconds": 30,
  "minRequestIntervalMillis": 1000,
  "maxConcurrency": 2,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "tripType": {
    "label": "tripType",
    "format": "string"
  },
  "origin": {
    "label": "origin",
    "format": "string"
  },
  "destination": {
    "label": "destination",
    "format": "string"
  },
  "departureDate": {
    "label": "departureDate",
    "format": "string"
  },
  "returnDate": {
    "label": "returnDate",
    "format": "string"
  },
  "price": {
    "label": "price",
    "format": "number"
  },
  "currency": {
    "label": "currency",
    "format": "string"
  },
  "outboundStops": {
    "label": "outboundStops",
    "format": "integer"
  },
  "inboundStops": {
    "label": "inboundStops",
    "format": "integer"
  },
  "googleBookingUrl": {
    "label": "googleBookingUrl",
    "format": "string"
  }
}
```

## How it works

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

The Google Flights Scraper & Price Monitor Actor is ready to run with the inputs already set for "Collect round-trip Google Flights fares and itineraries". [Sign up or log in](https://console.apify.com/create-task-from-example/Lr1ycWhXnvT1APHWG) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Collect round-trip Google Flights fares and itineraries" task

The Google Flights Scraper & Price Monitor Actor will start running based on the input automatically. You can also change all the input fields, like origin airport, destination airport, and more, to match your specific use case.

### 3. Receive the "Collect round-trip Google Flights fares and itineraries" 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 triptype, origin, destination, 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 "Collect round-trip Google Flights fares and itineraries" task via API](https://apify.com/vincesoft/google-flights-price-monitor.md).

## About this Actor

This example demonstrates how to use [Google Flights Scraper & Price Monitor](https://apify.com/vincesoft/google-flights-price-monitor.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/vincesoft/google-flights-price-monitor.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/vincesoft/google-flights-price-monitor.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`).
