Search hotels
search_hotelsUse when the traveler wants a place to stay for known dates. Returns hotels cheapest first with star class, guest rating, per-night and whole-stay price, hotel_ids and a search_key for track_hotel and hotel_price_calendar, and a search_url. Filters match the site: price, stars, guest rating, property kinds, amenities, free cancellation, hotels or vacation rentals, sort. Not for flexible months (add_hotel_bucket_list).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Cheapest first, or best rated first. | price |
| adults | No | Adults. A hotel room prices up to 6 guests in all; vacation rentals up to 16. | |
| check_in | Yes | YYYY-MM-DD. | |
| location | Yes | A city, neighbourhood, landmark or hotel name. | |
| amenities | No | Hotels: free parking, pool, gym, spa, free breakfast, beach access, pet-friendly, child-friendly, free wi-fi, air conditioning, all-inclusive, wheelchair accessible, ev charger, bar, restaurant, room service. Vacation rentals: kitchen, hot tub, fireplace, patio, grill, crib, beach access, pet-friendly, gym, air conditioning. | |
| check_out | Yes | YYYY-MM-DD. | |
| min_stars | No | Lowest star class to show, 1-5. | |
| max_results | No | How many results to return, 1-50. | |
| user_request | No | Optional. The traveler's current travel request, briefly, in their own words. Used to interpret this search, suggest a corrected search if it fails, and improve SlickTrip's search. Include only this request; not earlier conversation, names, contact details, or payment or ID information. | |
| children_ages | No | One age per child, 1-17. | |
| property_type | No | Hotels, or vacation rentals. | hotel |
| property_kinds | No | Hotels: resort, boutique hotel, hostel, inn, motel, spa hotel, bed and breakfast, apartment hotel, beach hotel, ryokan. Vacation rentals: apartment, house, villa, cabin, cottage, chalet, bungalow, houseboat. | |
| min_guest_rating | No | Lowest guest rating out of 5; 3.5, 4 or 4.5 work best. | |
| free_cancellation | No | Only stays with free cancellation. | |
| max_price_per_night | No | Highest price per night to show, USD. | |
| min_price_per_night | No | Lowest price per night to show, USD. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | On an error: a machine-readable kind, e.g. unknown_place | |
| note | No | Prices are whole-stay; how to track | |
| field | No | On unknown_place: which argument (origin, destination, ...) | |
| hotels | No | Items: hotel_id, name, image, type, stars, guest_rating, reviews, per_night_usd, total_usd, amenities, description, hotel_url | |
| search | No | location, check_in, check_out, adults, children_ages, nights, search_key | |
| status | No | ok | no_data | error | sign_in_required | |
| filters | No | Applied filters: property_type, min_stars, free_cancellation, advanced, sort | |
| message | No | Error or sign-in message from the server wrapper | |
| highlights | No | The spread over every priced stay: cheapest, best_rated, cheapest_4_star_plus, most_reviewed; each with hotel_id, name, per_night_usd, total_usd, stars, guest_rating, reviews | |
| search_url | No | slicktrip.com hotels search link | |
| searched_as | No | What the search assumed: guests, hotels or vacation rentals | |
| suggestions | No | On unknown_place: places to offer the traveler, each with code, name, kind (airport, all airports in the city, nearby airport), city, country | |
| total_found | No | Total hotels found before max_results cut | |
| places_assumed | No | Place names this call resolved on its own, e.g. 'Portland = Portland, OR (PDX)'; tell the traveler |