# Tripadvisor Scraper - Hotels, Restaurants, Attractions, Reviews (`rjmacarthy/tripadvisor-scraper`) Actor

Scrape Tripadvisor reviews of hotels, restaurants and attractions (rating, full text, trip type, date of stay, sub-ratings, owner response) and lists of places by city (rating, review count, ranking, price, address, coordinates). Monitor mode outputs only new reviews.

- **URL**: https://apify.com/rjmacarthy/tripadvisor-scraper.md
- **Developed by:** [rj](https://apify.com/rjmacarthy) (community)
- **Categories:** Travel, MCP servers
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 review scrapeds

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

## Tripadvisor Scraper - Hotels, Restaurants, Attractions & Reviews

Scrape **Tripadvisor reviews** of any hotel, restaurant or attraction - rating, full text, date of stay, trip type
(couples, family, business...), sub-ratings (rooms, service, food...), the **management response**, the original language
and the reviewer's hometown - and **lists of places** for any city: rating, review count, ranking, price, address and
coordinates. Reviews cost **$0.0008 each (2.4x cheaper than the market leader)**, places $0.001, and the **"only new
reviews" monitor** lets hotels and restaurants track their own and their rivals' reviews on a schedule. Page fetching is
built in and fetches Tripadvisor pages reliably from Apify.

### What data can you get?

| Reviews mode (one row per review) | Places mode (one row per place) |
|---|---|
| Review id, URL, rating (1-5), title, full text | Place id, name, URL, type (hotel / restaurant / attraction) |
| Published date, date of stay / visit (month) | Rating, number of reviews |
| Trip type: couples, family, friends, solo, business | Ranking, e.g. "#1 of 378 hotels in Lisbon" (hotels), list position |
| Sub-ratings: value, rooms, location, cleanliness, service, sleep quality / food, atmosphere | Lowest nightly price (hotels), price level $-$$$$ (restaurants) |
| Owner / management response text and date | Address, latitude, longitude |
| Original language + machine-translation flag | Category, cuisines (restaurants), amenities (hotels) |
| Helpful votes, photo count | Main photo URL |
| Reviewer hometown and contribution count (no name, no profile link) | Sponsored flag (paid placements are excluded unless you ask) |
| Place name, id, type and URL | |

### Use cases

- **Reputation monitoring:** schedule the monitor on your hotel or restaurant (and your competitors) and get only new reviews.
- **Review analytics / NLP:** sentiment, topics and sub-ratings across thousands of reviews, with owner response rates.
- **Competitor benchmarking:** compare ratings, review velocity and response behaviour of rival properties.
- **Lead lists and market maps:** every hotel, restaurant or attraction of a city with rating, price, address and coordinates.
- **Travel content:** top things to do in a destination with photos and categories.

### How to use

**Reviews of a hotel, restaurant or attraction** (paste the page URL from your browser):

```json
{
  "mode": "reviews",
  "urls": ["https://www.tripadvisor.com/Hotel_Review-g189158-d13402042-Reviews-Hotel_Da_Baixa-Lisbon_Lisbon_District_Central_Portugal.html"],
  "maxReviews": 100
}
```

**Only new reviews, for a daily or hourly schedule:**

```json
{
  "mode": "reviews",
  "urls": ["https://www.tripadvisor.com/Restaurant_Review-g189158-d1520116-Reviews-Floresta_Das_Escadinhas-Lisbon_Lisbon_District_Central_Portugal.html"],
  "maxReviews": 50,
  "monitorMode": "new",
  "stateKey": "my-restaurant-and-rivals"
}
```

**Reviews since a date, English originals only:**

```json
{ "mode": "reviews", "urls": ["https://www.tripadvisor.com/Attraction_Review-g189158-d195107-Reviews-Castelo_De_Sao_Jorge-Lisbon_Lisbon_District_Central_Portugal.html"], "maxReviews": 0, "minDate": "2026-10-01", "languages": ["en"] }
```

**Best restaurants in a city** (type the city, or paste a Tripadvisor list URL into `urls`):

```json
{ "mode": "places", "locations": ["Rome"], "placeType": "restaurants", "maxItems": 30 }
```

Inputs: `mode`, `urls`, `maxReviews` (default 50, 0 = all), `minDate`, `languages`, `monitorMode` (`all` / `new`),
`stateKey`, `locations`, `placeType` (`hotels` / `restaurants` / `attractions`), `maxItems` (default 100),
`includeSponsored`, `maxConcurrency` (default 5), **Max page requests per run** (page safety cap, 0 = automatic).

### Output example (real, trimmed)

```json
{
  "type": "review",
  "id": "1085440454",
  "url": "https://www.tripadvisor.com/ShowUserReviews-g189158-d13402042-r1085440454-Hotel_Da_Baixa-Lisbon_Lisbon_District_Central_Portugal.html",
  "placeId": 13402042,
  "placeName": "Hotel Da Baixa",
  "placeType": "hotel",
  "rating": 5,
  "title": "Definitely recommend",
  "text": "Great overall! Super cozy and clean. The staff is also very nice and helpful.",
  "language": "en",
  "isMachineTranslated": false,
  "publishedDate": "2026-11-14T10:23:59.769Z",
  "travelDate": "2026-11",
  "tripType": "friends",
  "helpfulVotes": 0,
  "subRatings": null,
  "photosCount": 0,
  "ownerResponseText": "Dear Friends,\n\nThank you so much for your lovely feedback! It's wonderful to know ...",
  "ownerResponseDate": "2026-11-18T14:45:41.703Z",
  "reviewerLocation": null,
  "reviewerContributions": 1,
  "scrapedAt": "2026-11-18T17:27:27.129Z"
}
```

```json
{
  "type": "place", "id": "195649", "placeType": "attraction", "name": "Alfama",
  "url": "https://www.tripadvisor.com/Attraction_Review-g189158-d195649-Reviews-Alfama-Lisbon_Lisbon_District_Central_Portugal.html",
  "rating": 4.5, "reviewCount": 21493, "position": 1, "category": "Neighborhoods",
  "latitude": 38.712547, "longitude": -9.130338, "isSponsored": false, "searchLocation": "Lisbon"
}
```

See `samples/sample-output.json` for full rows. The dataset has a **Reviews** view and a **Places** view.

### Pricing

Pay per result, no subscription:

- **`review`: $0.0008 per review** ($0.80 per 1,000)
- **`place`: $0.001 per place** ($1 per 1,000)
- Actor start: $0.00005

Examples: 1,000 reviews = $0.80. The 150 newest reviews of 10 hotels = 1,500 reviews = $1.20. Every hotel in a city
(top 300) = $0.30. A daily monitor on 5 restaurants that finds 20 new reviews a day = about $0.016 a day.
You pay only for rows delivered, never for pages, retries or failed attempts.

**Free Apify plan:** runs are limited to **5 Tripadvisor pages per run** (about 50 reviews, or 150 places from a list URL).
The run stops cleanly with a message when the limit is reached. Any paid Apify plan removes this limit.

### Tips and limits

- Reviews come **newest first**. One page holds 10 reviews (15 for restaurants) and takes about 2-15 seconds; pages are
  fetched 5 at a time, so 100 reviews usually take well under a minute.
- **Languages:** tripadvisor.com shows reviews written in other languages machine-translated into English. `language` is
  the original language and `isMachineTranslated` tells you whether `text` is a translation. The `languages` filter keeps
  originals in the languages you list; it works after download, so a rare language needs more pages.
- **Monitor mode** remembers the reviews it output (per `stateKey`) and stops at the first known review, so a run with nothing
  new costs nothing in results. On the first run it outputs up to `maxReviews` newest reviews. If more than `maxReviews` new
  reviews arrive between two runs, only the newest `maxReviews` are output.
- Places mode reads Tripadvisor's default list order (hotels: "best value"; restaurants and attractions: Tripadvisor's
  ranking). Attraction rows have no address (Tripadvisor's list doesn't show it), only coordinates.
