Hotels, restaurants & attractions

Tripadvisor Reviews Scraper

Collect the Tripadvisor reviews for a hotel, restaurant or attraction and for the places it competes with. Each review keeps its original language, with Tripadvisor’s English translation alongside, so a guest from Lyon and a guest from Leeds end up in the same table.

On JMLP: 1 credit per result, from $0.025 per 1,000 results. Start with 500 free credits.

Ways to use this scraper.

Three examples to start from.

Benchmark a hotel against its competitive set

Collect six months of reviews for your hotel and four nearby rivals, then compare the sub-ratings. Most hotels win on one thing and lose on another, and the sub-ratings show which.

A benchmark table by property, with the reviews behind each score one click away.

Find what international guests mention

Collect reviews in every language and read them through the English translations. Some topics, like breakfast or check-in, come up far more in one market than another.

A short brief per market, quoting the reviews in translation.

Check response times and tone

See which negative reviews got a management response, who signed it and how fast it came. Your competitors’ best replies are free training material.

A response log with reply dates and who replied.

Your first run.

  1. Open the Actor on Apify and go to the Input tab. Switch to the JSON editor if you’d rather paste a configuration.
  2. Replace the example link with a Tripadvisor link to your own hotel, restaurant or attraction, or a competitor’s. Copy it from the place’s page in your browser.
  3. Keep maxReviewsPerPlace at 100 for the first run and leave the filters empty. Check the original text, the English translation and the place fields, then add rating, language, trip type or date filters.
  4. Start the run and keep an eye on the log. If it comes back empty, check which targets and filters were read before you conclude there’s nothing there.
  5. Open Storage → Dataset and read a few records. Export CSV for a quick look in a spreadsheet, or JSON if you need the nested fields.
First-run configuration
{
  "places": [
    "https://www.tripadvisor.com/Hotel_Review-g186338-d187591-Reviews-The_Ritz_London_Hotel-London_England.html"
  ],
  "maxReviewsPerPlace": 100
}

Paste this into the Actor’s JSON input editor. Replace the example targets with yours before running.

Check the current input form on Apify

Ways to search.

Give the scraper a Tripadvisor link, a location ID or a place name. Links and IDs point to one place; names can match several. Every review comes as written, with Tripadvisor’s English translation alongside, and the full history back to the first review is available.

Search methodWhen to use itWhat changes
Tripadvisor linksWhen to use itYou already configured the search on the source website.What changesA link from tripadvisor.com, .co.uk, .de or any other Tripadvisor site gives the same place and reviews. It is the clearest way to name one place.
Location IDsWhen to use itYou know the exact entity you want to collect.What changesThe location ID is the d number in a Tripadvisor link, such as d187591. It is short and stable, which suits a saved watchlist.
Place namesWhen to use itYou want to find relevant results before choosing specific targets.What changesA name reads every place Tripadvisor’s search finds under it, biggest first. Ritz London gives the hotel and several Ritz restaurants. Check place_name, or paste a link to get one place.

Worth knowing

Every review comes in the language it was written in, with Tripadvisor’s English translation in title_english and text_english. Read the English versions to compare markets, and quote the original text in reports.

Compare the related scraper

What each input does.

In JSON, use the field names exactly as written below. In Apify’s form, add list items one at a time and keep numbers and true/false values as they are.

A default is what the Actor uses when you leave a setting out, and some settings have none. A prefill is an example Apify has already typed into the form, and it runs unless you change it. Check the prefilled targets and limits before you start; you always need at least one target of your own.

Targets and search inputs1
places
ListForm prefill: ["https://www.tripadvisor.com/Hotel_Review-g186338-d187591-Reviews-The_Ritz_London_Hotel-London_England.html"]

One place per line: a Tripadvisor link to a hotel, restaurant, attraction or tour from any country’s Tripadvisor, its location ID (d187591), or its name. A name stands for every place Tripadvisor’s search finds under it.

Markets, dates and filters5
ratings
List

Only reviews with these ratings, as strings from 1 (Terrible) to 5 (Excellent). Select 1 and 2 for negative reviews. Empty means every rating.

languages
List

Only reviews written in these languages, as codes or names such as en, de or French. Empty means every language: each review in the language it was written in, with Tripadvisor’s English translation alongside.

dateFrom
Text

Only reviews published on or after this date. Use YYYY-MM-DD or a relative period such as 30 days or 6 months. With a daily or weekly schedule, a relative date collects only what is new.

