# Tripadvisor Reviews (`canadesk/tripadvisor-reviews-bulk`) Actor

Collect Tripadvisor reviews, ratings, location details and hotel review summaries for multiple hotels, restaurants, attractions and airlines.

- **URL**: https://apify.com/canadesk/tripadvisor-reviews-bulk.md
- **Developed by:** [Canadesk Support](https://apify.com/canadesk) (community)
- **Categories:** Social media, SEO tools, Travel
- **Features:** Full permissions
- **Stats:** 10 total users, 0 monthly users, 96.6% runs succeeded, 3 bookmarks
- **User rating**: 1.00 out of 5 stars

## Pricing

from $0.40 / 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/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

Collect public reviews and location information from **Tripadvisor**. Submit hotel, restaurant, attraction or airline URLs in one run.

### Features

| **Feature** | **What you get** |
| :--- | :--- |
| Reviews | Available titles, text, ratings, dates, trip details and reviewer information |
| Location details | Names, IDs, ratings, review totals and rating or language breakdowns |
| Source summaries | Existing Tripadvisor hotel and attribute summaries when available |
| Review filters | Supported language, rating, text, traveler, month and cabin filters |

Output is grouped by the input URL, in simplified or raw form. Summaries come from Tripadvisor; the Actor does not generate them.

### Quick start

```json
{
  "process": "gp",
  "keyword": [
    "https://www.tripadvisor.com/Hotel_Review-g186338-d193104-Reviews-The_Clermont_London_Charing_Cross-London_England.html"
  ],
  "lang": ["en"],
  "maximum": 40,
  "format": "simple",
  "proxy": { "useApifyProxy": false }
}
```

Add more URLs to `keyword` to collect multiple locations. Each output contains `url` and `data`, preserving the relationship to its source. Export the dataset as JSON, CSV or Excel, or use the Apify API.

Large review collections are split across multiple rows with the same `url`.

### Choose what to collect

Use `gp` for reviews, `gl` for location details or `gs` for a hotel's available AI summary. AI summaries come from Tripadvisor; availability varies by hotel.

For reviews, `maximum` controls the number returned per location. `format: "raw"` retains the original review fields, while `simple` returns the main fields for analysis.

### Filters

| Option | Accepted values |
| --- | --- |
| `lang` | Language codes such as `["en"]`, or `["all"]`; multiple languages for airlines |
| `rating` | Any of `["1", "2", "3", "4", "5"]` |
| `text` | A word or phrase in review text |
| `cabin` | Airlines: `BUSINESS`, `ECONOMY`, `FIRST`, `PREMIUM_ECONOMY` |
| `segment` | Other locations: `Business`, `Couples`, `Family`, `Friends`, `Solo` |
| `bestmonths` | Other locations: month strings `"1"` through `"12"` |
| `fromdate` | Earliest publication date, such as `"2026-01-01"` |
| `sorting` | `recent` or `detailed` |

Leave a filter array empty to include all values. Combine `fromdate` with recent sorting for regular monitoring. Filters, available content and your run limits can reduce the number of returned reviews.

Tripadvisor may translate selected reviews into English. `originalLanguage` identifies the original language, while `language` and `translationType` describe the returned text.

Direct requests are supported. Optional proxy and cookie settings are available for requests that need them.

### Pay-per-event billing

Each valid pay-per-event run with at least one input includes a minimum charge of 100 result units, shared across all inputs in that run. Any placeholder rows are clearly marked and contain no scraped data; filter them out when exporting. Each separate run has its own minimum, including scheduled or API runs. Platform usage is included.

#### Unsuccessful lookups

Where listed in the Pricing tab, a handled lookup problem that prevents a run from returning any real results produces one clear error record and a single $0.02 unsuccessful-lookup fee, in addition to any listed start fee.

# Actor input Schema

## `process` (type: `string`):

No description

## `keyword` (type: `array`):

One or more Tripadvisor hotel, restaurant, attraction or airline URLs. Up to 100 unique locations.

## `maximum` (type: `integer`):

Maximum reviews per location. Available reviews, filters and run budget may limit results.

## `text` (type: `string`):

Reviews must contain the specified text.

## `lang` (type: `array`):

Language codes such as \["en"], or \["all"]. Multiple languages supported for airlines.

## `rating` (type: `array`):

Must be an array. See Information tab.

## `cabin` (type: `array`):

Only for Airlines. See Information tab.

## `segment` (type: `array`):

Only for Hotels/Restaurants. See Information tab.

## `bestmonths` (type: `array`):

Only for Hotels/Restaurants. See Information tab.

## `fromdate` (type: `string`):

YYYY-MM-DD format. Applied after collection.

## `format` (type: `string`):

No description

## `sorting` (type: `string`):

No description

## `pause` (type: `integer`):

Seconds between source requests.

## `cookie` (type: `string`):

Optional browser cookie for Tripadvisor requests. Usually not needed.

## `retries` (type: `integer`):

Shared retry allowance for blocked or transient requests.

## `proxy` (type: `object`):

Direct requests are supported. Choose a proxy if needed.

## Actor input object example

```json
{
  "process": "gp",
  "keyword": [
    "https://www.tripadvisor.com/Hotel_Review-g186338-d193104-Reviews-The_Clermont_London_Charing_Cross-London_England.html"
  ],
  "maximum": 40,
  "text": "",
  "lang": [
    "en"
  ],
  "rating": [],
  "cabin": [],
  "segment": [],
  "bestmonths": [],
  "fromdate": "",
  "format": "simple",
  "sorting": "recent",
  "pause": 1,
  "retries": 1,
  "proxy": {
    "useApifyProxy": false
  }
}
```

# 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 = {
    "keyword": [
        "https://www.tripadvisor.com/Hotel_Review-g186338-d193104-Reviews-The_Clermont_London_Charing_Cross-London_England.html"
    ],
    "text": "",
    "lang": [
        "en"
    ],
    "rating": [],
    "cabin": [],
    "segment": [],
    "bestmonths": [],
    "fromdate": "",
    "proxy": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("canadesk/tripadvisor-reviews-bulk").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 = {
    "keyword": ["https://www.tripadvisor.com/Hotel_Review-g186338-d193104-Reviews-The_Clermont_London_Charing_Cross-London_England.html"],
    "text": "",
    "lang": ["en"],
    "rating": [],
    "cabin": [],
    "segment": [],
    "bestmonths": [],
    "fromdate": "",
    "proxy": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("canadesk/tripadvisor-reviews-bulk").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 '{
  "keyword": [
    "https://www.tripadvisor.com/Hotel_Review-g186338-d193104-Reviews-The_Clermont_London_Charing_Cross-London_England.html"
  ],
  "text": "",
  "lang": [
    "en"
  ],
  "rating": [],
  "cabin": [],
  "segment": [],
  "bestmonths": [],
  "fromdate": "",
  "proxy": {
    "useApifyProxy": false
  }
}' |
apify call canadesk/tripadvisor-reviews-bulk --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,canadesk/tripadvisor-reviews-bulk"
        }
    }
}
```

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/JRYWDm4xSKolpDbw8/builds/dazMF1fBjDXZxafKN/openapi.json
