MCP + API · kestrel/tripadvisor-reviews-scraper
TripAdvisor Reviews Scraper & API: Hotel Reviews, Guest Reviews
TripAdvisor hotel reviews and TripAdvisor ratings by URL, id or name. One row per review: bubbles, title, text, six sub-ratings, stay date, trip type, reviewer, photos, management response. Free hotel row: rating, review count, city ranking. Filters: negative reviews, new reviews only. 24 languages.
Open Actor Download MCP config
Connect this tool
Add this URL as a remote MCP server in your client, then sign in to Apify. For a client-specific setup, use Apify's configurator.
https://mcp.apify.com?tools=call-actor,fetch-actor-details,kestrel/tripadvisor-reviews-scraper
Generic MCP client configuration
{
"mcpServers": {
"kestrel-tripadvisor-reviews-scraper": {
"url": "https://mcp.apify.com?tools=call-actor,fetch-actor-details,kestrel/tripadvisor-reviews-scraper"
}
}
}
Understand the output before you run
One row per guest review (charged), plus a free hotel context row and a free status row per hotel and language.
Declared dataset fields and row types · Output locations and dataset links
Use the declared dataset schema for item fields; the output schema describes where results are stored. Optional fields may be null or absent. If an integration shows a sampled schema without an optional field, check this declaration, the Actor instructions and actual returned rows before concluding that the field is unsupported.
Inspect 57 declared output fields
| Field | Type | Meaning |
|---|---|---|
type | string | review | hotel | status |
target | string / null | The input value (URL, id or name) this row came from |
location_id | string / null | TripAdvisor's numeric location id (the d<number> in its URLs) |
geo_id | string / null | TripAdvisor's numeric geo id of the hotel's city (the g<number> in its URLs) |
hotel_name | string / null | Hotel name as the review page shows it |
language | string / null | Site language the row was read in (en = tripadvisor.com, de = tripadvisor.de, …) |
review_id | string / null | TripAdvisor's numeric review id |
original_language | string / null | Language the review was written in |
translated | boolean / null | true when the text is a machine translation into the site language |
title | string / null | Review title |
text | string / null | Full review text |
rating | number / null | 1-5 bubbles on review rows; the hotel's overall bubble rating (e.g. 4.7) on hotel rows |
sub_ratings | object / null | Bubbles per aspect the reviewer rated: value, rooms, location, cleanliness, service, sleep_quality |
review_date | string / null | Date the review was posted, YYYY-MM-DD |
created_date | string / null | Date the review was written, YYYY-MM-DD |
stay_date | string / null | Month of the stay as TripAdvisor records it, YYYY-MM-DD |
trip_type | string / null | FAMILY | COUPLES | SOLO | BUSINESS | FRIENDS | null |
helpful_votes | integer / null | Helpful votes the review received |
reviewer_name | string / null | Reviewer display name |
reviewer_username | string / null | Reviewer profile handle |
reviewer_verified | boolean / null | Whether TripAdvisor marks the reviewer as verified |
reviewer_contributions | integer / null | Reviewer's total contributions on TripAdvisor |
reviewer_helpful_votes | integer / null | Helpful votes across all of the reviewer's contributions |
reviewer_hometown | string / null | Reviewer hometown as shown, e.g. "Brooklyn, New York" |
photos | array / null | Photo URLs attached to the review (1200 px renditions) |
photo_count | integer / null | How many photos the review carries |
response | string / null | The property's management response text, if any |
response_date | string / null | Date of the management response, YYYY-MM-DD |
response_id | string / null | TripAdvisor's id of the management response |
url | string / null | Direct URL of the review page (review rows) or of the hotel review page (hotel rows) |
hotel_url | string / null | The hotel's canonical review page on the site the row was read from |
review_count | integer / null | Total reviews the hotel has across all languages |
rating_counts | object / null | Reviews per bubble rating, keys "1"…"5" |
reviews_by_language | object / null | Reviews per language, e.g. {"en": 1393, "fr": 220} |
ranking | string / null | TripAdvisor ranking sentence, e.g. "#33 of 372 hotels in Lisbon" |
ranking_position | integer / null | Rank position in the city |
ranking_of | integer / null | Number of hotels ranked in the city |
address | string / null | Street address |
city | string / null | City |
postal_code | string / null | Postal code |
country_code | string / null | ISO country code |
latitude | number / null | Latitude |
longitude | number / null | Longitude |
phone | string / null | Phone as listed |
website | string / null | Official website as listed |
price_range | string / null | TripAdvisor price band, e.g. "$$" |
amenities | array / null | Amenity names TripAdvisor lists |
reviews_listed | integer / null | Reviews the site lists for the hotel in this language (translations included) |
reviews_fetched | integer / null | Reviews read in this run for the hotel and language before filters |
status | string / null | ok | no_reviews | not_found | duplicate | error (status rows) |
reviews | integer / null | Reviews delivered for this hotel and language (status rows) |
filtered | integer / null | Reviews dropped by the filters, never charged (status rows) |
pages | integer / null | Review pages read (status rows) |
total | integer / null | Reviews the site lists in this language (status rows) |
duplicates | integer / null | 1 when this target resolved to a hotel another target already covers (status rows) |
error | string / null | Why a target failed (status rows) |
fetched_at | string / null | UTC timestamp of the request |
Start with a small sample
Use call-actor with the JSON below. The $0.25 run ceiling is separate from the Actor input and may stop the sample early. Change the target to match your request. This input validates against build 1.2.5; it is not a promise that the source has matching rows today.
{
"actor": "kestrel/tripadvisor-reviews-scraper",
"input": {
"startUrls": [
"https://www.tripadvisor.com/Hotel_Review-g189158-d4509998-Reviews-Memmo_Alfama_Hotel-Lisbon_Lisbon_District_Central_Portugal.html"
],
"languages": [
"en"
],
"maxReviewsPerHotel": 3
},
"callOptions": {
"maxTotalChargeUsd": 0.25,
"timeout": 300
},
"waitSecs": 30
}
After completion, use get-dataset-items with storages.datasets.default.id. If still running, poll get-actor-run using the returned runId. Check status rows and errors before treating an empty dataset as no matches.
Call from Python, JavaScript or REST
Python SDK 3 example · JavaScript SDK 2 example · curl + jq example. Each uses this same small input, reads APIFY_TOKEN from your environment, sets a five-minute run timeout and exports all dataset row types as JSON Lines. The $0.25 run ceiling is separate from the Actor input and may stop the sample early. Inspect the run and source status before treating results as complete. Installation and usage.
Pricing and limits
Current listed event prices in USD. Some Actors charge for successful source checks even when no output rows match. The event descriptions below define those differences.
| Event | USD each | What is charged |
|---|---|---|
review | $0.005 | One TripAdvisor hotel review: 1-5 bubbles, six sub-ratings, management response (row keys review_id, rating, title, text, sub_ratings, language, original_language, stay_date, trip_type, reviewer_name, photos, helpful_votes, response): $5 per 1,000 reviews, once per language site; maxReviewsPerHotel 100 (default) caps a hotel at $0.50 per language. Not charged: the hotel row (rating, review count, city ranking, address, amenities), reviews removed by maxRating, tripTypes, sinceDate, requireText or includeTranslated, hotels with no reviews, unknown ids, duplicate targets, failed pages and status rows. No start fee; proxy and compute are included in the event price. The run stops at the maximum cost per run you set when starting it (Apify run option maxTotalChargeUsd), never above it. |
Contracts for agents
- Input schema and sample input
- Prepared MCP call and pricing events
- Full Actor instructions and limits
- REST API
Public contract checked 2026-11-11. Active build: 1.2.5. Refresh live details before a large or recurring run.