Search stays
ot_search_roomsSearch villas, cottages, and apartments by city, province, or dates to compare nightly prices and total stay costs for your guest count.
Instructions
Search Otaghak stays (villas, cottages, apartments, eco-lodges) in a city, province or collection.
With check_in/check_out every room is available on those dates and carries the stay price:
price_per_night (average after discount) and stay_total for guests (incl. extra-guest charges;
estimate, can be a few Toman off). Without dates prices are undated starting prices. Get slugs
from ot_find_place, filter codes from ot_search_filters. Next: ot_room for details, ot_price_quote
for the exact total, ot_room_calendar for other dates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City slugs from ot_find_place, e.g. ['ramsar'] or ['ramsar', 'chalus'] (any of them). | |
| name | No | Words of the room name, e.g. 'نرگس'. | |
| page | No | Zero-based page number. | |
| sort | No | Order. cheapest/most_expensive use the nightly price after discount; with dates, cheapest then re-sorts each page by stay_total (extra-guest charges included). | recommended |
| limit | No | Rooms per page. | |
| prime | No | Only 'prime' (premium) rooms. | |
| guests | No | Number of guests, e.g. 4. Rooms that cannot take that many are left out. | |
| filters | No | Amenity, rule, region and feature codes from ot_search_filters, exactly as returned, e.g. ['attributeValues=130202|130201|130101|130102|130103|AGG1'] (pool) or ['ruleValues=10101|10103|10102'] (pets). All must match. | |
| instant | No | Only instant booking (no host approval). | |
| bedrooms | No | Minimum bedrooms, e.g. 2. | |
| check_in | No | Arrival day, Gregorian YYYY-MM-DD, e.g. '2026-10-20'. Not in the past; calendars open only to the end of next Jalali month. | |
| city_tag | No | City theme page slug with `city`, e.g. 'beach' or 'cottage' (from ot_travel_guide related pages). | |
| province | No | Province slug, e.g. 'mazandaran'. | |
| check_out | No | Departure day, Gregorian YYYY-MM-DD, e.g. '2026-10-23' (3 nights). At most 20 nights after check_in. | |
| max_price | No | Highest nightly price in Toman (after discount), e.g. 8000000. | |
| min_price | No | Lowest nightly price in Toman (after discount), e.g. 3000000. | |
| collection | No | Collection (landing) code from ot_destinations, e.g. 'beach', 'jungle', 'villapool', 'discounted', 'lastsecond'. | |
| min_rating | No | Minimum rating: 3, 4 or 5. | |
| rent_types | No | Rent type: whole_place (دربست), semi_private, shared. | |
| room_types | No | Room type ids from ot_search_filters, e.g. [138] villa, [154] cottage, [137] apartment. | |
| district_id | No | District id (near a landmark) from ot_search_filters, used with `city`, e.g. 230. | |
| include_nearby | No | Also include rooms around the city. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||