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

Scrape hotel, restaurant, and attraction reviews, ratings, and owner replies from Tripadvisor by listing page URL.

- **URL**: https://apify.com/one\_house/tripadvisor-reviews-scraper.md
- **Developed by:** [One House](https://apify.com/one_house) (community)
- **Categories:** Other, Integrations, Travel
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.75 / 1,000 results

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/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

Extract **hotel, restaurant, and attraction reviews** from [Tripadvisor](https://www.tripadvisor.com) using just a listing page URL. Get full review text, ratings, author profiles, stay dates, photos, and owner replies — ready for reputation monitoring, competitor benchmarking, or feeding an AI/BI pipeline.

Just paste a Tripadvisor URL, click **Start**, and download the results — no proxy or setup of any kind required. Runs on the Apify platform, so you get scheduling, API access, and webhooks out of the box.

### What you get

- Review rating (1–5), title, and full text
- Original language and machine-translation flag
- Published date, stay date, and trip type (family, couples, business, ...)
- Author name, profile URL, avatar, verification status, and contribution count
- Helpful vote count and review photos
- Hotel/business owner replies (management response)
- Listing name, aggregate rating, and total review count
- Full raw API object for advanced/custom use

### How to use Tripadvisor Reviews Scraper

1. Open this Actor and click **Start**
2. Add one or more Tripadvisor listing URLs under **Listing URLs** — hotel, restaurant, or attraction pages all work
3. Set **Max reviews per listing** (`0` = scrape everything available)
4. Optionally restrict to specific review languages
5. Run and download results from the **Dataset** tab

No proxy setup needed — the Actor is pre-configured to route around Tripadvisor's DataDome bot protection automatically.

#### Supported URLs

Any Tripadvisor country domain works — `tripadvisor.com`, `.com.tr`, `.co.uk`, `.de`, etc. — as long as the URL contains a location id, e.g.:

- `https://www.tripadvisor.com/Hotel_Review-g297550-d33877721-Reviews-Xanadu_Club_Makadi_Bay-Makadi_Bay_Hurghada_Red_Sea_and_Sinai.html`
- `https://www.tripadvisor.com.tr/Hotel_Review-g297550-d33877721-Reviews-...html`
- `https://www.tripadvisor.com/Restaurant_Review-g187147-d123456-Reviews-...html`

### Input

| Field | Description |
| --- | --- |
| `startUrls` | Tripadvisor hotel/restaurant/attraction page URLs |
| `maxReviews` | Max reviews to scrape per listing (`0` = all) |
| `languages` | Optional list of Tripadvisor language codes (e.g. `en`, `tr`, `de`) to only scrape reviews originally written in those languages |
| `translateReviewsTo` | Optional Tripadvisor language code to machine-translate review text into. Leave empty to get each review's original wording |
| `ratings` | Optional list of star ratings (`1`-`5`) to filter reviews by |
| `since` | Only scrape reviews published on or after this date (`YYYY-MM-DD`) |
| `startPage` | Review page to start from (20 reviews/page) — useful to resume a previous run |
| `sortReviewsBy` | `RECOMMENDED` (default), `DATE` (strict newest-first), `RATING` (highest rated first), or `FAVORABLE_RATING` (Tripadvisor's own "most helpful" ranking) |

By default (no `translateReviewsTo`) `text` comes back exactly as the reviewer wrote it. Every review also reports `language`, `originalLanguage`, and `isMachineTranslated` regardless of this setting, so you can always tell what you're looking at.
| `customMapFunction` | Optional JS function, e.g. `(item) => ({ ...item, myField: 1 })`, to transform each review before it's saved (transformation only, doesn't filter) |

Example input:

```json
{
  "startUrls": [
    { "url": "https://www.tripadvisor.com/Hotel_Review-g297550-d33877721-Reviews-Xanadu_Club_Makadi_Bay-Makadi_Bay_Hurghada_Red_Sea_and_Sinai.html" }
  ],
  "maxReviews": 200
}
```

### Output

Each dataset item is one review. You can download the dataset in JSON, CSV, Excel, HTML, and other formats from the **Dataset** tab.

```json
{
  "reviewId": "1071537918",
  "reviewUrl": "https://www.tripadvisor.com.tr/ShowUserReviews-g297550-d33877721-r1071537918-....html",
  "rating": 5,
  "title": "Relaxing, friendly staff, wonderful beach, good location",
  "text": "I think I spent one of the best and most relaxing weeks of my life here...",
  "language": "en",
  "originalLanguage": "en",
  "isMachineTranslated": false,
  "publishedAt": "2026-08-04T00:00:00.000Z",
  "travelDate": "2026-07-31T00:00:00.000Z",
  "tripType": "FAMILY",
  "authorName": "Csenge O",
  "authorProfileUrl": "https://www.tripadvisor.com.tr/Profile/...",
  "authorContributions": 12,
  "helpfulVotes": 0,
  "photos": ["https://dynamic-media-cdn.tripadvisor.com/media/photo-o/..."],
  "managementResponse": {
    "text": "Dear Guest, thank you for your kind words...",
    "publishedAt": "2026-08-05T00:00:00.000Z",
    "authorName": "Xanadu Hotels",
    "authorRole": "Other"
  },
  "hotelName": "Xanadu Club Makadi Bay",
  "hotelRatingValue": 4.9,
  "hotelReviewCount": 292,
  "source": "tripadvisor"
}
```

#### Data table

| Field | Description |
| --- | --- |
| `rating` | Review score, 1–5 |
| `title` / `text` | Review headline and full body |
| `publishedAt` / `travelDate` | When the review was published / the stay took place |
| `tripType` | Family, couples, business, solo, friends |
| `authorName` / `authorProfileUrl` / `authorContributions` | Reviewer identity and activity level |
| `photos` | Array of review photo URLs |
| `managementResponse` | Owner/manager reply, if any |
| `hotelName` / `hotelRatingValue` / `hotelReviewCount` | Listing-level context on every row |

### How much does it cost to scrape Tripadvisor?

Tripadvisor reviews are lightweight to process — the Actor opens one browser session per listing and reuses it for all pagination requests, rather than a new page load per review. A typical run scraping a few hundred reviews from one listing uses a small fraction of the Apify free tier's compute units. No proxy costs are passed on to you.

### Tips

- Tripadvisor is protected by DataDome bot detection. The Actor handles this internally with a pre-configured proxy — Datacenter proxies and no-proxy setups get blocked almost immediately, which is why proxy choice isn't exposed as an input.
- To scrape many listings efficiently, add them all to **Listing URLs** in one run instead of running the Actor multiple times.
- Use the `languages` filter if you only care about reviews in specific languages — it reduces the number of items returned, not the request count.

### FAQ & limitations

- This Actor scrapes publicly available review data. Use responsibly and in line with Tripadvisor's Terms of Service and applicable law in your jurisdiction.
- Subratings (value, cleanliness, service, etc.) are included when Tripadvisor provides them for a given review, but not every review has them.
- Exact "published" dates are day-level (Tripadvisor doesn't expose time-of-day for reviews).
- Found a bug or need a custom field? Open an issue in the Actor's **Issues** tab, or reach out about a tailored scraping solution.

# Actor input Schema

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

Tripadvisor hotel, restaurant, or attraction page URLs. Any Tripadvisor country domain works (tripadvisor.com, .com.tr, .co.uk, ...).

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

Maximum number of reviews to scrape per listing. Set 0 for all available reviews.

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

Only scrape reviews originally written in these languages (Tripadvisor language codes, e.g. "en", "tr", "de"). Leave empty to scrape reviews in all languages.

## `translateReviewsTo` (type: `string`):

Tripadvisor language code (e.g. "en", "tr", "de") to machine-translate review text into. Leave empty (default) to get each review's original, untranslated text - the original language and a "was this translated" flag are always included in the output either way.

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

Only scrape reviews with these star ratings. Leave empty for all ratings.

## `since` (type: `string`):

Only scrape reviews published on or after this date (YYYY-MM-DD). Leave empty for all reviews. Pairs best with "Sort reviews by" = Most recent, otherwise every page still has to be scanned.

## `startPage` (type: `integer`):

Review page to start from (20 reviews per page). Use this to resume a previous run or skip already-scraped pages.

## `sortReviewsBy` (type: `string`):

Order to fetch reviews in.

## `customMapFunction` (type: `string`):

Optional JavaScript function to transform each review object before it's saved, e.g. "(item) => ({ ...item, myField: 1 })". Transformation only - it cannot filter items out.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.tripadvisor.com/Hotel_Review-g297550-d33877721-Reviews-Xanadu_Club_Makadi_Bay-Makadi_Bay_Hurghada_Red_Sea_and_Sinai.html"
    }
  ],
  "maxReviews": 100,
  "languages": [],
  "translateReviewsTo": "",
  "ratings": [],
  "since": "",
  "startPage": 1,
  "sortReviewsBy": "RECOMMENDED",
  "customMapFunction": ""
}
```

# 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-g297550-d33877721-Reviews-Xanadu_Club_Makadi_Bay-Makadi_Bay_Hurghada_Red_Sea_and_Sinai.html"
        }
    ],
    "maxReviews": 100,
    "startPage": 1
};

// Run the Actor and wait for it to finish
const run = await client.actor("one_house/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-g297550-d33877721-Reviews-Xanadu_Club_Makadi_Bay-Makadi_Bay_Hurghada_Red_Sea_and_Sinai.html" }],
    "maxReviews": 100,
    "startPage": 1,
}

# Run the Actor and wait for it to finish
run = client.actor("one_house/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-g297550-d33877721-Reviews-Xanadu_Club_Makadi_Bay-Makadi_Bay_Hurghada_Red_Sea_and_Sinai.html"
    }
  ],
  "maxReviews": 100,
  "startPage": 1
}' |
apify call one_house/tripadvisor-reviews-scraper --silent --output-dataset

```

## MCP server setup

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