# Seats.aero

> Search award-flight availability, inspect bookable trips and view your alerts.

App · 5 actions. Web page: https://docs.lodol.com/docs/integrations/seats-aero

## Actions

### Get trips for an award result

Get trips for an award result in Seats.aero.

**Inputs**

- Availability ID (`availability_id`, text, required): The ID of the availability object.
- Include filtered (`include_filtered`, true/false): Include expensive dynamically-priced results that may have been filtered out.
- Min cabin pct (`min_cabin_pct`, number): Minimum percentage of each itinerary's distance that must be flown in its reported Cabin or a higher cabin. Must be a whole number from 0 to 100. For example, 75 permits up to 25% of the journey in a lower cabin. Omit this parameter or set it to 100 to exclude itineraries with any distance below the reported Cabin. From 0 to 100.

**Outputs**

- `data` (object): The response from Seats.aero.

**Example output**

```json
{
  "data": {
    "booking_links": [
      {
        "label": "example",
        "link": "example",
        "primary": true
      }
    ],
    "data": [
      {
        "AllianceCost": 1,
        "ArrivesAt": "example",
        "AvailabilityID": "example",
        "AvailabilitySegments": [
          {}
        ],
        "Cabin": "example",
        "Carriers": "example",
        "CreatedAt": "example",
        "DepartsAt": "example",
        "FlightNumbers": "example",
        "ID": "example",
        "MileageCost": 1,
        "MixedCabinPct": 1,
        "RemainingSeats": 1,
        "RouteID": "example",
        "Source": "example",
        "Stops": 1,
        "TaxesCurrency": "example",
        "TaxesCurrencySymbol": "example",
        "TotalDuration": 1,
        "TotalTaxes": 1,
        "UpdatedAt": "example"
      }
    ],
    "destination_coordinates": {
      "Lat": 1,
      "Lon": 1
    },
    "origin_coordinates": {
      "Lat": 1,
      "Lon": 1
    }
  }
}
```

### List active alerts

