List Tripadvisor attraction types in a city
List the kinds of attractions and experiences in a Tripadvisor city or region, with how many of each there are.
Headers
Get your API keyAPI key (`sfk_...`)
Tripadvisor geo id of a city or region, e.g. `60763` (New York City): the `g` number in a Tripadvisor address, or `locationId` of a `geo` search result.
≥ 1 · ≤ 2147483647
Endpoint-specific response payload.
`not_found` when no city or region has this geo id.
one of: found, not_found
The geo id asked for.
Types, in the site's own order.
The site's id for the type.
Type, e.g. `Sights & Landmarks`.
Attractions and experiences of this type in the city.
The city's Tripadvisor list of this type.
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
Present, and `true`, only when the source couldn't be reached and this is the last good answer for the same request instead, up to 24 hours old. Absent on every live answer.
one of: true
When a stale answer (`stale: true`) was originally fetched (ISO 8601, UTC). Absent on every live answer.
Code example
curl "https://api.socialfetch.dev/v1/tripadvisor/attractions/types?geoId=187147" \
-H "x-api-key: YOUR_API_KEY"Responses
Kinds of attractions and experiences in a Tripadvisor city or region.
Attractions in a city
List the attractions and things to do in a Tripadvisor city or region, with ratings, categories and short descriptions.
Cruise search
Search Tripadvisor cruises to a destination, most popular first, with ship, cruise line, ports, day-by-day itinerary and departure dates; filter by month,…