Browse activities
The activities catalogue holds tours, attractions, and experiences. Browse it to find a product, then open the product to see its bookable product-types and prices.
List products
Requires the activities:read scope.
Query parameters
| Name | Type | Description |
|---|---|---|
query | string | Free-text search over titles. |
city | string | Filter by city. |
country | string | Filter by country. |
category | string | Filter by category. |
language | string | Content language code, e.g. KO or RU. Titles come back in this language when a translation exists, otherwise in English. |
min_price, max_price | number | Price range in USD. |
sort | string | Sort order, e.g. bestselling or price. |
page, per_page | integer | Paging (per_page default 50). |
curl "https://api.hermeseus.com/v3/HAPI/activities/products?city=Tbilisi&sort=bestselling" \ -H "Authorization: Bearer $ACCESS_TOKEN"
Response
{
"object": "activity_product_list",
"data": [
{
"object": "activity_product",
"id": "act_4410",
"title": "Old Town Walking Tour",
"type": "Walking tour",
"city": "Tbilisi",
"city_translated": "Tbilisi",
"from": { "amount": "29.00", "currency": "USD" },
"image_url": "https://…",
"images": [ "https://…" ],
"translation_source": null
}
],
"page": 1,
"per_page": 50,
"total": 128,
"has_more": true
}Get a product
Returns the full product, including its bookable product-types (ticket tiers, packages). You book a product-type, not the product itself.
Query parameters
| Name | Type | Description |
|---|---|---|
language | string | Content language code, e.g. KO or RU. title_translated and description, and each product type's title_translated, come back in this language when a translation exists, otherwise in English. |
curl "https://api.hermeseus.com/v3/HAPI/activities/products/act_4410?language=RU" \ -H "Authorization: Bearer $ACCESS_TOKEN"
{
"object": "activity_product",
"id": "act_4410",
"title": "Old Town Walking Tour",
"title_translated": "Пешеходная экскурсия по Старому городу",
"description": "…",
"city": "Tbilisi",
"city_translated": "Тбилиси",
"country": "Georgia",
"country_translated": "Грузия",
"categories": [ "Walking Tour", "Food & Drink" ],
"categories_translated": [ "Пешие экскурсии", "Еда и напитки" ],
"images": [ "https://…" ],
"product_types": [
{
"object": "activity_product_type",
"id": "apt_88213",
"title": "Adult ticket",
"title_translated": "Билет для взрослых",
"translation_source": "machine"
}
],
"translation_source": "machine"
}Content languages
Pass language to get product content in that language. Text comes from the supplier's own translation when it has one; otherwise it may be machine translated. translation_source tells you which:
| Value | Meaning |
|---|---|
provider | The supplier's own translation. |
machine | Machine translated. You may want to label it for your customers. |
mixed | Some fields are the supplier's, some machine translated. |
null | Nothing was translated; the content is in English. |
A field with no translation yet comes back in English, so a product can be partly translated while its translation is being prepared.
Product types carry their own product_types[].translation_source, with the same values, since a product type is translated on its own. The first time a product type is requested in a language it may still be English; its translation follows shortly after.
The languages list in the activity config (legacy GET /api/Activity/v2/config) includes every language you can pass here, the machine translated ones (such as RU) as well as the supplier's own.
Category, city and country names
city, country and categories always stay in English, the form the city, country and category filters and search match. Their names in the requested language come in siblings: city_translated (on list items too), country_translated and categories_translated (same length and order as categories). A name with no translation, or a request without language, gives the English value, so the shape never changes. Country names are the standard ones browsers and phones use; category and city names may be machine translated and reviewed. They do not change translation_source.
On the legacy API: product details and products/all?full=1 add categories[].nameTranslated, locations[].cityTranslated and locations[].countryTranslated; the product list adds cityNameTranslated next to cityName; products/by-location?language=RU adds countryTranslated and cityTranslated; all of these only when you send language. The activity config adds nameTranslations to every category, country and city, an object keyed by language code (for example {"RU": "Марокко", "KO": "모로코"}) holding every machine translated language that has a name for it, whatever language you send.