APIs / Agoda / Suggest

Agoda: Suggest

Suggest from Agoda as JSON. 1 credit per successful call.

GET /v1/agoda/suggest

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
querystringRequiredUp to 100 characters

Example request

Agoda
GET/v1/agoda/suggest?query=bangkok
{
  "success": true,
  "data": {
    "query": "bangkok",
    "results": [
      {
        "id": 9395,
        "name": "Bangkok",
        "type": "city",
        "city_id": 9395,
        "city_name": "Bangkok",
        "country_id": 106,
        "country_code": "TH",
        "hotel_count": 12048
      },
      {
        "id": 1,
        "name": "Stay in the heart of Bangkok, Thailand",
        "type": "area",
        "city_id": 9395,
        "city_name": "Bangkok",
        "country_id": 106,
        "country_code": "TH",
        "hotel_count": 1547
      },
      {
        "id": 3369,
        "name": "Central business District, Bangkok",
        "type": "region",
        "country_id": 106,
        "country_code": "TH",
        "hotel_count": 12048
      }
    ]
  },
  "meta": {
    "endpoint_family": "destination_suggest"
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

Each item in data.results has these 8 fields, read from a recorded call that returned 6 items. The recording leaves out fields that were empty, so a live call can return more.

FieldType
idinteger
namestring
typestring
city_idnumber
city_namestring
country_idinteger
country_codestring
hotel_countinteger