# 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 a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/integrations/mcp.md).

If your project is in a different language, use 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

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Tripadvisor Reviews Scraper",
        "version": "0.1",
        "x-build-id": "8zCVWpWvERkaa9xDj"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/good-apis~tripadvisor-reviews-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-good-apis-tripadvisor-reviews-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/good-apis~tripadvisor-reviews-scraper/runs": {
            "post": {
                "operationId": "runs-sync-good-apis-tripadvisor-reviews-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/good-apis~tripadvisor-reviews-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-good-apis-tripadvisor-reviews-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "url"
                ],
                "properties": {
                    "url": {
                        "title": "Place URL",
                        "type": "string",
                        "description": "TripAdvisor place URL (Hotel_Review / Restaurant_Review / Attraction_Review …)"
                    },
                    "offset": {
                        "title": "Start from (offset)",
                        "minimum": 0,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Review offset to START from (0, 10, 20, …)",
                        "default": 0
                    },
                    "max_reviews": {
                        "title": "Max reviews",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "How many reviews to return. Above 10 the scraper pages through the review pages to gather more.",
                        "default": 10
                    },
                    "language": {
                        "title": "Review language",
                        "enum": [
                            "en",
                            "fr",
                            "de",
                            "it",
                            "es",
                            "pt",
                            "nl",
                            "ru",
                            "ja",
                            "ko",
                            "sv",
                            "da",
                            "tr",
                            "zhCN",
                            "zhTW"
                        ],
                        "type": "string",
                        "description": "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": {
                        "title": "TripAdvisor country site",
                        "enum": [
                            "us",
                            "gb",
                            "au",
                            "ca",
                            "ie",
                            "in",
                            "fr",
                            "de",
                            "it",
                            "es",
                            "br",
                            "mx",
                            "nl",
                            "ru",
                            "jp",
                            "kr",
                            "pt",
                            "se",
                            "dk",
                            "tr",
                            "hk",
                            "cn"
                        ],
                        "type": "string",
                        "description": "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": {
                        "title": "Show original (untranslated) text",
                        "type": "boolean",
                        "description": "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.",
                        "default": false
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
