POSTHotel
Get Hotel
/hotel
Retrieve hotel summaries for an area or keyword, including location, rating, images, and facilities.
Source: API Documentation.pdf, pages 4-7Authorization required
Call the authentication endpoint first, then include the returned access token in the Authorization header together with Content-Type: application/json.
Source notes
Display normalizationCurly quotation marks from the PDF were normalized to straight quotes for copyable code display; fields and values were otherwise retained.
Parameters
| Name | Type | Example | Description |
|---|---|---|---|
areaRequired | String | Bali | Area or region name to search hotels. |
countRequired | Integer | 1 | Number of results per request. |
keyRequired | String | Umalas | Keyword to filter hotel name or location. |
pageRequired | Integer | 0 | Page number for pagination. |
starsRequired | Boolean Array | [true,true,true,true,tr ue] | Filter by star rating (index 1-5 star). |
success | Boolean | true | Indicates whether the request was successful. |
data | Array (Object) | - | List of hotel properties matching the search criteria. |
totalData | Integer | 57 | Total number of hotels found. |
totalPages | Integer | 57 | Total number of pages available. |
id | String | 9685533 | Unique property identifier. |
status | String | available | Hotel availability status. |
name | String | Umalas Suite | Hotel name. |
latitude | Decimal | -8.65137 | Hotel latitude coordinate. |
longitude | Decimal | 115.161 | Hotel longitude coordinate. |
lineData | Array | - | Address line information. |
city | String | Kerobokan | City name. |
province | String | Bali | Province name. |
postalCode | String | 8036 | Postal code. |
country | String | ID | Country code. |
star | Integer | 3 | Star rating of the hotel. |
accommodationType | String | HOTEL | Type of accommodation. |
propertyImageData | Array | - | List of hotel images. |
facilityData | Array | - | List of facilities available. |
rank | Integer | 181621 | Internal ranking score. |
checkInInfo | Object | - | Check-in information. |
checkOutInfo | Object | - | Check-out information. |
feesInfo | Object / Null | null | Additional fees information. |
policiesInfo | Object | - | Hotel policy information. |