Skip to main content

Top Attraction Destinations Endpoint

Fetches the top attraction destinations for search entry points and discovery sections. Each destination carries its gallery images and the category groups you can pass on to an attraction search.

  • Endpoint: /api/v1/discover/attractions/top-destinations
  • Method: GET or POST

Headers​

HeaderValueRequiredDescription
Partner-Access-TokenBase64 StringYesYour encrypted AES-256 time-sensitive token.
X-CurrencyCurrency CodeOptionalRequested currency code, e.g. THB or MMK. Defaults to your partner currency.
Accept-LanguageLanguage CodeOptionalOne of en, th, zh-cn, zh-tw, zh-hk, ja, vi, ko, mm. Defaults to en.
Acceptapplication/jsonYes

Query Parameters​

ParameterTypeRequiredDescription
limitIntegerOptionalNumber of destinations, between 1 and 50. Defaults to 6.

Sample Response​

{
"result": 1,
"message": "success",
"data": [
{
"city_name": "Tokyo",
"city_code": "D-JP-3261",
"slug": "japan-tokyo",
"galleries": [
{
"url": "https://onlynx-asset.s3.ap-southeast-1.amazonaws.com/UAT/kkday_city_gallery/L1BGe5QBh5q5xT65sOJa98nhflH55yaLnKQLyl6J.jpg"
}
],
"categories": [
{
"label": "Transport & Essentials",
"value": "CATEGORY_055,CATEGORY_066,CATEGORY_056,CATEGORY_059,CATEGORY_063,CATEGORY_067,CATEGORY_068,CATEGORY_072,CATEGORY_073,CATEGORY_095"
},
{
"label": "Attractions & Tickets",
"value": "CATEGORY_001,CATEGORY_002,CATEGORY_003,CATEGORY_004,CATEGORY_005,CATEGORY_006,CATEGORY_007,CATEGORY_008,CATEGORY_009,CATEGORY_010,CATEGORY_011,CATEGORY_012"
}
]
}
]
}