API · Tripadvisor
GET /tripadvisor/experience-types
The kinds of tours and experiences on offer in a destination, with counts and prices.
| Request | GET /v1/tripadvisor/experience-types |
| Operation id | tripadvisor.experience_types.get |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
The kinds of tours and experiences on offer in a destination, with counts and prices.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | The destination: a city or region name (the first match is used), a geo id (60763 or g60763), or a Tripadvisor link to it. Example: New York City. |
currency | string | no | Currency for prices (default USD). |
language | string | no | Language for names and reviews: en, fr, de-DE, … (default en-US). |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The destination’s experience categories. | TripadvisorExperienceTypesResponse |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | No Tripadvisor place or destination like that. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Tripadvisor is temporarily unavailable. Retryable; nothing was charged. | Error |
TripadvisorExperienceTypesResponse fields
| Field | Type | Description |
|---|---|---|
geo | object | |
types | TripadvisorExperienceType[] | |
total | number | null | |
sampled | number |
Errors use one shape everywhere; see Errors for every code and what to do.