100 free credits. No credit card required. Get a key

Kinds of experiences in a destination API

The kinds of tours and experiences on offer in a destination, with counts and prices.

GET /v1/tripadvisor/experience-typesBeta1 credit per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/tripadvisor/experience-types?query=New%20York%20City",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"geo": {
"geoId": 60763,
"name": "New York City"
},
"types": [
{
"tagId": 11938,
"name": "Private and Luxury",
"count": 59,
"fromPrice": 9.99,
"currency": "USD"
},
{
"tagId": 21729,
"name": "Sightseeing Cruises",
"count": 11,
"fromPrice": 27,
"currency": "USD"
},
"… 14 more"
],
"total": 2619,
"sampled": 100
}

Parameters

NameTypeDescription
queryquery · requiredstringThe 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.
currencyquerystringCurrency for prices (default USD).
languagequerystringLanguage for names and reviews: en, fr, de-DE, … (default en-US).
Response fields

200 with a TripadvisorExperienceTypesResponse, in Tripadvisor’s own JSON.

FieldTypeDescription
geoobject
typesTripadvisorExperienceType[]
totalnumber | null
samplednumber
Status codes
StatusMeaning
200The destination’s experience categories.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404No Tripadvisor place or destination like that.
429Too many requests. Wait for Retry-After seconds.
503Tripadvisor is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Tripadvisor is a trademark of its owner. We are not affiliated with or endorsed by it.