# Find the cheapest day to fly Berlin to Alicante

**Use case:** 

Checks 30 departure dates in one run and returns the cheapest nonstop fare for each day, plus a free summary with the cheapest date, the most expensive one and Google's typical price range for the route. Swap the route for any city pair (PAR-LIS, LON-NYC...) and schedule it daily with a monitor name to catch price drops.

## Input

```json
{
  "routes": [
    "BER-ALC"
  ],
  "numberOfDates": 30,
  "daysBetweenDates": 1,
  "tripLengthDays": 0,
  "adults": 1,
  "children": 0,
  "cabinClass": "economy",
  "maxStops": "nonstop",
  "currency": "EUR",
  "countryCode": "us",
  "language": "en",
  "maxFlightsPerSearch": 5,
  "cheapestOnly": true,
  "includeSummary": true,
  "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`).
