InsightSocial

Tripadvisor scraper API

The InsightSocial Tripadvisor API has 16 endpoints, from 20 credits a call. A hotel call costs 20 credits, about $0.02 on Pro, and your first 10 calls up to 100 credits each are free.

The Tripadvisor scraper API for hotels, restaurants, attractions and cruise ships, their reviews page by page, the lists for a city and search, as JSON, on the same key as every other platform.

16 endpoints · from 20 credits a call · 10 free calls up to 100 credits each · no credit card

curl "https://api.insightsocial.app/v1/tripadvisor/hotel?location_id=1234567" \
-H "x-api-key: $INSIGHTSOCIAL_API_KEY"
200 OKJSON
{
"success": true,
"platform": "tripadvisor",
"endpoint": "/v1/tripadvisor/hotel",
"schema_version": "2",
"data": {
"hotel": {
"location_id": "1234567",
"name": "Example Grand Hotel",
"url": "https://www.tripadvisor.com/Hotel_Review-g60763-d1234567-Reviews-Example_Grand_Hotel-New_York_City_New_York.html",
"rating": 4.5,
"reviews_count": 3812,
"rating_breakdown": {
"excellent": 2605,
"very_good": 812,
"average": 241,
"poor": 89,
"terrible": 65
},
"ranking": {
"position": 42,
"out_of": 512,
"geo": "New York City"
},
"address": "100 Example Avenue, New York City, NY 10001",
"amenities": [
"Free High Speed Internet (WiFi)",
"Fitness Center",
"Restaurant"
],
"styles": [
"Business",
"City View"
],
"rooms_count": 310
}
},
"unavailable": [],
"credits_used": 0,
"charge_reason": "miss",
"free_call": true
}

What Tripadvisor data can you get?

Public Tripadvisor data only, in the same JSON envelope as every other platform. Every Tripadvisor endpoint is beta: inside data it returns Tripadvisor's own structure under our naming rules (snake_case keys, string ids, ISO times where Tripadvisor gives a timestamp), not the shared profile and post schema, and fields may change.

Hotels, restaurants and attractions

One place by location id with its rating breakdown and ranking, plus amenities and room count for hotels, cuisines and hours for restaurants, categories and hours for attractions, or any of them from its page URL with contact details.

Reviews

Reviews newest first, page by page, with ratings, trip details and owner replies, for any hotel, restaurant, attraction or cruise ship.

City and region lists

The hotels, restaurants and things to do in a city or region, and how many attractions of each kind it has.

Cruises

Cruises to a destination with ship, line, ports, itinerary and departures, filtered by month, cabin and length, and a ship's profile with cabins, dining and activities.

Search

Cities, hotels, restaurants and attractions by name, with the location ids and geo ids the other endpoints take.

What people build with the Tripadvisor API

  • Reputation monitoring

    Read the newest reviews of your hotels or restaurants on a schedule, with owner replies, and flag the low ratings.

  • Destination research

    List a city's hotels, restaurants and attractions with ratings and rankings to build guides or market maps.

  • Competitor benchmarking

    Compare rating breakdowns, rankings and review themes across the places you compete with.

Tripadvisor API endpoints

All 16 Tripadvisor endpoints and their price in credits. Every one has a fixed price.

EndpointCreditsWhat it returns
/attraction20Get a Tripadvisor attraction by location id, with its rating breakdown, ranking, categories and opening hours.
/attraction/reviews20List the reviews of a Tripadvisor attraction, newest first, with ratings, visit dates and photos.
/attractions20List the attractions and things to do in a Tripadvisor city or region, with ratings, categories and short descriptions.
/attractions/types20List the kinds of attractions and experiences in a Tripadvisor city or region, with how many of each there are.
/cruise-ship20Get a Tripadvisor cruise ship by location id, with its cruise line, rating breakdown, passengers, crew, cabins, activities and dining.
/cruise-ship/reviews20List the reviews of a Tripadvisor cruise ship, newest first, with ratings, titles and reviewer details.
/cruises20Search Tripadvisor cruises to a destination, most popular first, with ship, cruise line, ports, day-by-day itinerary and departure dates; filter by month, cabin and length.
/hotel20Get a Tripadvisor hotel by location id, with its rating breakdown, ranking, address, amenities, styles and room count.
/hotel/reviews20List the reviews of a Tripadvisor hotel, newest first, with ratings, aspect scores, trip details and owner replies.
/hotels20List the hotels in a Tripadvisor city or region in the site's own order, with ratings, rankings, addresses and photos.
/place20Get a Tripadvisor hotel, restaurant or attraction from its Tripadvisor URL, with ratings, ranking, address and contact details.
/place/reviews20List the reviews of any Tripadvisor hotel, restaurant or attraction, newest first, with ratings, trip details and owner replies.
/restaurant20Get a Tripadvisor restaurant by location id, with its rating breakdown, ranking, cuisines, opening hours and description.
/restaurant/reviews20List the reviews of a Tripadvisor restaurant, newest first, with ratings, visit dates and owner replies.
/restaurants20List the restaurants in a Tripadvisor city or region in the site's own order, with ratings, cuisines, price levels and addresses.
/search20Search Tripadvisor for cities, hotels, restaurants and attractions by name, with location ids, coordinates and page links.

Parameters, response fields and examples for each endpoint are in the Tripadvisor API reference.

InsightSocial vs the official Tripadvisor API

Tripadvisor's Content API needs a registered key and returns a limited number of reviews and photos for each location.

InsightSocial APIOfficial Tripadvisor API
SetupSign in and copy a keyRegister for a Content API key
Reviews per placePage through the reviews the site showsA limited number per location
Other platformsThe same key covers Booking.com, Airbnb and the restTripadvisor only
Cost per call20 creditsUsage-based, under Tripadvisor's own terms

The official API is the right tool for posting, messaging or managing accounts you own. This one is read-only public data.

How much does the Tripadvisor API cost?

Tripadvisor calls start at 20 credits. Every endpoint's price is in the table above and in the free GET /v1/endpoints catalogue, so you know the cost before you call. Pro's 10,000 monthly credits cover about 500 hotel lookups at 20 credits each.

  • Failed calls are free

    A call that errors or finds nothing costs 0 credits.

  • Repeats and retries

    A repeat call is charged again: the full price when it fetches new data, 2 credits when the answer comes from the shared cache. Add fresh=1 to force a new read. Only a retry with the same Idempotency-Key is free.

  • One balance

    API calls and Chrome extension exports share the same credits. The free plan includes 500 a month.

Not writing code?

Connect InsightSocial to Claude or ChatGPT and ask for Tripadvisor data in plain English. Same account, same credits.

Use it from Claude or ChatGPT

Tripadvisor API: frequently asked questions

It is the d number in a place's Tripadvisor address, and the g number is the geo id of its city. /v1/tripadvisor/search returns both for a name, and /v1/tripadvisor/place takes the page URL directly.

The same key works for 86 more platforms

All platforms on one social media API