How to Get Activity Details
After finding an activity through search, use the details endpoint to retrieve comprehensive information about it. You can request all available data or limit the response to specific sections.
Endpoint
GET {{api_host}}/api/ext/activity/details/{productCode}?include=all¤cy=USD
Headers
| Header | Required | Description |
|---|
x-api-key | Yes | Your Xeni API key |
Accept-Language | No | Language for the response content (e.g., en). Defaults to English. |
Path Parameters
| Parameter | Type | Required | Description |
|---|
productCode | string | Yes | The unique product code for the activity, obtained from search results. |
Query Parameters
| Parameter | Type | Required | Description |
|---|
include | string | No | Specifies which sections to include in the response. Defaults to all. |
currency | string | No | Currency code for pricing (e.g., "USD"). |
Include Options
| Value | Description |
|---|
all | Returns all available information (details, locations, dates). |
details | Returns only the activity description, highlights, and general information. |
locations | Returns only the activity locations, meeting points, and pickup information. |
dates | Returns only the available dates and scheduling information. |
Example Request
GET {{api_host}}/api/ext/activity/details/12345ABC?include=all¤cy=USD
With the Accept-Language header:
Usage Notes
- Use
include=all when displaying a full activity detail page to the user. This returns the most comprehensive data in a single request. - Use specific
include values (e.g., details or dates) when you only need a subset of the data, which can reduce response size and improve performance. - The
Accept-Language header controls the language of descriptive text in the response. If not provided, the response defaults to English. - The
currency parameter ensures that all pricing data is returned in the specified currency. - Store the
productCode from this response — you will need it when checking availability and creating bookings.
Next Steps
Once you have the activity details, check real-time availability for specific dates. See How to Check Activity Availability.