Recommended Flights Endpoint
Fetches the curated airline routes for your partner account, grouped by country and sorted by country name. Falls back to the platform list when your account has no curated routes of its own.
- Endpoint:
/api/v1/discover/flights/recommended - Method:
GETorPOST
Headers
| Header | Value | Required | Description |
|---|---|---|---|
Partner-Access-Token | Base64 String | Yes | Your encrypted AES-256 time-sensitive token. |
X-Currency | Currency Code | Optional | Requested currency code, e.g. THB or MMK. Defaults to your partner currency. |
Accept-Language | Language Code | Optional | One of en, th, zh-cn, zh-tw, zh-hk, ja, vi, ko, mm. Defaults to en. |
Accept | application/json | Yes |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | Integer | Optional | Maximum records to return. Defaults to 10. |
Sample Response
{
"result": 1,
"message": "success",
"data": [
{
"country": "Singapore",
"airlines": [
{
"from_airport_code": "SIN",
"from_airport_name": "Singapore Changi International Airport",
"to_airport_code": "BKK",
"to_airport_name": "Suvarnabhumi Airport",
"from_city_name": "Singapore",
"to_city_name": "Bangkok",
"departure_date": "2026-08-05",
"return_date": null,
"airline_id": 167,
"airline_name": "Atlantic Airways",
"airline_code": "RC",
"airline_logo": "https://pics.avs.io/200/200/RC@2x.png",
"cabin": "Economy",
"trip_type": "one_way",
"price": 1000,
"currency": "THB",
"background_image": "https://api.dev.onlynx.co.th/placeholder1.jpg"
}
]
}
]
}
trip_type is either one_way or round_trip. return_date is null on a one-way route.