booking_flights_search
Search Booking.com flight offers between two locations by departure and return dates, one-way or round-trip, passenger counts, and cabin class; returns prices, currencies, and itinerary segments.
Instructions
Search Booking.com flights. Returns Booking.com flight offers between two locations given as from and to (such as SGN.AIRPORT), for a depart date. type is ROUNDTRIP (default, needs return) or ONEWAY. Also takes adults (1 to 9), children, cabin_class and sort. Offers carry price, currency and segments with legs; the response adds total_count and min_price.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Destination location id, same composite format as from | |
| from | Yes | Origin location id, e.g. SGN.AIRPORT, from a prior autocomplete result | |
| sort | No | Result sort order, default BEST | |
| type | No | Trip type, default ROUNDTRIP | |
| adults | No | Number of adults, 1-9, default 1 | |
| depart | Yes | Departure date, YYYY-MM-DD | |
| return | No | Return date, YYYY-MM-DD, required when type is ROUNDTRIP | |
| children | No | Number of children, 0-9 | |
| to_country | No | Destination country code | |
| cabin_class | No | Cabin class, default ECONOMY | |
| from_country | No | Origin country code |