# TripAdvisor Reviews Scraper (`mina_safwat/tripadvisor-reviews-scraper`) Actor

Scrapes TripAdvisor reviews of hotels, restaurants, attractions and tours: text, rating, dates, trip type, reviewer, owner responses and photos, plus the place's rating, ranking and address.

- **URL**: https://apify.com/mina_safwat/tripadvisor-reviews-scraper.md
- **Developed by:** [Mina](https://apify.com/mina_safwat) (community)
- **Categories:** Travel, Marketing, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.40 / 1,000 reviews

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

### What does TripAdvisor Reviews Scraper do?

**TripAdvisor Reviews Scraper** collects **reviews of hotels, restaurants,
attractions and tours** from [TripAdvisor](https://www.tripadvisor.com): the
**review text and title, star rating, publish date, travel date, trip type,
helpful votes, language, owner responses, sub-ratings and photos**, plus the
reviewer's public display name and hometown. Every row also carries the
place's **name, overall rating, review count, ranking and address**.

Paste place links from any TripAdvisor site (tripadvisor.com, .co.uk, .de,
.fr, .it, .es and the other country sites), click **Start**, and the first 20
reviews of the prefilled hotel arrive in about 20 seconds. Because it runs on
the Apify platform, you also get API access, scheduled runs, integrations
(Google Sheets, Make, Zapier, webhooks), run monitoring and automatic proxy
rotation.

### Why scrape TripAdvisor reviews?

- **Reputation monitoring**: follow what guests say about your hotel,
  restaurant or tour every day, including how and when you replied.
- **Competitor analysis**: compare ratings, trip types and complaints across
  the places you compete with.
- **Sentiment analysis and AI datasets**: feed thousands of reviews with
  ratings and languages into your models.
- **Market research**: see what travellers from each country praise or
  dislike in a destination.
- **Service recovery**: pull only the 1- and 2-star reviews to find the
  problems that need fixing.

### How to scrape TripAdvisor reviews

1. Open a hotel, restaurant, attraction or tour on TripAdvisor and copy the
   address bar, such as
   `https://www.tripadvisor.com/Hotel_Review-g60763-d93450-Reviews-Hyatt_Grand_Central_New_York-New_York_City_New_York.html`.
2. Paste it into **TripAdvisor links**, one link per line. Links from any
   country site work, and so does a link to a single review.
3. Set **Max reviews per place**, or `0` for every review. Reviews come
   newest first (a review the owner pinned can come before them).
4. Optionally pick **Languages** and **Star ratings** to keep.
5. Click **Start**, then download the results when the run finishes.

### Input

Everything is set on the Input tab. In JSON, the input looks like this:

```json
{
    "startUrls": [
        "https://www.tripadvisor.com/Hotel_Review-g60763-d93450-Reviews-Hyatt_Grand_Central_New_York-New_York_City_New_York.html",
        "https://www.tripadvisor.co.uk/Restaurant_Review-g186338-d10165006-Reviews-Padella-London_England.html",
        { "url": "https://www.tripadvisor.de/Attraction_Review-g60763-d103887-Reviews-Statue_of_Liberty-New_York_City_New_York.html" }
    ],
    "maxReviewsPerPlace": 100,
    "languages": ["en", "de"],
    "ratings": ["1", "2"],
    "includeMachineTranslations": false
}
```

| Field | What it does |
|---|---|
| `startUrls` | Hotel (`Hotel_Review`), restaurant (`Restaurant_Review`), attraction (`Attraction_Review`) or tour (`AttractionProductReview`) links from any TripAdvisor site. A single review link (`ShowUserReviews`) reads that review's place. Plain strings and `{"url": ...}` objects both work, with or without `https://`. |
| `maxReviewsPerPlace` | Stops after this many reviews per place, newest first (a review the owner pinned can come first). Default: 100. `0` reads every review. |
| `languages` | Language codes such as `en`, `de`, `fr`, `es`, `it`, `ja` or `zhTW` to keep only reviews written in those languages. Empty (the default) reads all languages. With several codes, the Actor reads them in order until the limit is reached. |
| `ratings` | Star ratings to keep, from `"1"` to `"5"`. Empty (the default) keeps every rating. |
| `includeMachineTranslations` | Off by default: each review is saved once, in the language it was written in. Turn it on to also save TripAdvisor's machine translations, as TripAdvisor shows them. |

### Output

Each review is one row. Here is a real one, with its text shortened:

```json
{
    "reviewId": 1082857698,
    "reviewUrl": "https://www.tripadvisor.com/ShowUserReviews-g60763-d93450-r1082857698-Hyatt_Grand_Central_New_York-New_York_City_New_York.html",
    "title": "Satisfactory hotel. Great location.",
    "text": "Big Corporate Box. Good central station location and travel connections. Hotel is a little tired. …",
    "rating": 4,
    "publishedAt": "2026-10-23T03:56:33+00:00",
    "travelDate": "2026-10",
    "tripType": null,
    "language": "en",
    "originalLanguage": "en",
    "isMachineTranslated": false,
    "helpfulVotes": 0,
    "subRatings": null,
    "photos": [
        "https://dynamic-media-cdn.tripadvisor.com/media/v2/photo-o/34/ff/65/36/image.jpg?w=5712&h=4284&s=1",
        "https://dynamic-media-cdn.tripadvisor.com/media/v2/photo-o/34/ff/65/37/image.jpg?w=5712&h=4284&s=1"
    ],
    "reviewerName": "Fitblue",
    "reviewerLocation": "Norwich, United Kingdom",
    "ownerResponse": null,
    "ownerResponseDate": null,
    "placeId": 93450,
    "placeName": "Hyatt Grand Central New York",
    "placeType": "hotel",
    "placeUrl": "https://www.tripadvisor.com/Hotel_Review-g60763-d93450-Reviews-Hyatt_Grand_Central_New_York-New_York_City_New_York.html",
    "placeRating": 3.5,
    "placeReviewCount": 15050,
    "placeRanking": "#420 of 530 hotels in New York City",
    "placeAddress": "109 East 42nd Street Grand Central Terminal, New York City, New York, 10017-8500, US",
    "startUrl": "https://www.tripadvisor.com/Hotel_Review-g60763-d93450-Reviews-Hyatt_Grand_Central_New_York-New_York_City_New_York.html",
    "scrapedAt": "2026-10-24T09:30:29.101422+00:00"
}
```

The Output tab has two views, **Reviews** and **Place details**. You can
download the dataset in various formats such as JSON, HTML, CSV, or Excel.

### Data fields

| Field | Description |
|---|---|
| `reviewId` | TripAdvisor's review number. |
| `reviewUrl` | Link to the review, on the TripAdvisor site you pasted. |
| `title`, `text` | The review's title and full text. |
| `rating` | Star rating from 1 to 5. |
| `publishedAt` | When the review was submitted (UTC, ISO 8601). |
| `travelDate` | When the reviewer stayed or visited, as precise as they gave it: `2026-10` or `2026-10-05`. |
| `tripType` | `family`, `couples`, `solo`, `business` or `friends`, when the reviewer said. |
| `language` | Language of `text`. |
| `originalLanguage` | The language the review was written in. The same as `language` unless you turned on machine translations. |
| `isMachineTranslated` | `true` only for machine-translated copies, which are saved only when `includeMachineTranslations` is on. |
| `helpfulVotes` | How many readers marked the review helpful. |
| `subRatings` | Ratings for parts of the visit, such as `{"Rooms": 4, "Service": 3}`, when given. |
| `photos` | Full-size links to the reviewer's photos. |
| `reviewerName` | The reviewer's public display name. |
| `reviewerLocation` | The hometown shown on the review, when the reviewer set one. |
| `ownerResponse`, `ownerResponseDate` | The management response and when it was posted (UTC). |
| `placeId`, `placeName`, `placeType`, `placeUrl` | The place: TripAdvisor id, name, `hotel` / `restaurant` / `attraction` / `tour`, and link. |
| `placeRating`, `placeReviewCount` | The place's overall rating and total number of reviews. |
| `placeRanking` | Its ranking, such as `#11 of 2,811 things to do in New York City`. |
| `placeAddress` | Its street address. |
| `startUrl` | The link the review was found through. |
| `scrapedAt` | When the row was saved. |

### How much does it cost to scrape TripAdvisor reviews?

TripAdvisor Reviews Scraper uses **pay-per-event** pricing: you pay for each
review saved, and the exact price is on the **Pricing** tab. Links that return
nothing (a removed place, a filter with no matches, a link that isn't a place)
are never saved as rows, so you are not charged for them. If you set a maximum
cost for a run, the Actor stops as soon as it is reached.

The Actor is fast and light: it reads reviews from TripAdvisor's own data
service, 60 reviews per request, so 1,000 reviews take well under a minute.
A language filter on a place whose reviews are mostly in other languages
reads more pages to find enough originals, which takes longer but costs you
nothing extra: you pay only for reviews saved.

### Tips for scraping TripAdvisor

- **Monitor new reviews** with a daily schedule and a small
  `maxReviewsPerPlace`: reviews come newest first, except that a review the
  owner pinned to the top of the page can come first whatever its date.
- **Read complaints only** by picking star ratings 1 and 2.
- **Original text only.** TripAdvisor shows some reviews as machine
  translations, and with a language filter most of its results are
  translations of reviews written in other languages. The Actor skips those
  copies and saves every review once, in the language it was written in (it
  fetches the original of any review TripAdvisor served translated). A
  language filter therefore returns only reviews written in that language,
  which can be far fewer than TripAdvisor's count for it.
- **Many places at once**: paste as many links as you like; three places are
  read at the same time.
- Each review is saved only once per run, even when several links lead to it.

### FAQ, disclaimers and support

**Which places can be scraped?** Any hotel, restaurant, attraction or tour
page with public reviews on TripAdvisor. Flights, vacation rentals, forums and
city or list pages are not supported; such links are listed in the
`FAILED_INPUTS` record with the reason.

**Why are some place details empty?** Tours have no ranking or street
address on TripAdvisor, so those two fields are `null` for them. For other
places, ranking and address come from the place's page. On the rare run where TripAdvisor refuses that page every time,
the reviews are still saved with the place's name, rating and review count,
and a warning appears in the log.

**What happens to links that give nothing?** Each one is listed in the
`FAILED_INPUTS` record of the run's key-value store with a plain reason, and
the run's status message sums it up. The run fails only when every link
failed because TripAdvisor or the network refused it.

**Is it legal to scrape TripAdvisor?** This Actor reads only publicly visible
reviews and does not log in. Reviews contain personal data, such as reviewer
names and hometowns, which laws like the GDPR protect. Only collect what you
have a legitimate reason to process, and check TripAdvisor's terms and your
local laws for your use case. If you are unsure, ask a lawyer.

**Support.** Found a bug or need another field? Open an issue on the
**Issues** tab and we'll look at it quickly. Need a custom solution or a
different site? Ask there too.

# Actor input Schema

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

Hotel, restaurant, attraction or tour pages, one per line, from any TripAdvisor site (tripadvisor.com, .co.uk, .de, .fr, .it, .es and the rest). Open the place on TripAdvisor and copy the address bar. A link to a single review reads that review's place. Links that are not places are listed in the FAILED_INPUTS record.

## `maxReviewsPerPlace` (type: `integer`):

Stops after this many reviews for each place, newest first. Set 0 to get every review.

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

Leave empty for reviews in all languages. Or enter language codes such as en, de, fr, es, it, ja or zhTW to get only reviews written in those languages. Each review is saved once, in the language it was written in.

## `ratings` (type: `array`):

Leave empty for every rating, or pick the ratings to keep, for example only 1 and 2 stars to read complaints.

## `includeMachineTranslations` (type: `boolean`):

TripAdvisor shows some reviews as machine translations, and with a language filter most of its results are translations of reviews written in other languages. Off (the default): every review is saved once, in its original language. On: translated copies are saved as TripAdvisor shows them (isMachineTranslated is true), and with no language filter they replace the original.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.tripadvisor.com/Hotel_Review-g60763-d93450-Reviews-Hyatt_Grand_Central_New_York-New_York_City_New_York.html"
  ],
  "maxReviewsPerPlace": 20,
  "languages": [],
  "ratings": [],
  "includeMachineTranslations": false
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

# 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": [
        "https://www.tripadvisor.com/Hotel_Review-g60763-d93450-Reviews-Hyatt_Grand_Central_New_York-New_York_City_New_York.html"
    ],
    "maxReviewsPerPlace": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("mina_safwat/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": ["https://www.tripadvisor.com/Hotel_Review-g60763-d93450-Reviews-Hyatt_Grand_Central_New_York-New_York_City_New_York.html"],
    "maxReviewsPerPlace": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("mina_safwat/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": [
    "https://www.tripadvisor.com/Hotel_Review-g60763-d93450-Reviews-Hyatt_Grand_Central_New_York-New_York_City_New_York.html"
  ],
  "maxReviewsPerPlace": 20
}' |
apify call mina_safwat/tripadvisor-reviews-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mina_safwat/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/sHA9U9dldboj0fBFt/builds/uFryIidzT74Om48c8/openapi.json
