Skip to main content

Recommended Hotels Endpoint

Fetches recommended hotels for discovery sections.

  • Endpoint: /api/v1/tourmind/recommended-hotels
  • Method: GET

Headers

HeaderValueRequiredDescription
Partner-Access-TokenBase64 StringYesYour encrypted AES-256 time-sensitive token.
X-CurrencyCurrency CodeYesRequested currency code, e.g. THB or MMK.
Acceptapplication/jsonYes

Sample Response

{
"result": 1,
"message": "success",
"data": [
{
"hotel_code": "757293",
"hotel_name": "Best Western Sukhumvit 20",
"slug": "best-western-sukhumvit-20-757293",
"country_code": "TH",
"country_name": "Thailand",
"city": "Bangkok",
"star_rating": 4,
"address": "17 Sukhumvit Soi 20 Klong Toey, 10110",
"latitude": 13.73275,
"longitude": 100.56394,
"main_image": "https://onlynx-asset.s3.ap-southeast-1.amazonaws.com/UAT/admins/tourmind/example.jpg",
"background_image": "https://onlynx-asset.s3.ap-southeast-1.amazonaws.com/UAT/admins/tourmind/example.jpg",
"price": 100,
"currency": "THB",
"original_price": 100,
"original_currency": "THB"
}
]
}

Response Fields

FieldTypeDescription
dataArrayRecommended hotel list.
hotel_codeStringProvider hotel code.
slugStringHotel slug.
main_imageString or nullHotel image URL.
background_imageString or nullMarketing background image URL.
priceNumberDisplay price.