# TripAdvisor Reviews $1.5/1k (`crucial_binoculars/tripadvisor-reviews-scraper`) Actor

Effortlessly extract chosen places on Tripadvisor. Extract the review text, URL, rating, date of travel, published date, basic reviewer info, owner's response, helpful votes, images, review language, place details. Download reviews in XML, JSON, CSV.

- **URL**: https://apify.com/crucial_binoculars/tripadvisor-reviews-scraper.md
- **Developed by:** [Iliya Musa](https://apify.com/crucial_binoculars) (community)
- **Categories:** SEO tools, Travel, Real estate
- **Security:** Limited permissions
- **Stats:** 20 total users, 1 monthly users, 2.9% runs succeeded, 4 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $1.50 / 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/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## 🌍 TripAdvisor Reviews Scraper

[![Apify Actor](https://img.shields.io/badge/Apify-Actor-brightgreen)](https://apify.com/actors)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue)](LICENSE)

***

### What does TripAdvisor Reviews Scraper do?

It's a simple yet powerful tool designed to extract comprehensive review data from any TripAdvisor location (Hotels, Restaurants, or Attractions). With a user-friendly front-page interface, you can gather deep insights including place details, full review text, ratings, travel dates, helpful votes, and even official owner responses.

To get started, simply paste the place URL and click the **"Save & Start"** button.

***

### 🎯 Why scrape TripAdvisor Reviews?

- 💪 **Competitive Intelligence** — Track competitors and identify market gaps.
- 🕵️ **Market Research** — Analyze trends by price, rating, popularity, or location.
- ✨ **Trend Spotting** — Discover upcoming hotspots in the tourism and hospitality industry.
- 👍 **Sentiment Analysis** — Build custom databases to monitor brand reputation.
- 📩 **Lead Generation** — Identify active travelers and reviewers for targeted outreach.

***

### 🛠️ How to use the TripAdvisor Reviews Scraper

Designed for everyone — from first-time users to pro developers. Follow these steps:

1. Create a free [Apify account](https://apify.com).
2. Open the **TripAdvisor Reviews Scraper**.
3. Add one or more TripAdvisor URLs (e.g., a specific Hotel or Restaurant page).
4. Click **"Start"** and wait for the extraction to complete.
5. Download your high-quality data in **JSON, XML, CSV, Excel, or HTML**.

***

### � Input Parameters

The primary input is the TripAdvisor URL. You can add multiple URLs and customize your scrape using the options below.

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `startUrls` | URL list | *(sample hotel)* | One or more TripAdvisor property URLs (hotels, restaurants, attractions) |
| `maxReviews` | integer | `100` | Maximum reviews to collect per property. Set `0` for unlimited |
| `scrapeReviewerInfo` | boolean | `true` | Include reviewer profile details (name, avatar, location, contributions) |
| `sinceDate` | date | *(none)* | Only return reviews published on or after this date |
| `reviewRatings` | multi-select | *(all)* | Filter by star rating: 1, 2, 3, 4, or 5 stars |
| `languages` | multi-select | *(all)* | Filter reviews by language (English, French, German, Spanish, etc.) |
| `sortBy` | select | Newest first | Sort order: Newest first, Oldest first, Most popular, Highest rated |
| `includeImages` | boolean | `true` | Extract photo URLs attached to reviews |
| `includeHotelResponses` | boolean | `true` | Include owner/management responses to reviews |
| `proxyConfiguration` | object | disabled | Proxy settings to reduce blocking risk |
| `pageDelay` | integer | `2000` | Delay in milliseconds between paginated requests |
| `concurrency` | integer | `2` | Number of properties to scrape in parallel |

#### Example Input (JSON)

```json
{
  "startUrls": [
    {
      "url": "https://www.tripadvisor.com/Hotel_Review-g60763-d208453-Reviews-Hilton_New_York_Times_Square-New_York_City_New_York.html"
    }
  ],
  "maxReviews": 50,
  "sinceDate": "2023-01-01",
  "scrapeReviewerInfo": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

#### Supported URL Formats

The actor accepts any TripAdvisor property URL for hotels, restaurants, or attractions:

```
https://www.tripadvisor.com/Hotel_Review-g60763-d93589-Reviews-New_York_Marriott_Marquis-New_York_City_New_York.html
https://www.tripadvisor.com/Restaurant_Review-g60763-d478763-Reviews-Nobu_Fifty_Seven-New_York_City_New_York.html
https://www.tripadvisor.com/Attraction_Review-g60763-d89874-Reviews-Empire_State_Building-New_York_City_New_York.html
```

***

### � Output Sample

Results are delivered to a dedicated dataset. You can export them in your preferred format (JSON, XML, CSV, Excel, or HTML). Below is a sample record:

```json
{
  "title": "Absolutely stunning views and impeccable service",
  "rating": 5,
  "travelDate": "2024-11",
  "publishedDate": "2024-11-15",
  "text": "We stayed for our anniversary and the experience exceeded every expectation...",
  "url": "https://www.tripadvisor.com/ShowUserReviews-g60763-d93589-r975823641.html",
  "reviewTip": "Book the corner room for panoramic city views",
  "helpfulVotes": 12,
  "images": [
    "https://media-cdn.tripadvisor.com/media/photo-s/1a/b2/c3/d4/room-view.jpg"
  ],
  "user": {
    "name": "TravellerJane2024",
    "userLocation": { "name": "London, United Kingdom" },
    "contributions": { "totalContributions": 48 },
    "link": "www.tripadvisor.com/Profile/TravellerJane2024"
  },
  "ownerResponse": {
    "text": "Thank you so much for your kind words! We're thrilled you enjoyed your stay...",
    "publishedDate": "2024-11-17",
    "responder": "General Manager"
  },
  "placeInfo": {
    "name": "New York Marriott Marquis",
    "rating": 4.5,
    "numberOfReviews": 12483,
    "locationString": "New York City, New York",
    "address": "1535 Broadway, New York City, NY 10036",
    "latitude": 40.7580,
    "longitude": -73.9855,
    "website": "https://www.marriott.com/hotels/travel/nycmq"
  },
  "reviewId": 975823641,
  "scrapedAt": "2025-01-15T10:32:45.123Z"
}
```

#### Output Fields Reference

| Field | Type | Description |
|-------|------|-------------|
| `title` | string | Review headline |
| `rating` | integer | Star rating (1–5) |
| `travelDate` | string | Month of travel (`YYYY-MM`) |
| `publishedDate` | string | Date the review was published (`YYYY-MM-DD`) |
| `text` | string | Full review body text |
| `url` | string | Direct link to the review on TripAdvisor |
| `reviewTip` | string | Short tip left by the reviewer |
| `helpfulVotes` | integer | Number of helpful votes on the review |
| `images` | string\[] | Photo URLs attached to the review |
| `user` | object|null | Reviewer profile (name, location, contributions, avatar, link) |
| `ownerResponse` | object|null | Management response (text, date, responder name) |
| `placeInfo` | object | Property details (name, rating, address, coordinates, website) |
| `reviewId` | integer | TripAdvisor internal review ID |
| `scrapedAt` | string | ISO timestamp of when this record was scraped |

***

# Actor input Schema

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

One or more TripAdvisor property URLs (hotels, restaurants, attractions). Each URL must contain the property ID in the format -d{id}-.

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

Maximum number of reviews to scrape per property. Set to 0 for unlimited.

## `scrapeReviewerInfo` (type: `boolean`):

Include reviewer profile details (name, avatar, location, contribution count) in the output.

## `sinceDate` (type: `string`):

Only return reviews published on or after this date (YYYY-MM-DD). Leave empty for all dates.

## `reviewRatings` (type: `array`):

Filter by star rating. Leave empty to include all ratings.

## `languages` (type: `array`):

Filter reviews by language. Leave empty to include all languages.

## `sortBy` (type: `string`):

Sort order for reviews.

## `includeImages` (type: `boolean`):

Extract photo URLs attached to reviews.

## `includeHotelResponses` (type: `boolean`):

Extract owner/management responses to reviews.

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

Proxy settings to reduce blocking risk. Recommended for large scrapes.

## `pageDelay` (type: `integer`):

Delay in milliseconds between paginated API requests. Higher = safer but slower.

## `concurrency` (type: `integer`):

Number of properties to scrape in parallel. Keep at 1–2 to avoid blocks.

## `debugMode` (type: `boolean`):

Enable verbose logging for troubleshooting.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.tripadvisor.com/Hotel_Review-g60763-d208453-Reviews-Hilton_New_York_Times_Square-New_York_City_New_York.html"
    }
  ],
  "maxReviews": 100,
  "scrapeReviewerInfo": true,
  "reviewRatings": [],
  "languages": [],
  "sortBy": "DATE_OF_STAY_DESCENDING",
  "includeImages": true,
  "includeHotelResponses": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "pageDelay": 2000,
  "concurrency": 2,
  "debugMode": false
}
```

# 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 = {
    "startUrls": [
        {
            "url": "https://www.tripadvisor.com/Hotel_Review-g60763-d208453-Reviews-Hilton_New_York_Times_Square-New_York_City_New_York.html"
        }
    ],
    "maxReviews": 100,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("crucial_binoculars/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 = {
    "startUrls": [{ "url": "https://www.tripadvisor.com/Hotel_Review-g60763-d208453-Reviews-Hilton_New_York_Times_Square-New_York_City_New_York.html" }],
    "maxReviews": 100,
    "proxyConfiguration": { "useApifyProxy": False },
}

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

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

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

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://www.tripadvisor.com/Hotel_Review-g60763-d208453-Reviews-Hilton_New_York_Times_Square-New_York_City_New_York.html"
    }
  ],
  "maxReviews": 100,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call crucial_binoculars/tripadvisor-reviews-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,crucial_binoculars/tripadvisor-reviews-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/VOjoxywiTbdQoe4lu/builds/SMhZMXskmibeCtfqd/openapi.json
