Search hotels
eg_searchSearch hotels by city and travel dates, filter by price, stars, facilities, and sorting, then compare nightly rates to identify suitable stays.
Instructions
Search hotels in a city for given dates, with the filters the site offers, and return cards with the lowest price.
Use it to answer "hotels in Mashhad on 1405-08-19", "cheapest 4-star in Kish" (sort=price_asc, min_stars=4) or
"best rated near X" or "with a pool near the shrine" (facilities, area). price_from is the lowest room price per night
for those dates in Toman (stay_total is the whole stay when nights > 1), often a single-bed room (the site's list
shows the same figure); pass guests for the price of a room that sleeps them. status is
available, min_stay (open, but the stay rules, e.g. a minimum number of nights, may not fit) or sold_out.
Call eg_rooms with a card's hotel value for room prices, eg_hotel for facilities and rules, eg_reviews for guest opinions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | No | A city category in Persian, e.g. 'حرم' (near the shrine), 'ارزان' (cheap), 'لوکس'; must match one. | |
| beds | No | Only hotels with a room of this many beds. | |
| city | Yes | City slug from eg_cities (Mashhad, Esfahan, Kish...) or its Persian name. | |
| kind | No | hotel = hotels and hotel apartments; stay = villas, suites, houses. | hotel |
| name | No | Part of the hotel name, Persian. | |
| sort | No | One of popular, price_asc, price_desc, rating, discount, reviews. popular is the site's default order. | popular |
| type | No | Property type: hotel, apartment_hotel, traveler_house, inn, traditional_residence, residential_unit, ecotourism_resorts. | |
| board | No | Only hotels with this meal plan: room_only, bed_and_breakfast, half_board, full_board. | |
| limit | No | ||
| guests | No | Add `price_for_guests`: the cheapest room that sleeps this many, per night, for the first 12 cards. | |
| nights | No | Number of nights, 1-30. | |
| check_in | No | Check-in date, YYYY-MM-DD (Gregorian, or Jalali such as 1405-08-19). Default: tomorrow. | |
| max_price | No | Highest 'price from' in Toman, per night. | |
| max_stars | No | ||
| min_price | No | Lowest 'price from' in Toman, per night. | |
| min_stars | No | ||
| facilities | No | Facilities the hotel must all have, Persian, e.g. ['استخر', 'پارکینگ'] (pool, parking). | |
| attraction_id | No | Only hotels the site lists near this attraction (id from eg_attractions). | |
| include_sold_out | No | Also list hotels with no room for those dates. |