Search flights
mb_search_flightsSearch bookable flights by route and date to compare prices, seats left, baggage, and local times. Filter by cabin, airline, direct-only, departure window, or round trip.
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 is the whole party (adult,
child and infant fares). Fares without enough seats for the party are dropped by the site.
Domestic round trips come back as two lists (outbound, return, each its own ticket);
international round trips as packages whose price covers both ways (flight_id names both
legs). Times are local to each airport, even though they all carry the API's +03:30 suffix;
international flights from Tehran can leave from IKA when THR is asked (segments show the
real airports). Flights not on sale (sold out or auto-reserve only) are counted in
not_on_sale. For refund penalties, exact baggage and fare rules call mb_flight_fare_details
with the flight_id; for the cheapest day use mb_flight_price_calendar first.
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'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||