# Find Genuine Flight Bargains From Your Airport

**Use case:** 

Get the 30 cheapest destinations from an airport, each flagged when it beats its route typical price. Returns price, savings percent, dates and a booking link.

## Input

```json
{
  "departureId": "JFK",
  "tripType": "round_trip",
  "travelDuration": "any",
  "travelClass": "economy",
  "maxStops": "any",
  "maxDealsPerAirport": 30,
  "currency": "USD",
  "hl": "en"
}
```

## Output

```json
{
  "thumbnail": {
    "label": "Photo",
    "format": "string"
  },
  "name": {
    "label": "Destination",
    "format": "string"
  },
  "country": {
    "label": "Country",
    "format": "string"
  },
  "price": {
    "label": "Price",
    "format": "number"
  },
  "average_price": {
    "label": "Typical Price",
    "format": "number"
  },
  "savings": {
    "label": "Savings",
    "format": "number"
  },
  "savings_percent": {
    "label": "Savings %",
    "format": "number"
  },
  "is_below_typical": {
    "label": "Below Typical?",
    "format": "boolean"
  },
  "route": {
    "label": "Route",
    "format": "string"
  },
  "outbound_date": {
    "label": "Outbound",
    "format": "string"
  },
  "return_date": {
    "label": "Return",
    "format": "string"
  },
  "flight_duration": {
    "label": "Duration (min)",
    "format": "integer"
  },
  "stops": {
    "label": "Stops",
    "format": "integer"
  },
  "airline": {
    "label": "Airline",
    "format": "string"
  },
  "flight_link": {
    "label": "Booking Link",
    "format": "string"
  },
  "departure_id": {
    "label": "Departure Airport",
    "format": "string"
  },
  "position": {
    "label": "Position",
    "format": "integer"
  }
}
```

## About this Actor

This example demonstrates how to use [Google Flights Deals API - Cheap Destinations](https://apify.com/johnvc/google-flights-deals-api) with a specific input configuration. Visit the [Actor detail page](https://apify.com/johnvc/google-flights-deals-api) to learn more, explore other use cases, and run it yourself.