Search Hotels
hotel_searchStarts an asynchronous hotel-availability search and returns a searchKey (plus sessionId, status, totalHotels). Required: startDate and endDate (both YYYY-MM-DD), rooms[] (each {adults, childrenAges?[]}, 1-4 adults per room), nationality (2-letter ISO country code), and EITHER regionId (from search_location) OR latitude+longitude; currency (3-letter) is strongly recommended. Before calling, collect the missing trip details from the user (exact check-in date, number of nights to derive endDate, number of rooms/adults, and nationality) instead of guessing. No authentication required. Pass the returned searchKey to get_search_results (poll it), and reuse the SAME searchKey for get_hotel_rooms and prepare_booking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rooms | Yes | Room configurations | |
| endDate | Yes | Check-out date (YYYY-MM-DD) | |
| currency | No | Currency code (USD, EUR, etc.) | |
| latitude | No | Latitude for coordinate-based search (-90 to 90). Use with longitude instead of regionId. | |
| regionId | No | Location ID from search_location. Required unless latitude/longitude are provided. | |
| longitude | No | Longitude for coordinate-based search (-180 to 180). Use with latitude instead of regionId. | |
| startDate | Yes | Check-in date (YYYY-MM-DD) | |
| nationality | Yes | 2-letter country code for guest nationality | |
| radiusInMeters | No | Search radius in meters (default: 30000, min: 1000, max: 100000). Only with lat/lng. |