List active alerts in Seats.aero.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Seats.aero.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "AlertOnBlocked": true,
        "AnyDate": true,
        "ArrivalTimeRange": {},
        "Cabins": [
          "example"
        ],
        "Carrier": "example",
        "CarriersExcluded": true,
        "Channel": "example",
        "Codeshares": true,
        "Continuous": true,
        "CreatedAt": "example",
        "DateFrom": "example",
        "DateTo": "example",
        "DepartureTimeRange": {},
        "DestinationAirport": "example",
        "DirectOnly": true,
        "FareClass": "example",
        "FilteredTrips": true,
        "FlightNumber": "example",
        "GroupID": "example",
        "ID": "example",
        "LessThan": true,
        "MaxFees": 1,
        "MaxPoints": 1,
        "MaxStops": 1,
        "MinCabinPct": 1,
        "MinSeats": 1,
        "Nickname": "example",
        "OriginAirport": "example",
        "Paused": true,
        "PreferAisle": true,
        "PreferWindow": true,
        "SearchDestinationAirport": "example",
        "SearchFlights": "example",
        "SearchOriginAirport": "example",
        "Seats": [
          "example"
        ],
        "Source": "example",
        "Type": "example"
      }
    ]
  }
}
```

### List award availability by program

List award availability by program in Seats.aero.

**Inputs**

- Source (`source`, text, required): The mileage program to retrieve availability from. One of: `eurobonus` (SAS EuroBonus), `virginatlantic` (Virgin Atlantic Flying Club), `aeromexico` (Aeromexico Club Premier), `american` (American Airlines), `delta` (Delta SkyMiles), `etihad` (Etihad Guest), `united` (United MileagePlus), `emirates` (Emirates Skywards), `aeroplan` (Air Canada Aeroplan), `alaska` (Alaska Mileage Plan), and 16 more.
- Cabin (`cabin`, text): Only returns results with this cabin available. Must be one of: [economy, premium, business, first]. One of: `economy`, `premium`, `business`, `first`.
- Start date (`start_date`, date): Only returns results between start_date and end_date when specified.
- End date (`end_date`, date): Only returns results between start_date and end_date when specified.
- Origin region (`origin_region`, text): Only returns results originating in this region when specified. Must be one of: [North America, South America, Africa, Asia, Europe, Oceania]
- Destination region (`destination_region`, text): Only returns results arriving in this region when specified. Must be one of: [North America, South America, Africa, Asia, Europe, Oceania]
- Take (`take`, number): How many results to return. Must be >=10 and <= 1000 if specified, otherwise 500.
- Cursor (`cursor`, number): Cursor you retrieved from a previous availability response.
- Include filtered (`include_filtered`, true/false): Return results that only have raw (filtered) results. Enable this when using the raw fields to prevent dynamic price filtering.
- Min cabin pct (`min_cabin_pct`, number): Minimum percentage of each itinerary's distance that must be flown in its reported Cabin or a higher cabin. Must be a whole number from 0 to 100. For example, 75 permits up to 25% of the journey in a lower cabin. Omit this parameter or set it to 100 to exclude itineraries with any distance below the reported Cabin. From 0 to 100.

**Outputs**

- `data` (object): The response from Seats.aero.

**Example output**

```json
{
  "data": {
    "count": 1,
    "cursor": 1,
    "data": [
      {
        "Date": "example",
        "ID": "example",
        "JAvailable": true,
        "Route": {},
        "Source": "example",
        "YAvailable": true
      }
    ],
    "hasMore": true
  }
}
```

### Search cached award availability

Search cached award availability in Seats.aero.

**Inputs**

- Origin airport (`origin_airport`, list, required): A list of origin airports. Comma-delimited if multiple, such as "SFO,LAX".
- Destination airport (`destination_airport`, list, required): A list of destination airports. Comma-delimited if multiple, such as "FRA,LHR".
- Start date (`start_date`, date): Results must depart between start_date and end_date when specified, in YYYY-MM-DD format.
- End date (`end_date`, date): Results must depart between start_date and end_date when specified, in YYYY-MM-DD format.
- Cursor (`cursor`, number): A cursor you obtained from a previous search call.
- Take (`take`, number): Maximum amount of results to respond with. Must be >= 10 and <= 1000.
- Order by (`order_by`, text): By default, results are ordered by departure date and then by available cabins, with available premium cabins ranked above results without them available. You can alternatively specify lowest_mileage in this parameter to return results with the cheapest prices first. One of: `lowest_mileage` (Lowest mileage).
- Include trips (`include_trips`, true/false): Include trip-level details in the API response. This may degrade response time and sizing.
- Only direct flights (`only_direct_flights`, true/false): Only return results that have a direct flight available. Respects the cabin parameter if provided.
- Carriers (`carriers`, text): Only return results involving these comma-separated carriers (i.e. "DL,AA"). Respects the cabin parameter if provided.
- Include filtered (`include_filtered`, true/false): Return results that only have raw (filtered) results. Enable this when using the raw fields to prevent dynamic price filtering.
- Sources (`sources`, list): A list of mileage programs to filter by. Comma-delimited if multiple, such as "aeroplan,united". One or more of: `eurobonus` (SAS EuroBonus), `virginatlantic` (Virgin Atlantic Flying Club), `aeromexico` (Aeromexico Club Premier), `american` (American Airlines), `delta` (Delta SkyMiles), `etihad` (Etihad Guest), `united` (United MileagePlus), `emirates` (Emirates Skywards), `aeroplan` (Air Canada Aeroplan), `alaska` (Alaska Mileage Plan), and 16 more.
- Minify trips (`minify_trips`, true/false): When include_trips and minify_trips are both enabled, returns a reduced amount of fields in each trip to improve performance.
- Cabins (`cabins`, list): Results must have these cabins available when specified. Comma-delimited if multiple, such as "economy,business". Must not be provided if "cabin" was provided. One or more of: `economy`, `premium`, `business`, `first`.
- Min cabin pct (`min_cabin_pct`, number): Minimum percentage of each itinerary's distance that must be flown in its reported Cabin or a higher cabin. Must be a whole number from 0 to 100. For example, 75 permits up to 25% of the journey in a lower cabin. Omit this parameter or set it to 100 to exclude itineraries with any distance below the reported Cabin. From 0 to 100.

**Outputs**

- `data` (object): The response from Seats.aero.

**Example output**

```json
{
  "data": {
    "count": 1,
    "cursor": 1,
    "data": [
      {
        "AvailabilityTrips": [
          {}
        ],
        "CreatedAt": "example",
        "Date": "example",
        "FAirlines": "example",
        "FAvailable": true,
        "FDirect": true,
        "FMileageCost": "example",
        "FRemainingSeats": 1,
        "ID": "example",
        "JAirlines": "example",
        "JAvailable": true,
        "JDirect": true,
        "JMileageCost": "example",
        "JRemainingSeats": 1,
        "ParsedDate": "example",
        "Route": {},
        "RouteID": "example",
        "Source": "example",
        "UpdatedAt": "example",
        "WAirlines": "example",
        "WAvailable": true,
        "WDirect": true,
        "WMileageCost": "example",
        "WRemainingSeats": 1,
        "YAirlines": "example",
        "YAvailable": true,
        "YDirect": true,
        "YMileageCost": "example",
        "YRemainingSeats": 1
      }
    ],
    "hasMore": true
  }
}
```

### Search live award availability

Search live award availability in Seats.aero.

**Inputs**

- Origin airport (`origin_airport`, text, required): The origin airport to search from.
- Destination airport (`destination_airport`, text, required): The destination airport to search to.
- Departure date (`departure_date`, date, required): Departure date to search, in YYYY-MM-DD format.
- Source (`source`, text, required): The mileage program to search. Can be one of the sources in Concepts. One of: `eurobonus` (SAS EuroBonus), `virginatlantic` (Virgin Atlantic Flying Club), `aeromexico` (Aeromexico Club Premier), `american` (American Airlines), `delta` (Delta SkyMiles), `etihad` (Etihad Guest), `united` (United MileagePlus), `emirates` (Emirates Skywards), `aeroplan` (Air Canada Aeroplan), `alaska` (Alaska Mileage Plan), and 16 more.
- Disable filters (`disable_filters`, true/false): Disables filters for dynamic pricing and mismatched airports. Where supported by the mileage program, this may also return mixed-cabin itineraries. Results with a computed mixed-cabin percentage include MixedCabinPct.
- Show dynamic pricing (`show_dynamic_pricing`, true/false): Disables only filters for dynamic pricing, but not for mismatched airports.
- Smart cache (`smart_cache`, true/false): When true, an eligible failed live search can return matching cached availability instead. The fallback preserves the requested source, airports, departure date, seat count, filter settings, and stored result identifiers. Cache-resolved responses do not create live provider billing records. Definitive unsupported-source or unsupported-route responses do not use the fallback. If
- Seat count (`seat_count`, number): Number of adult passengers to search for, between 1-9 seats.

**Outputs**

- `data` (object): The response from Seats.aero.

**Example output**

```json
{
  "data": {
    "bookingLinks": [
      {
        "label": "example",
        "link": "example",
        "primary": true
      }
    ],
    "cached": true,
    "results": [
      {
        "Aircraft": {},
        "AllianceCost": 1,
        "ArrivesAt": "example",
        "AvailabilityID": "example",
        "AvailabilitySegments": [
          {}
        ],
        "Cabin": "example",
        "Carriers": "example",
        "Connections": {},
        "CreatedAt": "example",
        "DepartsAt": "example",
        "DestinationAirport": "example",
        "Filtered": true,
        "FlightNumbers": "example",
        "ID": "example",
        "MileageCost": 1,
        "MixedCabinPct": 1,
        "OriginAirport": "example",
        "RemainingSeats": 1,
        "RouteID": "example",
        "Source": "example",
        "Stops": 1,
        "TaxesCurrency": "example",
        "TaxesCurrencySymbol": "example",
        "TotalDuration": 1,
        "TotalSegmentDistance": 1,
        "TotalTaxes": 1,
        "UpdatedAt": "example"
      }
    ],
    "success": true
  }
}
```
