TouricalDevelopers
Endpoints

Libraries

Read the hotels, activities, vehicles, and guides catalogs in your tenant.

Libraries are the reusable building blocks operators stitch into trips. Four catalogs share the single libraries:read scope.

MethodPathScope
GET/api/v1/libraries/hotelslibraries:read
GET/api/v1/libraries/activitieslibraries:read
GET/api/v1/libraries/vehicleslibraries:read
GET/api/v1/libraries/guideslibraries:read

Libraries are read-only via the public API. Adds and edits go through the operator dashboard. Tenant isolation is enforced at the database level via Row-Level Security — you can only ever see your own libraries.


GET /api/v1/libraries/hotels

The Hotel object:

FieldTypeNotes
idstringOpaque hotel id.
namestring
cityIdstringLibrary city id.
starRatinginteger | null1–5.
addressstring | null
latitudenumber | nullDecimal degrees.
longitudenumber | nullDecimal degrees.
activebooleanFalse means archived; usually filtered out.
createdAtISO 8601
updatedAtISO 8601

Query parameters

NameTypeDefaultNotes
limitinteger50Max 100.
cursorstring—From a previous response.
cityIdstring—Filter to one city.
activeenum—true or false. Omitted returns both.

Response 200

{
  "data": [ /* Hotel[] */ ],
  "meta": { "cursor": "htl_…" | null, "hasMore": true | false }
}
GET/api/v1/libraries/hotelsTry it

Requests are proxied through this docs site so CORS doesn't block the call. Use a sandbox token if you don't want test calls hitting live data.

Query parameters

limit
cursor
cityId
active
GET /api/v1/libraries/hotels

GET /api/v1/libraries/activities

The Activity object:

FieldTypeNotes
idstringOpaque activity id.
namestring
cityIdstringLibrary city id.
categorystring | nullFree-form category.
durationMinutesinteger | null
minParticipantsinteger | null
maxParticipantsinteger | null
standardFeeCentsintegerStandard per-booking fee in minor units. 0 when unset.
currencystringISO 4217, defaults to EUR.
activeboolean

Query parameters

NameTypeDefaultNotes
limitinteger50Max 100.
cursorstring—From a previous response.
cityIdstring—Filter to one city.

Response 200

{
  "data": [ /* Activity[] */ ],
  "meta": { "cursor": "act_…" | null, "hasMore": true | false }
}
GET/api/v1/libraries/activitiesTry it

Requests are proxied through this docs site so CORS doesn't block the call. Use a sandbox token if you don't want test calls hitting live data.

Query parameters

limit
cursor
cityId
GET /api/v1/libraries/activities

GET /api/v1/libraries/vehicles

The Vehicle object:

FieldTypeNotes
idstringOpaque vehicle id.
namestring
vehicleTypestringE.g. coach, minibus, sedan.
seatCapacityinteger
fuelTypestringE.g. diesel, petrol, electric.
ownershipstringowned, leased, chartered.
dailyInternalCostCentsintegerDaily internal cost (operator-facing). 0 when unset.
currencystringISO 4217.
activeboolean

Query parameters

NameTypeDefaultNotes
limitinteger50Max 100.
cursorstring—From a previous response.

Response 200

{
  "data": [ /* Vehicle[] */ ],
  "meta": { "cursor": "veh_…" | null, "hasMore": true | false }
}
GET/api/v1/libraries/vehiclesTry it

Requests are proxied through this docs site so CORS doesn't block the call. Use a sandbox token if you don't want test calls hitting live data.

Query parameters

limit
cursor
GET /api/v1/libraries/vehicles

GET /api/v1/libraries/guides

The Guide object:

FieldTypeNotes
idstringOpaque guide id.
namestringDisplay name.
languagesstring[]BCP 47 codes.
cityIdstringLibrary city id.
halfDayRateCentsintegerRate for a half-day booking. 0 when unset.
fullDayRateCentsintegerRate for a full-day booking. 0 when unset.
currencystringISO 4217.
activeboolean

Query parameters

NameTypeDefaultNotes
limitinteger50Max 100.
cursorstring—From a previous response.
cityIdstring—Filter to one city.

Response 200

{
  "data": [ /* Guide[] */ ],
  "meta": { "cursor": "gid_…" | null, "hasMore": true | false }
}
GET/api/v1/libraries/guidesTry it

Requests are proxied through this docs site so CORS doesn't block the call. Use a sandbox token if you don't want test calls hitting live data.

Query parameters

limit
cursor
cityId
GET /api/v1/libraries/guides

On this page