# Tripadvisor Reviews Scraper (`joseolmedosotoaguirre/tripadvisor-reviews-scraper`) Actor

Extract public Tripadvisor reviews for places, attractions, and hotels: rating, title, text, date, reviewer display name, and URL. Playwright + RESIDENTIAL proxy for DataDome. Polite defaults (concurrency 1, delay ~2.5s).

- **URL**: https://apify.com/joseolmedosotoaguirre/tripadvisor-reviews-scraper.md
- **Developed by:** [jose olmedo soto aguirre](https://apify.com/joseolmedosotoaguirre) (community)
- **Categories:** Travel, Lead generation, AI
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Tripadvisor Reviews Scraper

Apify Actor that extracts **public** Tripadvisor reviews for attractions, hotels, and restaurants.

| Field | Description |
|-------|-------------|
| `reviewId` | Tripadvisor review id (when available) |
| `rating` | Star rating 1–5 |
| `title` | Review title |
| `text` | Review body |
| `date` | Published / travel-date string as shown publicly |
| `reviewerName` | Public display name (when exposed in list markup) |
| `url` | Public `ShowUserReviews` URL |
| `placeName` | Place display name |
| `placeUrl` | Source place URL |

**Use cases:** travel reputation monitoring, hotel/attraction VoC, competitive research on public Tripadvisor pages.

> Public pages only. **Playwright Firefox** + Apify **RESIDENTIAL** proxy (DataDome). Polite defaults: concurrency 1, delay ~2.5s. Default `maxReviews`: **15**.

### Input

| Field | Default | Notes |
|-------|---------|--------|
| `placeUrl` | — | Attraction\_Review / Hotel\_Review / Restaurant\_Review URL |
| `startUrls` | — | Optional list of place URLs |
| `maxReviews` | `15` | Max unique reviews |
| `language` | `en` | Accept-Language hint |
| `requestDelayMs` | `2500` | Delay between page loads |
| `maxConcurrency` | `1` | Parallel pages (max 2) |
| `proxyConfiguration` | RESIDENTIAL + US | Required on Cloud |

At least one of `placeUrl` or `startUrls` is required.

### Example run (verified)

Cloud run against **Eiffel Tower**, `maxReviews: 15`, RESIDENTIAL US, Playwright Firefox — **15/15 OK**.

```json
{
  "placeUrl": "https://www.tripadvisor.com/Attraction_Review-g187147-d188151-Reviews-Eiffel_Tower-Paris_Ile_de_France.html",
  "maxReviews": 15,
  "language": "en",
  "requestDelayMs": 2500,
  "maxConcurrency": 1,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "US"
  }
}
```

Alternate: Monserrate Bogotá — `https://www.tripadvisor.com/Attraction_Review-g294074-d311681-Reviews-Monserrate-Bogota.html`

#### Real sample output (Eiffel Tower)

```json
{
  "reviewId": "1070450559",
  "rating": 5,
  "title": "Trip to the top amazing",
  "text": "We went all the way to the top at night. It was amazing view. There was a lot of lines to the very top but worth the wait. You can see everything from the top. We took an elevator to the top. It was extra It worth it.",
  "date": "Jul 2026 • Friends",
  "reviewerName": null,
  "url": "https://www.tripadvisor.com/ShowUserReviews-g187147-d188151-r1070450559-Eiffel_Tower-Paris_Ile_de_France.html",
  "placeName": "Eiffel Tower",
  "placeUrl": "https://www.tripadvisor.com/Attraction_Review-g187147-d188151-Reviews-Eiffel_Tower-Paris_Ile_de_France.html",
  "scrapedAt": "2026-07-29T05:38:59.551Z"
}
```

#### Sample batch (15 reviews)

| ★ | Title | Date |
|---|-------|------|
| 5 | Trip to the top amazing | Jul 2026 • Friends |
| 1 | Booking error - No ticket refund | Jul 2026 |
| 5 | Unrivaled | Jul 2026 |
| 5 | An iconic structure | Jul 2026 • Couples |
| 3 | A peeling symbol | Jul 2026 • Couples |
| 4 | A must see | Jul 2026 |
| 4 | Long lines, great views, lots of people. | Jul 2026 |
| 1 | Pretty but... | Nov 2019 • Solo |
| 5 | Magnificent | Jul 2026 • Friends |
| 5 | The best view of Paris from above | Jul 2026 |
| 5 | The Eiffel Tower, a legend… | Jul 2026 |
| 5 | Awesome views of Paris… | Jul 2026 |
| 5 | Amazing | Jan 2026 • Friends |
| 5 | Very good | Jun 2017 • Couples |
| 5 | Fabulous monument | Jun 2026 • Friends |

Actor: https://console.apify.com/actors/FXAUdJ9M23ZPotY1R\
Verified run: https://console.apify.com/actors/FXAUdJ9M23ZPotY1R/runs/bGrNoY4PGd4Ff1y7n

### How it works

1. Open the place URL with **Playwright Firefox** (less fingerprinted than Chromium)
2. Prefer Apify **RESIDENTIAL** proxy (DataDome blocks datacenter / bare IPs)
3. Wait out JS challenge pages; open Reviews tab; scroll lazy cards
4. Extract from DOM cards + JSON-LD / embedded state + GraphQL XHR
5. Paginate with Tripadvisor `-orN-` offsets (15 reviews/page)
6. Deduplicate and push up to `maxReviews`

### Local development

```bash
cd tripadvisor-reviews-scraper
npm install --registry https://registry.npmjs.org/
export APIFY_TOKEN=...   # from parent apify-actors/.env
apify run -p             # usually blocked locally (no platform proxy)
```

Prefer cloud:

```bash
apify push -f
apify call -p --memory 2048
```

### Pricing suggestion (Apify Store)

| Plan | Price |
|------|-------|
| Pay-per-result | **$3.00 / 1,000 reviews** (range **$2–4 / 1k**) |
| Rental | **$39 / month** (range **$29–49**) + compute |

Positioning: Playwright Firefox + RESIDENTIAL for DataDome-protected public review pages; travel/reputation niche.

### Compliance / Terms of Service

- Scrapes **publicly visible** Tripadvisor review pages only (no login, no private APIs).
- Does **not** bypass paid Tripadvisor APIs or authenticated member-only content.
- Respects polite rate limits (low concurrency, multi-second delays).
- Users are responsible for complying with [Tripadvisor Terms of Use](https://tripadvisor.mediaroom.com/us-terms-of-use), applicable law, and Apify Store policies. Use for legitimate research / monitoring of public data; do not overload Tripadvisor infrastructure.

### Changelog

#### 1.0.0

- Playwright Firefox crawl of Tripadvisor Attraction / Hotel / Restaurant review pages
- Inputs: `placeUrl`, `startUrls`, `maxReviews` (default 15), language, delay, RESIDENTIAL proxy
- Fields: rating, title, text, date, reviewerName, url (+ place metadata)
- Pagination via `-orN-` offsets; dedupe by reviewId / content
- Verified cloud: Eiffel Tower, 15 reviews

### PENDING evidence (2026-07-29)

Cloud run `gmOIH1Gh6HOhYXlWQ` (build 1.0.17, Camoufox + RESIDENTIAL US, Eiffel Tower Attraction\_Review):

- `reviewsScraped: 0`, `blockedCount: 3`
- Logs: persistent DataDome captcha interstitial (`title=tripadvisor.com`, bodyLen≈43)
- Earlier run `PlNa7br5ODga3qDcE` cleared challenge but soft-redirected to city “Top 15 Things to Do” listing (0 review cards)

# Actor input Schema

## `placeUrl` (type: `string`):

Tripadvisor place page URL (Attraction\_Review / Hotel\_Review / Restaurant\_Review).

## `startUrls` (type: `array`):

Optional list of Tripadvisor place URLs (used in addition to placeUrl).

## `maxReviews` (type: `integer`):

Maximum number of unique reviews to save (deduplicated by reviewId / content).

## `language` (type: `string`):

Browser Accept-Language hint (en, es, fr, …).

## `requestDelayMs` (type: `integer`):

Polite delay between page loads. Recommended 2000–4000.

## `maxConcurrency` (type: `integer`):

Parallel browser pages. Keep at 1 for Tripadvisor.

## `proxyConfiguration` (type: `object`):

Required on Apify Cloud: RESIDENTIAL group bypasses Tripadvisor DataDome for most runs.

## Actor input object example

```json
{
  "placeUrl": "https://www.tripadvisor.com/Attraction_Review-g187147-d188151-Reviews-Eiffel_Tower-Paris_Ile_de_France.html",
  "startUrls": [
    {
      "url": "https://www.tripadvisor.com/Attraction_Review-g187147-d188151-Reviews-Eiffel_Tower-Paris_Ile_de_France.html"
    }
  ],
  "maxReviews": 5,
  "language": "en",
  "requestDelayMs": 2000,
  "maxConcurrency": 1,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `reviews` (type: `string`):

Scraped Tripadvisor reviews in the default dataset.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "placeUrl": "https://www.tripadvisor.com/Attraction_Review-g187147-d188151-Reviews-Eiffel_Tower-Paris_Ile_de_France.html",
    "startUrls": [
        {
            "url": "https://www.tripadvisor.com/Attraction_Review-g187147-d188151-Reviews-Eiffel_Tower-Paris_Ile_de_France.html"
        }
    ],
    "maxReviews": 5,
    "language": "en",
    "requestDelayMs": 2000
};

// Run the Actor and wait for it to finish
const run = await client.actor("joseolmedosotoaguirre/tripadvisor-reviews-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "placeUrl": "https://www.tripadvisor.com/Attraction_Review-g187147-d188151-Reviews-Eiffel_Tower-Paris_Ile_de_France.html",
    "startUrls": [{ "url": "https://www.tripadvisor.com/Attraction_Review-g187147-d188151-Reviews-Eiffel_Tower-Paris_Ile_de_France.html" }],
    "maxReviews": 5,
    "language": "en",
    "requestDelayMs": 2000,
}

# Run the Actor and wait for it to finish
run = client.actor("joseolmedosotoaguirre/tripadvisor-reviews-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "placeUrl": "https://www.tripadvisor.com/Attraction_Review-g187147-d188151-Reviews-Eiffel_Tower-Paris_Ile_de_France.html",
  "startUrls": [
    {
      "url": "https://www.tripadvisor.com/Attraction_Review-g187147-d188151-Reviews-Eiffel_Tower-Paris_Ile_de_France.html"
    }
  ],
  "maxReviews": 5,
  "language": "en",
  "requestDelayMs": 2000
}' |
apify call joseolmedosotoaguirre/tripadvisor-reviews-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=joseolmedosotoaguirre/tripadvisor-reviews-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/FXAUdJ9M23ZPotY1R/builds/CuMkPeQd9daoetQBu/openapi.json
