# Business Class Fare Tracker on Google Flights

**Use case:** 

Monitor business and first class airfares on long-haul routes. Each scheduled run returns only the fares that changed, with old and new prices, so you catch business class deals without checking Google Flights every day. Filter by stops and airlines or alliances (Star Alliance, oneworld, SkyTeam).

## Input

```json
{
  "routes": [
    "NYC-LON",
    "SFO-TYO"
  ],
  "mode": "flights",
  "departureDate": "+30 days",
  "returnAfterDays": 10,
  "numberOfDates": 14,
  "dateStepDays": 1,
  "calendarDays": 90,
  "onlyPriceChanges": true,
  "minChangePercent": 5,
  "monitorName": "business-class",
  "adults": 1,
  "children": 0,
  "cabinClass": "business",
  "maxStops": "max1",
  "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"
  },
  "direction": {
    "label": "Change",
    "format": "text"
  },
  "price": {
    "label": "Now",
    "format": "number"
  },
  "previousPrice": {
    "label": "Before",
    "format": "number"
  },
  "change": {
    "label": "Diff",
    "format": "number"
  },
  "changePercent": {
    "label": "%",
    "format": "number"
  },
  "currency": {
    "label": "Currency",
    "format": "text"
  },
  "belowTarget": {
    "label": "Below target",
    "format": "boolean"
  },
  "priceLevel": {
    "label": "Price level",
    "format": "text"
  },
  "previousCheckedAt": {
    "label": "Previous check",
    "format": "text"
  },
  "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`).