tripTypes
List

Only reviews from these kinds of trips: Business, Couples, Family, Friends or Solo. Many reviewers leave the trip type out, so a filter also drops those reviews. Empty means every review.

searchText
Text

Only reviews that mention this word or phrase, as Tripadvisor’s own review search finds them, for example breakfast, noise or rooftop. Use one topic per run.

Limits, details and proxies3
maxReviewsPerPlace
IntegerForm prefill: 100

The newest this many reviews of each place. Start with 100. Empty means every review, back to the first one.

maxReviews
Integer

A hard cap on reviews across the whole run, for every target together. Use it to limit runtime and cost. Empty means no overall cap; the per-target limit still applies.

proxyConfiguration
ObjectDefault: {"useApifyProxy":true,"apifyProxyGroups":["RESIDENTIAL"],"apifyProxyCountry":"US"}Form prefill: {"useApifyProxy":true,"apifyProxyGroups":["RESIDENTIAL"],"apifyProxyCountry":"US"}

The US residential proxy is the working default. Tripadvisor answers residential exits, Apify’s datacenter proxy also works, and other settings fall back to residential when Tripadvisor refuses them.

Advanced settings and recovery2
resume
True or falseDefault: true

Saves progress about every 30 seconds so an Apify restart or migration can continue the current run. Leave it on for normal use.

continueFromLastRun
True or falseDefault: false

Continues unfinished work from the previous run with matching input. Earlier results remain in that run’s dataset. Keep false for a fresh collection or a recurring snapshot.

This reference follows the Actor’s published input fields. Check the live form before changing a production workflow. Check the current input form on Apify.

Three setups to copy.

Each one is a separate run. Swap in your own targets, countries and dates, start small, and widen it only once the first results look right.

Benchmark three hotels

Collect six months of reviews for one hotel by location ID and two competitors by name, up to 300 each. Check place_name before comparing, because a name can also match restaurants inside a hotel.

Benchmark three hotels
{
  "places": ["d187591", "The Savoy London", "The Langham London"],
  "dateFrom": "6 months",
  "maxReviewsPerPlace": 300
}

Review a year of negative feedback

Collect the 1- and 2-star reviews of one restaurant from the last 12 months. Check which ones received a management response and how quickly.

Review a year of negative feedback
{
  "places": ["d719141"],
  "ratings": ["1", "2"],
  "dateFrom": "12 months",
  "maxReviewsPerPlace": 200
}

Follow one topic across markets

Collect reviews that mention breakfast from family and couples trips, written in English, French or German. Compare what each group says, using the English translations to read them together.

Follow one topic across markets
{
  "places": ["d187591"],
  "searchText": "breakfast",
  "tripTypes": ["Family", "Couples"],
  "languages": ["en", "fr", "de"],
  "maxReviewsPerPlace": 200
}

After the first run.

Expect one row per review with its rating, text as written, English translation, dates, trip type, sub-ratings, reviewer and management response, plus the place’s rating and address. The run’s SUMMARY record shows how many reviews each place lists, how many matched your filters and how many were collected. Each place’s details are saved as the PLACES record in the key-value store.

  1. Look at the dataset and the run’s SUMMARY record. Did you hit your cap? Were any inputs skipped? Open a few source links to make sure the records are what you think they are.
  2. Whatever you save, keep the original IDs and add collected_at and run_id. CSV is fine for flat columns; keep the JSON when arrays or nested details matter.
  3. Once a configuration works, save it as an Apify Task and schedule it. Leave continueFromLastRun false for repeated snapshots, and deduplicate by source ID without throwing away the dates you saw each record.
  4. In Make or n8n, trigger on a successful run, fetch the dataset and map the fields into Sheets or your warehouse. Looker Studio works best from a reporting table, and dbt is the place to flatten and test the warehouse models.
  5. The same JSON works with Apify’s API. With Claude and the Apify MCP server, name this Actor, have Claude check the live schema first, and give it explicit targets, markets and limits.

Resume is not a fresh snapshot

resume protects the current run if Apify restarts it. continueFromLastRun picks up an earlier run with the same configuration, and the earlier records stay in the earlier dataset, so you combine the two to get everything. If that run hit its cap, raise the cap before continuing. For a picture of what changed today, start fresh.

Follow the Sheets, Claude, Looker and BigQuery setup guides
Run this Actor from the API

