Search listings
search_listingsFind homes, rooms and hotels to rent (long-term or by the night) or homes to buy. Give "query" in the person's own words, any language and slang («трешка на Бали с бассейном», «2br condo in Da Nang under $800», «villa or bungalow in Canggu for a week in March»), and/or exact filters. Exact filters win over what the words say. With stay "daily" and dates, hotels are checked live and priced for those dates. Results are pages of up to 24; each has its address on rentoplan.com.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_listings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deal | No | rent = to rent; buy = to buy. Leave out to get both. | |
| lang | No | Language of the pages we link to (and of names where we have them). Default en. | |
| name | No | Name of a hotel, resort or residential complex. | |
| near | No | Around a point instead of a place. | |
| page | No | Page of results, from 1. | |
| sort | No | Order of results: price_asc = cheapest first; price_desc = most expensive first; new = newest first; size = largest first; rated = best rated first; liked = most liked first; reviews = most reviewed first; sea = closest to the sea first. | |
| stay | No | daily = by the night (holiday, trip); long_term = monthly rent. | |
| place | No | City, island, province or district in English, e.g. "Bali", "Canggu". | |
| query | No | What the person asked for, as they said it. | |
| guests | No | How many people will stay; only places that sleep them are returned. | |
| country | No | Country in English, e.g. "Indonesia". | |
| lodging | No | Kind of place priced by the night (with stay daily). | |
| category | No | apartment (flat, condo); house (villa, cottage, bungalow, townhouse); room (studio); hotel (any place priced by the night). | |
| check_in | No | With stay daily. | |
| currency | No | ISO 4217 of the budget; default USD. | |
| new_only | No | Only listings added in the last days. | |
| per_page | No | Results per page. Default 10. | |
| size_max | No | Square metres, at most. | |
| size_min | No | Square metres, at least. | |
| amenities | No | All of them must be there: furnished = furnished; pets = pets allowed; parking = parking; pool = swimming pool; gym = gym; balcony = balcony; ac = air conditioning; washer = washing machine; wifi = Wi-Fi or internet; dishwasher = dishwasher; sea = up to 1 km from the sea, the beach or the ocean. | |
| breakfast | No | Hotels on dates only. | |
| check_out | No | With stay daily. | |
| budget_max | No | Highest price, in currency, for budget_period. | |
| budget_min | No | Lowest price, in currency, for budget_period. | |
| price_drop | No | Only listings whose price was cut. | |
| rating_min | No | Guest rating out of 5, at least. | |
| video_tour | No | Only listings with a video or 3D tour. | |
| reviews_min | No | Guest reviews, at least. | |
| bedrooms_max | No | At most this many bedrooms. | |
| bedrooms_min | No | At least this many bedrooms; 0 = a studio counts. | |
| bathrooms_min | No | At least this many bathrooms. | |
| budget_period | No | What the budget pays for: a night, a month, or the whole price of a purchase. Default: a night by the night, a month for rent, the whole price to buy. | |
| free_cancellation | No | Hotels on dates only. |