Search Hotels Live
search_hotels_liveStarts a live hotel search for a city and date range. Prices come from Agoda, Booking.com and Traveloka, plus direct rates from OpenTravel partner hotels. Returns a session ID; poll_search_results returns the results as they arrive. Optional filters narrow the results by hotel name, area or total price for the stay. Prices depend on the party: it defaults to 2 adults in 1 room, and the result states the party searched and flags when it was defaulted. When the city or dates are missing, the result is a question for the user instead of a search; the stay dates searched are echoed back for confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | No | Optional district, ward, or neighborhood filter within the city | |
| city | No | City or broad destination, e.g. 'Da Nang'. When omitted, the result asks the user for it. | |
| rooms | No | Number of rooms (default 1). | |
| adults | No | Number of adults (default 2). Prices depend on it. | |
| checkIn | No | Check-in date (YYYY-MM-DD), today or later. When omitted, the result asks the user for it. | |
| checkOut | No | Check-out date (YYYY-MM-DD), after checkIn. When omitted, the result asks the user for it. | |
| children | No | Number of children sharing the room (default 0). OTA prices cannot include children; the result says so when children are given. | |
| language | No | Preferred UI language (en/vi/de/ja/ko/zh/fr/es/ru/th/id). | |
| priceMax | No | Maximum total price for the whole stay (not per night), in priceCurrency. | |
| priceMin | No | Minimum total price for the whole stay (not per night), in priceCurrency. | |
| hotelName | No | Optional hotel-name filter when the user names a specific property | |
| queryText | No | Optional short excerpt of the current request, used only to detect the UI language; it is not stored or forwarded. | |
| priceCurrency | No | ISO 4217 code of priceMin/priceMax (USD, EUR, VND, …); defaults to the currency of the UI language. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | ||
| tier | Yes | ||
| limit | Yes | ||
| cached | No | ||
| hotels | Yes | ||
| nights | Yes | ||
| offset | Yes | ||
| status | Yes | ||
| checkIn | Yes | ||
| fxRates | Yes | ||
| hasMore | Yes | ||
| checkOut | Yes | ||
| language | No | ||
| progress | Yes | ||
| sessionId | No | ||
| agodaStatus | Yes | ||
| totalHotels | Yes | ||
| bookingStatus | Yes | ||
| longStayNotice | No | ||
| travelokaStatus | Yes | ||
| opentravelStatus | Yes | ||
| tier2AgodaStatus | Yes | ||
| opentravelResults | Yes | ||
| tier2BookingStatus | Yes | ||
| tier2TravelokaStatus | Yes | ||
| opentravelIndicativeResults | Yes |