API Reference
POSTHotel

Get Hotel

/hotel

Retrieve hotel summaries for an area or keyword, including location, rating, images, and facilities.

Source: API Documentation-1.5.1.pdf, pages 4-7

Authorization required

Call the authentication endpoint first, then include the returned access token in the Authorization header together with Content-Type: application/json.

Parameters

NameTypeExampleDescription
areaRequiredStringBaliArea or region name to search hotels.
countRequiredInteger1Number of results per request.
keyRequiredStringUmalasKeyword to filter hotel name or location.
pageRequiredInteger0Page number for pagination.
starsRequiredBoolean Array[true,true,true,true,tr ue]Filter by star rating (index 1-5 star).
successBooleantrueIndicates whether the request was successful.
dataArray (Object)-List of hotel properties matching the search criteria.
totalDataInteger57Total number of hotels found.
totalPagesInteger57Total number of pages available.
idString9685533Unique property identifier.
statusStringavailableHotel availability status.
nameStringUmalas SuiteHotel name.
latitudeDecimal-8.65137Hotel latitude coordinate.
longitudeDecimal115.161Hotel longitude coordinate.
lineDataArray-Address line information.
cityStringKerobokanCity name.
provinceStringBaliProvince name.
postalCodeString8036Postal code.
countryStringIDCountry code.
starInteger3Star rating of the hotel.
accommodationTypeStringHOTELType of accommodation.
propertyImageDataArray-List of hotel images.
facilityDataArray-List of facilities available.
rankInteger181621Internal ranking score.
checkInInfoObject-Check-in information.
checkOutInfoObject-Check-out information.
feesInfoObject / NullnullAdditional fees information.
policiesInfoObject-Hotel policy information.