How to Browse Activity Tags and Categories
Each destination has a set of available tags that describe the types of activities offered there. Use the tags endpoint to retrieve these categories, then pass selected tag IDs into the search endpoint to filter results.
Endpoint
GET {{api_host}}/api/ext/activity/tags?destinationId={destinationId}
Headers
| Header | Required | Description |
|---|---|---|
x-api-key | Yes | Your Xeni API key |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
destinationId | string | Yes | The destination ID obtained from the autocomplete endpoint. |
Example Request
GET {{api_host}}/api/ext/activity/tags?destinationId=737
Response
| Field | Type | Description |
|---|---|---|
status | boolean | Whether the request was successful. |
message | string | Status message (e.g., "Success"). |
data | array | List of available tags for the destination. |
data[].tagId | integer | Unique tag identifier. Use this in search filter queries. |
data[].tagName | string | Human-readable tag name. |
Example Response
JSON
{
"status": true,
"message": "Success",
"data": [
{
"tagId": 12026,
"tagName": "Helicopter Tours"
},
{
"tagId": 12031,
"tagName": "Day Cruises"
},
{
"tagId": 12045,
"tagName": "Walking Tours"
}
]
}Common Tag Examples
Destinations typically return 80 or more tags. Some commonly available tags include:
- Helicopter Tours
- Art Classes
- Day Cruises
- Dinner Cruises
- Cultural Tours
- Historical Tours
- Day Trips
- Beer & Brewery Tours
- Cooking Classes
- Dining Experiences
- Wine Tastings
- Private and Luxury
- Hiking
- Nature and Wildlife
- Museum Tickets & Passes
- Theme Parks
- Bus Tours
- Hop on Hop Off
- Skip-the-Line Tours
- Walking Tours
The exact tags available vary by destination.
Using Tags in Search
Once you have retrieved the tags, you can pass one or more tagId values into the filterItem.tagIds array when calling the search endpoint. This narrows results to only activities matching the selected categories.
JSON
{
"filterItem": {
"tagIds": [
12026,
12031
]
}
}Next Steps
With destination tags in hand, you are ready to search for activities. See How to Search for Activities with Filters.