Save one configuration above as input.json. Set APIFY_TOKEN to your Apify API token in your terminal, then send the file as the request body.

Start the run
curl --fail-with-body --request POST \
  --url "https://api.apify.com/v2/actors/jmlp~tripadvisor-reviews-scraper/runs" \
  --header "Authorization: Bearer $APIFY_TOKEN" \
  --header "Content-Type: application/json" \
  --data-binary @input.json

The response contains a run ID and defaultDatasetId, not finished results. Wait for the run to succeed, set DATASET_ID to that dataset ID, then fetch its items. For large datasets, use limit and offset to page through the export.

Fetch the dataset
curl --fail-with-body \
  --url "https://api.apify.com/v2/datasets/$DATASET_ID/items?format=json" \
  --header "Authorization: Bearer $APIFY_TOKEN"

Apify’s run and export API reference
Dataset export options

If something looks off.

Change one setting at a time and keep the cap small. The run summary usually tells you what went wrong.

The results include places I didn’t ask for.

A name reads every place Tripadvisor’s search finds under it, biggest first. Ritz London gives the hotel and several Ritz restaurants. Check place_name, or paste a link to get one place.

Many reviews have no sub-ratings or trip type.

Sub-ratings, trip type and travel date are optional on Tripadvisor, and many reviewers leave them out. Missing values are left empty rather than guessed. Report how many reviews each average is based on.

The source keeps returning empty pages or access errors.

The US residential proxy is the working default. Tripadvisor answers residential exits, Apify’s datacenter proxy also works, and other settings fall back to residential when Tripadvisor refuses them.

The run succeeded but returned nothing

Succeeded only means the Actor finished, not that the source sent anything back. Look at SUMMARY.inputProblem, SUMMARY.problem and the log for missing targets, unsupported filters or refused requests, then try one target you know has data, with fewer filters.

Fewer records than expected

Usually it’s a limit: the global cap, a per-search or per-page cap, or what the platform covers. Deduplication also removes records that several searches found, and a site’s headline count can include records its public pages never show. Check for unfinished jobs before you call the dataset complete.

Use the results in your tools.

Google Sheets

Add review_id, place_name, rating, published_at, trip_type and language, with columns for topic and follow-up. The most useful filter is negative reviews nobody has answered.

Read the setup

Claude + MCP

Ask Claude to compare what guests mention at each place from text_english, citing review_url, and to flag any point that rests on only a handful of reviews.

Read the setup

Looker Studio

Chart ratings and sub-ratings by month for each place, filterable by trip type and language. Show how many reviews sit behind each number.

Read the setup

BigQuery + dbt

Key reviews by review_id with the collection time, unnest subratings into a child table and keep place snapshots separately to follow rating changes.

Read the setup
Copy a prompt for Claude
Prompt for Claude + Apify MCP
Inspect jmlp/tripadvisor-reviews-scraper, then collect up to 200 reviews published in the last six months for https://www.tripadvisor.com/Hotel_Review-g186338-d187591-Reviews-The_Ritz_London_Hotel-London_England.html. Summarize what guests praise and criticize using text_english, cite review_url for each point, and report the response rate for 1- and 2-star reviews.

The fields you’ll get.

Keep the collection time and original IDs with your records. You’ll need them to check where a result came from or compare it with a later run.

Before you draw conclusions

Only some guests write reviews, so read them as opinions rather than a survey. Sub-ratings and trip types are optional and often missing. The English versions are Tripadvisor’s machine translations, so quote the original. A name can match several places, so use a link when you need exactly one.

review_id / review_url
Stable ID and the public review page.
rating / title / text / language
The rating and review as written, and its language.
title_english / text_english
Tripadvisor’s English translation of reviews written in other languages.
travel_date / trip_type / subratings
When the visit happened, the kind of trip and ratings by aspect.
reply_text / reply_author
The management response and the responder’s role.
place_name / place_rating / place_review_count
The place and its overall rating when collected.

Common questions.

Do I need a Tripadvisor account?

No. The scraper reads public Tripadvisor reviews as a signed-out visitor. You need an Apify account to run it.

Why do some reviews have no English version?

text_english is filled only for reviews written in another language. English reviews need no translation.

Source and current product details: JMLP’s Tripadvisor Reviews Actor on Apify.

Need a scraper or a pipeline built for you?

Send me the sites you’re interested in and the question behind them. I’ll tell you whether scraping is the right way to answer it, and what it would take.