Skip to main content

Hotel Detail Endpoint

Fetches static detail for a single hotel.

  • Endpoint: /api/v1/tourmind/hotels/{slug}
  • Method: GET

Headers

HeaderValueRequiredDescription
Partner-Access-TokenBase64 StringYesYour encrypted AES-256 time-sensitive token.
Acceptapplication/jsonYes

Path Parameters

ParameterTypeRequiredDescription
slugStringYesHotel slug from the hotel static data or suggestion endpoint.

Sample Response

{
"result": 1,
"message": "success",
"data": {
"hotel": {
"id": 86352,
"hotel_code": 8317663,
"slug": "100-islands-resort-spa-8317663",
"name": "100 Islands Resort & Spa",
"star_rating": 3,
"city": "Koh Samui Islands",
"country_code": "TH",
"address": "19/6 Moo 3 By Pass Road Makhamtia, Muang",
"latitude": 9.10275,
"longitude": 99.30452,
"images": [
"http://tm-lodging-content.tourmind.cn/lodging/img/8317663/c4472bf1_b.jpg"
],
"amenities_hotel": [
{
"name": "Free WiFi"
}
],
"amenities_room": [
{
"name": "Air conditioning"
}
],
"description": {
"headline": "In Surat Thani (Makham Tia)",
"location": "In the heart of Surat Thani..."
},
"location": "In the heart of Surat Thani...",
"headline": "In Surat Thani (Makham Tia)",
"is_active": true,
"room_types": [
{
"id": 994654,
"room_type_id": "5587675",
"room_type_code": null,
"name": "Pool View",
"bed_type": "1 king bed",
"max_occupancy": 2
}
]
}
}
}

Response Fields

FieldTypeDescription
data.hotelObjectHotel information.
hotel_codeIntegerProvider hotel code.
imagesArrayHotel image URLs.
amenities_hotelArrayHotel-level amenities.
amenities_roomArrayRoom-level amenities.
descriptionObjectHotel description sections.
room_typesArrayStatic room type information.