- A `location` is matched with Tripadvisor's own destination search (best match); the run summary shows what it matched.
  Use a list URL when a name is ambiguous.
- Data is read from tripadvisor.com in English and USD, whatever country domain you paste.
- Pages that still fail after 4 attempts are skipped and reported in the run summary (`RUN_SUMMARY`), never charged.

### FAQ

**Is it legal?** The Actor reads only public pages, without logging in. It does not output reviewer names, usernames,
profile links, phone numbers or emails. Tripadvisor's terms prohibit scraping; you are responsible for how you use the data
and for complying with the terms and the laws (e.g. GDPR) that apply to you.

**Why is it slower than some scrapers?** Every page goes through the Actor's built-in page fetching, which takes a few
seconds per page but makes runs reliable from Apify.

**Do I need a proxy?** No. There is no proxy setting; the Actor handles access itself (you are not charged for it).

**Why do I get fewer reviews than the count on Tripadvisor?** The headline count on a place's page can be higher than
the number of reviews its review list serves on tripadvisor.com (e.g. 3,524 vs 3,223 for one hotel we tested). The run summary
shows the total the review list reports (`totalReviews`).

**Is there a free-plan limit?** Yes: on the free Apify plan each run reads at most 5 Tripadvisor pages. Upgrade to any
paid plan for unlimited runs.

**Can I get all reviews of a place?** Set `maxReviews` to 0. Large places have thousands of reviews; the run stops at
2,000 pages unless you set **Max page requests per run** lower.

### Integrations

Use the results via the Apify API (JSON, CSV, Excel), or connect the Actor to Make, Zapier, n8n, Google Sheets, Slack or
webhooks, and call it from AI agents through the Apify MCP server.

### Changelog

- 0.1 (2026-11-18): first release - reviews of hotels, restaurants and attractions; places by city or list URL; only-new
  reviews monitor; free-plan limit.

### More scrapers by the same developer

