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

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

## Pricing

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

Pull traveler reviews for any Tripadvisor place — **hotel, restaurant, or attraction** — straight from
its page URL. Each review returns the **rating, title, full review text, author, date, and the language
it's shown in**. No login, no browser to manage, fast JSON.

Give it a place URL and how many reviews you want; it pages through Tripadvisor's review list (10 per
page) and dedupes by review id. You can pick the **review language**, the **Tripadvisor country site**
to read from, and choose to get each review in the **traveler's original words** instead of
Tripadvisor's automatic translation.

**Pricing: $0.50 per 1,000 reviews** (pay per result) — you're only charged for reviews actually returned.

### What you get

Every review returns:

| Field | Description |
|---|---|
| `review_id` | Stable Tripadvisor review id (dedup key) |
| `rating` | Bubble score, 1–5 |
| `title` | Review title |
| `text` | Full review text |
| `author` | Reviewer's Tripadvisor profile handle |
| `date` | Written date (attractions/restaurants) or date of stay (hotels) |
| `language` | The language the returned text is in (e.g. `en`, `fr`, `it`) |

### Input

| Field | Required | Description |
|---|---|---|
| `url` | ✓ | Tripadvisor place URL (`Hotel_Review` / `Restaurant_Review` / `Attraction_Review` …) |
| `max_reviews` | | How many reviews to return (default 10, up to 500). Above 10 it pages automatically. |
| `offset` | | Review number to start from (0, 10, 20 …) |
| `language` | | Show reviews written in this language (dropdown). See list below. |
| `country` | | Which Tripadvisor country site to read from (dropdown). See list + note below. |
| `show_original_text` | | Return each review in the traveler's original language instead of the auto-translation. Off by default. |

```json
{ "url": "https://www.tripadvisor.com/Attraction_Review-g187147-d188151-Reviews-Eiffel_Tower-Paris_Ile_de_France.html", "max_reviews": 20, "language": "fr" }
```

### How `language`, `country`, and `show_original_text` work

Tripadvisor doesn't expose a review-language filter on the page URL. Instead, **each language lives on
its own Tripadvisor country site** — `tripadvisor.fr` shows French reviews, `tripadvisor.de` German,
`tripadvisor.it` Italian, `tripadvisor.com` English, and so on. This scraper uses that:

- **`language`** switches to the site that serves that language, so you get reviews in it. Example:
  `language=fr` → French reviews. If a place has few reviews in your chosen language, Tripadvisor fills
  in with reviews from other languages **machine-translated** into it.
- **`country`** picks a specific Tripadvisor country site (its point of view / locale). **Tripadvisor
  does not filter reviews by the reviewer's country — there is no such feature** — so `country` selects
  the *site/domain*, which sets the locale and the default review language. Use it to choose between
  same-language sites (e.g. `us` → tripadvisor.com vs `gb` → tripadvisor.co.uk, both English). If you
  set **both** `language` and `country`, the **language** decides the site (each country site has a
  fixed language).
- **`show_original_text`** returns each review in the language the traveler actually wrote it in. By
  default a foreign review is shown machine-translated into the site's language (e.g. an Italian review
  on tripadvisor.com is shown in English); turn this on to get the untranslated original instead.

#### `language` options

`en` English · `fr` French · `de` German · `it` Italian · `es` Spanish · `pt` Portuguese · `nl` Dutch ·
`ru` Russian · `ja` Japanese · `ko` Korean · `sv` Swedish · `da` Danish · `tr` Turkish ·
`zhCN` Chinese (Simplified) · `zhTW` Chinese (Traditional)

#### `country` options (Tripadvisor site)

`us` United States (tripadvisor.com) · `gb` United Kingdom (tripadvisor.co.uk) · `au` Australia ·
`ca` Canada · `ie` Ireland · `in` India · `fr` France · `de` Germany · `it` Italy · `es` Spain ·
`br` Brazil · `mx` Mexico · `nl` Netherlands · `ru` Russia · `jp` Japan · `kr` South Korea ·
`pt` Portugal · `se` Sweden · `dk` Denmark · `tr` Türkiye · `hk` Hong Kong · `cn` China

### Example output

```json
{
  "review_id": "1059555032",
  "rating": 5.0,
  "title": "We had a great time.",
  "text": "We had a great time. Typical cuisine. First serve. Location in harmony with the context.",
  "author": "someTraveler",
  "date": "June 2026",
  "language": "en"
}
```

With `show_original_text: true` the same review comes back untranslated:

```json
{ "review_id": "1059555032", "text": "Siamo stati bene. Cucina tipica. Primo servizio. Location in armonia con il contesto.", "language": "it" }
```

### Notes

- Reviews come back in Tripadvisor's default order (most recent first).
- The place URL must be a specific hotel/restaurant/attraction page (the one with `-Reviews-` in it).
- No data for a place simply means it has no reviews on that site — try a different `language`/`country`.

# Actor input Schema

## `url` (type: `string`):

TripAdvisor place URL (Hotel\_Review / Restaurant\_Review / Attraction\_Review …)

## `offset` (type: `integer`):

Review offset to START from (0, 10, 20, …)

## `max_reviews` (type: `integer`):

How many reviews to return. Above 10 the scraper pages through the review pages to gather more.

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

Show reviews written in this language. Each language lives on its own TripAdvisor site, so this switches to that site (e.g. French → tripadvisor.fr). Leave blank for the site's default (usually English).

## `country` (type: `string`):

Which TripAdvisor country site to read from (the point of view). TripAdvisor does NOT filter reviews by the reviewer's country — this picks the site/domain (e.g. United Kingdom → tripadvisor.co.uk), which sets the locale and default review language. If you also set a language, the language decides the site.

## `show_original_text` (type: `boolean`):

Return each review in the language the traveler actually wrote it in, instead of TripAdvisor's automatic translation into the site language. Off by default.

## Actor input object example

```json
{
  "url": "https://www.tripadvisor.com/Attraction_Review-g187147-d188151-Reviews-Eiffel_Tower-Paris_Ile_de_France.html",
  "offset": 0,
  "max_reviews": 10,
  "show_original_text": false
}
```

# Actor output Schema

## `results` (type: `string`):

All scraped items 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 = {
    "url": "https://www.tripadvisor.com/Attraction_Review-g187147-d188151-Reviews-Eiffel_Tower-Paris_Ile_de_France.html"
};

// Run the Actor and wait for it to finish
const run = await client.actor("good-apis/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 = { "url": "https://www.tripadvisor.com/Attraction_Review-g187147-d188151-Reviews-Eiffel_Tower-Paris_Ile_de_France.html" }

# Run the Actor and wait for it to finish
run = client.actor("good-apis/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 '{
  "url": "https://www.tripadvisor.com/Attraction_Review-g187147-d188151-Reviews-Eiffel_Tower-Paris_Ile_de_France.html"
}' |
apify call good-apis/tripadvisor-reviews-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/NAeaIdGv3ZhcoX6Pm/builds/8zCVWpWvERkaa9xDj/openapi.json
