Agoda

Search Agoda activities

Returns Agoda activities (tours, attractions, experiences) matching a free-text keyword and/or a city. When keyword is omitted, the resolved city's name is used instead to return a general listing of activities in that city. Callers may supply a known Agoda city id or a free-text city name for the city filter; when both are supplied city_id takes precedence.

get/agoda/activities/search

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/agoda/activities/search
  • Auth: API key in header x-api-key

Query parameters

keywordstring

Free-text activity search keyword. When omitted, the resolved city's name is used instead.

city_idinteger

Numeric Agoda city id to filter results to. Optional if keyword is supplied; city_id takes precedence over city when both are supplied.

citystring

Free-text city name, used directly as the search text when keyword is omitted, and to resolve a city id filter.

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "activities": [
      {
        "activity_id": 1633875,
        "categories": [
          {
            "code": "FOOD_AND_DRINKS",
            "id": 2
          }
        ],
        "city_id": 9395,
        "city_name": "Bangkok",
        "name": "Bangkok Chim Chum  | Bangkok",
        "source_url": "https://www.agoda.com/search?cityId=9395&selectedActivity=1633875"
      }
    ],
    "city_id": 9395,
    "count": 1,
    "keyword": "cooking class"
  },
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.