- [AI Visibility Tracker: ChatGPT, Perplexity, Gemini, Claude](https://apify.com/rjmacarthy/ai-search-visibility-tracker)
- [Apple App Store Scraper: Apps, Search & Reviews](https://apify.com/rjmacarthy/app-store-scraper)
- [AutoScout24 Scraper - Used Car Listings & Prices (Europe)](https://apify.com/rjmacarthy/autoscout24-scraper)
- [Bilibili Scraper - Videos, Search, Popular & Uploader Stats](https://apify.com/rjmacarthy/bilibili-scraper)
- [Bluesky Scraper - Posts, Profiles, Threads & Feeds (No Login)](https://apify.com/rjmacarthy/bluesky-scraper)
- [Bulk File Downloader - PDFs, Images & Files from URL Lists](https://apify.com/rjmacarthy/bulk-file-downloader)

Browse all my Actors on [my Apify Store profile](https://apify.com/rjmacarthy).

### Support

Found a bug or need a field? Open an issue on the Actor's Issues tab and include the run URL.

# Actor input Schema

## `mode` (type: `string`):

"reviews": one row per review of the pages in "Tripadvisor URLs". "places": one row per place for the "Locations" or list URLs.

## `urls` (type: `array`):

Reviews mode: hotel, restaurant or attraction pages (URLs containing Hotel_Review, Restaurant_Review or Attraction_Review). Places mode: list pages such as https://www.tripadvisor.com/Hotels-g189158-Lisbon_Lisbon_District_Central_Portugal-Hotels.html (Hotels-, Restaurants- or Attractions- URLs). Any Tripadvisor country domain works; data is read from tripadvisor.com in English.

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

Newest reviews first. One Tripadvisor page holds 10 reviews (15 for restaurants). 0 = every review (can be thousands).

## `minDate` (type: `string`):

Optional, YYYY-MM-DD. Paging stops at the first older review, so you only pay for the pages needed.

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

Optional, e.g. \["en", "pt"]: keep only reviews originally written in these languages (2-letter codes). Empty = all languages. Tripadvisor.com shows non-English reviews machine-translated into English; the "language" field always holds the original language and "isMachineTranslated" says whether the text is a translation. The filter is applied after download, so a rare language needs more pages.

## `monitorMode` (type: `string`):

For scheduled runs: "new" remembers every review it outputs and next time outputs only newer ones, stopping at the first known review (usually after 1 page per place).

## `stateKey` (type: `string`):

Separate memory for each monitor. Use one name per schedule (e.g. "my-hotels-and-rivals").

## `locations` (type: `array`):

Places mode: destinations as you would type them on Tripadvisor, e.g. "Lisbon", "Paris", "New York City". The best match is used (one extra page request per location); check "resolvedLocation" in the run summary.

## `placeType` (type: `string`):

Places mode, for "Locations". A list URL already says what it lists.

## `maxItems` (type: `integer`):

Places mode. One list page holds 30 places. 0 = no limit.

## `includeSponsored` (type: `boolean`):

Places mode: also output paid placements (flagged "isSponsored"). They can be outside the location you asked for.

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

Tripadvisor pages fetched at the same time. Each page takes about 3-15 seconds.

## `maxZyteRequests` (type: `integer`):

Safety cap on pages fetched per run. 0 = automatic (the pages your limits need plus 20%; 2,000 when a limit is 0). You are charged per row output, never per page. Free Apify plan: capped at 5 pages per run (upgrade to any paid plan for unlimited runs).

## Actor input object example

```json
{
  "mode": "reviews",
  "urls": [
    "https://www.tripadvisor.com/Hotel_Review-g189158-d13402042-Reviews-Hotel_Da_Baixa-Lisbon_Lisbon_District_Central_Portugal.html"
  ],
  "maxReviews": 10,
  "monitorMode": "all",
  "stateKey": "default",
  "placeType": "hotels",
  "maxItems": 100,
  "includeSponsored": false,
  "maxConcurrency": 5,
  "maxZyteRequests": 0
}
```

# Actor output Schema

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

One row per review.

## `places` (type: `string`):

One row per hotel, restaurant or attraction.

## `all` (type: `string`):

Every field of every row.

## `summary` (type: `string`):

Per-input status, counts, Zyte requests used and warnings.

# 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 = {
    "mode": "reviews",
    "urls": [
        "https://www.tripadvisor.com/Hotel_Review-g189158-d13402042-Reviews-Hotel_Da_Baixa-Lisbon_Lisbon_District_Central_Portugal.html"
    ],
    "maxReviews": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("rjmacarthy/tripadvisor-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 = {
    "mode": "reviews",
    "urls": ["https://www.tripadvisor.com/Hotel_Review-g189158-d13402042-Reviews-Hotel_Da_Baixa-Lisbon_Lisbon_District_Central_Portugal.html"],
    "maxReviews": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("rjmacarthy/tripadvisor-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 '{
  "mode": "reviews",
  "urls": [
    "https://www.tripadvisor.com/Hotel_Review-g189158-d13402042-Reviews-Hotel_Da_Baixa-Lisbon_Lisbon_District_Central_Portugal.html"
  ],
  "maxReviews": 10
}' |
apify call rjmacarthy/tripadvisor-scraper --silent --output-dataset

```

## MCP server setup

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