# Track a flight's price and get alerts when it drops

**Use case:** 

Follows the routes and dates you choose on Google Flights and, at each scheduled run, shows the price change of every flight since the previous run. When a fare drops by 10% or more you get a message on Telegram, Discord, Slack or your own webhook. Set a monitor name, a schedule (daily is enough) and your alert target; add several routes or a return leg in the same run.

## Input

```json
{
  "routes": [
    "LON-NYC"
  ],
  "numberOfDates": 3,
  "daysBetweenDates": 7,
  "tripLengthDays": 0,
  "adults": 1,
  "children": 0,
  "cabinClass": "economy",
  "maxStops": "any",
  "currency": "EUR",
  "countryCode": "us",
  "language": "en",
  "maxFlightsPerSearch": 5,
  "cheapestOnly": true,
  "includeSummary": true,
  "monitorName": "lon-nyc-watch",
  "alertOnPriceDropPct": 10,
  "maxNotifications": 30
}
```

## Output

```json
{
  "route": {
    "label": "Route",
    "format": "string"
  },
  "departureDate": {
    "label": "Departure date",
    "format": "string"
  },
  "returnDate": {
    "label": "Return date",
    "format": "string"
  },
  "price": {
    "label": "Price",
    "format": "number"
  },
  "currency": {
    "label": "Currency",
    "format": "string"
  },
  "airline": {
    "label": "Airline",
    "format": "string"
  },
  "flightNumbers": {
    "label": "Flight numbers",
    "format": "array"
  },
  "departure": {
    "label": "Departure",
    "format": "string"
  },
  "arrival": {
    "label": "Arrival",
    "format": "string"
  },
  "durationMinutes": {
    "label": "Duration minutes",
    "format": "number"
  },
  "stops": {
    "label": "Stops",
    "format": "number"
  },
  "priceLevel": {
    "label": "Price level",
    "format": "string"
  },
  "googleFlightsUrl": {
    "label": "Google flights url",
    "format": "string"
  }
}
```

## About this Actor

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