# Is It a Good Flight Price? Google Price Insights and History

**Use case:** 

Get Google Flights' own verdict on a fare: low, typical or high, the usual price range for the route and the lowest-price history of the last 60 days, next to every flight. Decide whether to book now or wait.

## Input

```json
{
  "routes": [
    "LON-NYC",
    "PAR-TYO"
  ],
  "mode": "flights",
  "departureDate": "+45 days",
  "returnAfterDays": 10,
  "numberOfDates": 1,
  "dateStepDays": 1,
  "calendarDays": 90,
  "onlyPriceChanges": false,
  "minChangePercent": 5,
  "monitorName": "default",
  "adults": 1,
  "children": 0,
  "cabinClass": "economy",
  "maxStops": "any",
  "maxFlightsPerSearch": 0,
  "includePriceInsights": true,
  "includeReturnFlights": false,
  "includeBookingOptions": false,
  "detailsForTopFlights": 3,
  "currency": "USD",
  "language": "en",
  "country": "us",
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "route": {
    "label": "Route",
    "format": "text"
  },
  "departureDate": {
    "label": "Departure",
    "format": "text"
  },
  "returnDate": {
    "label": "Return",
    "format": "text"
  },
  "position": {
    "label": "#",
    "format": "number"
  },
  "price": {
    "label": "Price",
    "format": "number"
  },
  "currency": {
    "label": "Currency",
    "format": "text"
  },
  "airlines": {
    "label": "Airlines",
    "format": "array"
  },
  "flightNumbers": {
    "label": "Flights",
    "format": "array"
  },
  "departure": {
    "label": "Departs",
    "format": "text"
  },
  "arrival": {
    "label": "Arrives",
    "format": "text"
  },
  "durationMinutes": {
    "label": "Minutes",
    "format": "number"
  },
  "stops": {
    "label": "Stops",
    "format": "number"
  },
  "isBest": {
    "label": "Best",
    "format": "boolean"
  },
  "priceLevel": {
    "label": "Price level",
    "format": "text"
  },
  "cheapestSeller": {
    "label": "Cheapest seller",
    "format": "text"
  },
  "cheapestSellerPrice": {
    "label": "Seller price",
    "format": "number"
  },
  "googleFlightsUrl": {
    "label": "Google Flights",
    "format": "link"
  }
}
```

## About this Actor

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