get_flights
Search award flight availability by origin, destination, date, and cabin class, using cached seats.aero data to find flights bookable with miles.
Instructions
Get cached award flights on seats.aero.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | Number of already-retrieved results to skip. | |
| take | No | Maximum results to return (10-1000; default 500). | |
| cabins | No | Cabins that must be available, comma-delimited when specifying multiple cabins. | |
| cursor | No | Opaque cursor returned by the first page of this search. | |
| endDate | No | Latest departure date, in YYYY-MM-DD format. | |
| sources | No | Mileage program sources, comma-delimited when specifying multiple. | |
| carriers | No | Two-character carrier codes, comma-delimited (for example, DL,AA). | |
| order_by | No | Set to lowest_mileage to return the cheapest results first. | |
| startDate | No | Earliest departure date, in YYYY-MM-DD format. | |
| cabinClass | No | Deprecated single-cabin alias for cabins. | |
| minify_trips | No | Return fewer trip fields when include_trips is enabled. | |
| departureDate | No | Deprecated single-date alias. When startDate or endDate is omitted, this value is used for that bound. | |
| include_trips | No | Include flight-level trip details in each availability result. | |
| originAirport | Yes | Origin airport codes, comma-delimited when searching multiple airports (for example, SFO,LAX). | |
| include_filtered | No | Include raw results normally removed by dynamic-price filters. | |
| destinationAirport | Yes | Destination airport codes, comma-delimited when searching multiple airports (for example, FRA,LHR). | |
| only_direct_flights | No | Only return results with a direct flight available. |