Search flights
mb_search_flightsSearch flights by date to find bookable options with prices, seat availability, baggage allowance, and schedules for one-way or round trips.
Instructions
Search flights for a date: every bookable flight with price, seats left, baggage and times.
price_toman is one adult's fare (taxes included); total_toman the whole party. Domestic round
trips come back as two lists (outbound, return, separate tickets); international ones as
packages priced for both ways (flight_id names both legs). International flights from Tehran
can leave from IKA when THR is asked (segments show the real airports). Flights not on sale
are counted in not_on_sale. Next: mb_flight_fare_details with the flight_id (refunds, exact
baggage, rules); to pick the day first, mb_flight_price_calendar.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Gregorian date YYYY-MM-DD, e.g. '2026-10-20'. | |
| sort | No | Order of the flights. | cheapest |
| cabin | No | Cabin class filter (applied here; the API itself ignores it). | any |
| limit | No | Max flights per list. | |
| adults | No | Adults (12+). | |
| origin | Yes | IATA airport or city code from mb_find_place(mode='flight'), e.g. 'THR', 'MHD', 'IKA' or 'ISTALL' (all Istanbul airports). | |
| infants | No | Infants (under 2). | |
| airlines | No | Only these airline codes, e.g. ['IR', 'W5'] (codes from results or mb_companies). | |
| children | No | Children (2-11). | |
| destination | Yes | IATA airport or city code from mb_find_place(mode='flight'), e.g. 'THR', 'MHD', 'IKA' or 'ISTALL' (all Istanbul airports). | |
| direct_only | No | Only flights without a connection. | |
| return_date | No | Return date YYYY-MM-DD for a round trip, e.g. '2026-10-23'; omit for one-way. | |
| depart_after | No | Local time HH:MM, e.g. '06:00'. | |
| depart_before | No | Local time HH:MM, e.g. '06:00'. |