Search buses
mb_search_busesSearch intercity buses between two Iranian cities or terminals on a given date and compare departure times, companies, prices per seat, free seats, bus type, stops and refund penalties.
Instructions
Intercity buses on a date: company, terminal, times, price per seat, free seats, bus type, stops, refund penalties.
A city id covers all its terminals; a terminal id only that terminal. price_toman is per seat (a party pays it once per seat). refund_penalties apply to every bus unless a bus lists its own: until_hours_before = the step applies until that many hours before departure (null = up to departure); free_cancel_minutes = free cancellation within that many minutes after purchase. Next: mb_bus_seats with a bus_id for seat numbers and women/men seats; other days: mb_bus_price_calendar.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Departure date YYYY-MM-DD, e.g. '2026-10-20'. | |
| sort | No | Order of the buses. | earliest |
| limit | No | Max buses. | |
| origin | Yes | Bus city or terminal id from mb_find_place(mode='bus'), e.g. 11320000 (Tehran, all terminals) or 31310000 (Mashhad). | |
| vip_only | No | Only VIP buses. | |
| companies | No | Only these company ids, from `companies` of a result or mb_companies(mode='bus'), e.g. [4, 16]. | |
| destination | Yes | Bus city or terminal id from mb_find_place(mode='bus'), e.g. 11320000 (Tehran, all terminals) or 31310000 (Mashhad). | |
| depart_after | No | Local time HH:MM, e.g. '18:00'. | |
| depart_before | No | Local time HH:MM, e.g. '18:00'. | |
| include_sold_out | No | Also list buses with no free seat. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||