# Watch London to Barcelona weekend fares under a target

**Use case:** 

Checks weekend round trips (2 nights) from London Heathrow and Gatwick to Barcelona, 30 days ahead, in GBP. Each run stores the cheapest fare per airport and, from the second run, alerts when a fare drops 5% or more, hits a new low or is at or under 120 GBP. Built for city-break deal hunting.

## Input

```json
{
  "routes": [
    "LHR-BCN",
    "LGW-BCN"
  ],
  "departure": "+30d",
  "windowDays": 1,
  "returnAfterNights": 2,
  "targetPrice": 120,
  "dropPercent": 5,
  "alertOn": [
    "BELOW_TARGET",
    "DROP",
    "NEW_LOW",
    "VERDICT_LOW"
  ],
  "adults": 1,
  "cabin": "economy",
  "nonstopOnly": false,
  "currency": "GBP",
  "country": "GB",
  "language": "en-GB",
  "watchName": "london-barcelona-weekend-fares",
  "resetMemory": false,
  "maxChecks": 2,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "route": {
    "label": "Route",
    "format": "text"
  },
  "departureDate": {
    "label": "Departure",
    "format": "text"
  },
  "returnDate": {
    "label": "Return",
    "format": "text"
  },
  "status": {
    "label": "Status",
    "format": "text"
  },
  "cheapestPrice": {
    "label": "Cheapest",
    "format": "number"
  },
  "currency": {
    "label": "Currency",
    "format": "text"
  },
  "changePercent": {
    "label": "Change %",
    "format": "number"
  },
  "lowestSeenPrice": {
    "label": "Lowest seen",
    "format": "number"
  },
  "googleVerdict": {
    "label": "Verdict",
    "format": "text"
  },
  "alerts": {
    "label": "Alerts",
    "format": "array"
  },
  "alertText": {
    "label": "Alert text",
    "format": "text"
  },
  "cheapestAirlines": {
    "label": "Airlines",
    "format": "array"
  },
  "googleFlightsUrl": {
    "label": "Link",
    "format": "link"
  }
}
```

## How it works

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

The Flight Price Tracker: Fare Drop Alerts (Memory) Actor is ready to run with the inputs already set for "Watch London to Barcelona weekend fares under a target". [Sign up or log in](https://console.apify.com/create-task-from-example/t0fyBBDNDRdwFAuEA) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Watch London to Barcelona weekend fares under a target" task

The Flight Price Tracker: Fare Drop Alerts (Memory) Actor will start running based on the input automatically. You can also change all the input fields, like routes to watch, departure date, and more, to match your specific use case.

### 3. Receive the "Watch London to Barcelona weekend fares under a target" 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 route, departure, return, 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 "Watch London to Barcelona weekend fares under a target" task via API](https://apify.com/sillage-data/flight-price-watch.md).

## About this Actor

This example demonstrates how to use [Flight Price Tracker: Fare Drop Alerts (Memory)](https://apify.com/sillage-data/flight-price-watch.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/sillage-data/flight-price-watch.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/sillage-data/flight-price-watch.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`).
