Popular Hotel Destinations Endpoint
Fetches popular hotel destinations for discovery and search entry points.
- Endpoint:
/api/v1/tourmind/hotels/popular-destinations - Method:
GET
Headers
| Header | Value | Required | Description |
|---|---|---|---|
Partner-Access-Token | Base64 String | Yes | Your encrypted AES-256 time-sensitive token. |
Accept | application/json | Yes |
Sample Response
{
"result": 1,
"message": "success",
"data": {
"thailand": [
{
"city": "Phuket",
"country": "Thailand",
"country_code": "TH",
"image_url": null
}
],
"international": [
{
"city": "Singapore",
"country": "Singapore",
"country_code": "SG",
"image_url": "https://onlynx-asset.s3.ap-southeast-1.amazonaws.com/tourmind/popular-destinations/example.jpg"
}
]
}
}
Response Fields
| Field | Type | Description |
|---|---|---|
data.thailand | Array | Popular destinations in Thailand. |
data.international | Array | Popular international destinations. |
city | String | Destination city name. |
country_code | String | ISO 3166-1 alpha-2 country code. |
image_url | String or null | Destination image URL. |