Tripadvisor Attraction Types API
The kinds of things to do in a city, with a count for each, in one call.
GET /v1/tripadvisor/attractions/types1 credit Failed requests are free A not-found answer is still charged
About this endpoint
GET /v1/tripadvisor/attractions/types lists the kinds of attractions and experiences a city or region offers. geoId is the city's geo id: the g number in a Tripadvisor address, or the locationId of a geo match from search (187147 is Paris).
data.types holds them in the site's own order. Each carries the site's id for the type, its name (Sights & Landmarks, Museums, Spas & Wellness), count, the attractions and experiences of that type in the city, and url, the city's Tripadvisor list of that type.
Price
From $1.35 per 1,000 requests
1 credit per request. Failed requests are free.
- Scale pack
- $1.64 / 1,000
- Growth pack
- $2.36 / 1,000
The lowest rate is on annual plans; packs are pay as you go.
Example request
Send your API key in the x-api-key header. New accounts get 100 free credits, no card needed.
Example response
A 200 response. Live responses have the same shape with current data.
Tripadvisor Attraction Types API FAQ
What is it useful for?
Sizing a destination: how many museums, tours, sights or outdoor activities a city has, and comparing cities by what they offer, in one request each.
Where do I find a city's geo id?
It is the g number in any Tripadvisor address for the city (Attractions-g187147-Paris… is 187147), or the locationId of a geo match from GET /v1/tripadvisor/search?type=geo.
What does a geo id that does not exist return?
HTTP 200 with data.lookupStatus not_found and an empty list. Check lookupStatus before storing rows.
How many credits does a call cost?
Pricing is documented on the operation in the API registry (shown on this page). Confirm on every response with meta.creditsCharged: that field is the billing source of truth.
Other Tripadvisor endpoints
- SearchGET /v1/tripadvisor/search
- Place by URLGET /v1/tripadvisor/place
- Hotels in a cityGET /v1/tripadvisor/hotels
- Restaurants in a cityGET /v1/tripadvisor/restaurants
- Attractions in a cityGET /v1/tripadvisor/attractions
- Cruise searchGET /v1/tripadvisor/cruises
- Cruise shipGET /v1/tripadvisor/cruise-ships/{locationId}
- Cruise ship reviewsGET /v1/tripadvisor/cruise-ships/{locationId}/reviews