Tripadvisor API guide

tripadvisor.com

Find hotels, restaurants, and attractions on Tripadvisor, compare their ratings and rankings, and read recent traveler reviews.

Actions and inputs

find

Search Tripadvisor locations by name.

Inputs Search text, optional category

nearby-best

Rank nearby places that meet a category and minimum rating.

Inputs Latitude and longitude, category, minimum rating, result count

compare

Compare ratings, rankings, and traveler profiles for selected places.

Inputs Two to five location IDs

reviews

Read up to five recent traveler reviews for a location.

Inputs Location ID

Traveler reviews

Create

Submit a review about your own visit to a listed hotel, restaurant, or attraction.

Inputs Place, visit date, rating, title, review text

Read

Open your profile to read your submitted reviews and check which are published.

Inputs Tripadvisor account, place or review

Update

Replace your own published review by removing it and submitting a revised one for moderation; direct editing is not available.

Inputs Existing review, revised rating and text, confirmation

Delete

Remove your own review from your profile.

Inputs Review, confirmation