TripAdvisor Hotel Reviews API
Extract comprehensive hotel reviews from TripAdvisor using the hotel's location ID.
Overview
Rich Review Data
Get detailed reviews with user profiles, ratings, photos, trip information, and engagement metrics.
The TripAdvisor Hotel Reviews endpoint provides access to detailed review data including reviewer information, stay dates, ratings, review text, photos, helpful votes, and management responses.
Endpoint URL
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| location_id | string | Required | TripAdvisor location ID (path parameter) |
| page | integer | Optional | Page number, starts at 1 (default: 1) |
| per_page | integer | Optional | Number of reviews per page (1-50, default: 10) |
| language | string | Optional |
TripAdvisor language code, or all (default) to return reviews in every language. Accepted codes include en, ja, es, fr, de, it, zhTW, ru, th.
|
Ordering and language behavior
Reviews are returned by published_date in descending order — page 1 contains the most recent reviews. With the default language=all, each review's language field carries the original source language code, while the text field is machine-translated to English. Passing a specific code (e.g. language=ja) returns only reviews originally written in that language, and total_count reflects that filtered subset.
Response Structure
Review Information
review_id- Unique review identifiertitle- Review titletext- Full review textrating- Overall rating (1-5)published_date- When review was postedstay_date- When the reviewer stayed
Reviewer Details
- Username and display name
- Location
- Contribution count and helpful votes
- Profile photo URL
Additional Data
- Trip type (business, couples, family, etc.)
- Review photos
- Helpful vote count
- Management response (if available)
- Room tip information
- Language of review
Finding the Location ID
Need the Location ID?
Use the /location/extract-id endpoint to extract the location ID from any TripAdvisor hotel URL.
The location ID can be found in TripAdvisor URLs. For example:
https://www.tripadvisor.com/Hotel_Review-g1224250-d305165-Reviews-Hotel.html
The location ID is 305165 (the number after "d").