Search cheapest dates
search_cheapest_datesCompare the lowest one-way or round-trip fare for each departure date across up to 31 dates. Prices are not bookable; search the chosen date with search_flights.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adults | No | Number of adult passengers traveling. | |
| market | No | 2-letter market or country code affecting pricing and results. | US |
| origin | Yes | Origin airport or metro IATA code. | |
| children | No | Number of child passengers traveling. | |
| max_price | No | Maximum whole-trip price in the market currency. | |
| max_stops | No | Maximum number of stops in each direction. | |
| stay_days | No | Omit for one-way. For round trips, return this many days after each departure. | |
| cabin_class | No | Preferred cabin class: economy, premium_economy, business, or first. | economy |
| destination | Yes | Destination airport or metro IATA code. | |
| infants_on_lap | No | Number of infants traveling on an adult's lap. | |
| infants_in_seat | No | Number of infants traveling with their own seat. | |
| departure_date_end | Yes | Last departure date to compare, in YYYY-MM-DD format; at most 30 days after the start. | |
| departure_date_start | Yes | First departure date to compare, in YYYY-MM-DD format. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dates | Yes | Every requested departure date in ascending order. | |
| origin | Yes | Origin airport or metro IATA code. | |
| destination | Yes | Destination airport or metro IATA code. |