# Viator Review Scraper (`crawloop/viator-review-scraper`) Actor

Scrape public Viator tour and activity reviews by product URL or product code. Export rating, title, text, date, traveler type, helpful votes, and owner reply as JSON. No login.

- **URL**: https://apify.com/crawloop/viator-review-scraper.md
- **Developed by:** [Andrej Kiva](https://apify.com/crawloop) (community)
- **Categories:** Travel
- **Stats:** 1 total users, 1 monthly users, 94.6% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 reviews

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## Viator Review Scraper — Tour Reviews

> **Disclaimer:** Unofficial tool — not affiliated with, sponsored by, or endorsed by Viator, Inc. or its affiliates. Data is read from publicly accessible tour and activity review pages only. No login. You are responsible for complying with applicable law (including GDPR where personal data appears) and the site’s terms. No warranty on accuracy or availability. Provided for informational and research use.

Scrape public Viator tour and activity reviews into one dataset. Each row has the rating, title, text, publication date, traveler type, helpful votes, reviewer name, owner reply, and the product URL.

Tour operators use this Viator scraper to watch guest feedback on a product. OTAs use it as a Viator reviews API alternative without a partner key. Export JSON or CSV from the dataset with Python, Node.js, cURL, or an MCP client.

### Travel suite

| Actor | Role |
| :--- | :--- |
| [GetYourGuide Tours Scraper](https://apify.com/crawloop/getyourguide-tours-scraper) | Public GetYourGuide tours: price, rating, review count |
| Viator Review Scraper ◄── you are here | Public Viator tour reviews |

### When to use

Use this Actor for a public Viator product URL or product code when you need the review text, not only the average rating.

Skip it for bookings, private supplier dashboards, and anything behind a login.

### Key features

- Product URL or product code, up to 50 products in one run
- Rating, title, full text, date, traveler type, and helpful votes
- Reviewer name, owner reply, and up to five photo URLs on the same row
- Sort by most recent, most insightful, or highest rating
- One saved review per row

### Input

| Field | Default | What it does |
| :--- | :--- | :--- |
| Product URLs | sample tour | Public tour or activity page |
| Product codes | empty | Code such as `3731COLOSSEUM` |
| Max reviews per product | 100 | Stop after this many saved reviews |
| Sort | Most insightful | `ML_SORTED`, `DATE`, or `RATING` |
| Proxy | US residential | Required. Datacenter IPs are blocked |

```json
{
  "startUrls": [
    {
      "url": "https://www.viator.com/tours/Rome/Colosseum-and-Ancient-Rome-Tour-with-Roman-Forum-and-Palatine-Hill/d511-3731COLOSSEUM"
    }
  ],
  "maxReviews": 20,
  "sortBy": "ML_SORTED",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "US"
  }
}
```

### Output

| Field | Meaning |
| :--- | :--- |
| `reviewId` | Public review id |
| `productCode` | Viator product code |
| `productTitle` | Tour or activity name |
| `productUrl` | Public product page |
| `productReviewCount` | Total reviews reported for the product |
| `rating` | Stars from 1 to 5 |
| `title` | Review title |
| `text` | Review text |
| `locale` | Language of the text |
| `publishedAt` | Publication time in UTC |
| `partyType` | Travel party, such as `COUPLES` or `FAMILY` |
| `helpfulVotes` | Helpful vote count |
| `reviewerName` | Public reviewer name |
| `isTripadvisor` | True when Tripadvisor provided the review |
| `machineTranslated` | True when the text is machine translated |
| `ownerResponse` | Supplier reply, when one is public |
| `photoCount` | Number of traveler photos |
| `photoUrls` | Up to five photo URLs |
| `scrapedAt` | UTC time the row was built |

```json
{
  "reviewId": "1080010801",
  "productCode": "3731COLOSSEUM",
  "productTitle": "Rome: Colosseum, Roman Forum, and Palatine Hill Guided Tour 2026",
  "productUrl": "https://www.viator.com/tours/Rome/Colosseum-and-Ancient-Rome-Tour-with-Roman-Forum-and-Palatine-Hill/d511-3731COLOSSEUM",
  "productReviewCount": 25913,
  "rating": 5,
  "title": "Great guide",
  "text": "Francesca made the history come to life.",
  "locale": "en",
  "publishedAt": "2026-09-30T00:00:00Z",
  "partyType": "FAMILY",
  "helpfulVotes": 2,
  "reviewerName": "brooke_e",
  "isTripadvisor": false,
  "machineTranslated": false,
  "ownerResponse": null,
  "photoCount": 0,
  "photoUrls": []
}
```

### Use cases

- Track new guest reviews on a tour you operate
- Compare review text across competing Colosseum or Vatican products
- Build a sentiment file with rating, traveler type, and owner replies
- Feed an MCP assistant a product URL and get the latest reviews as JSON

### Integration examples

Replace `YOUR_TOKEN` and run these against the Actor. These calls start a run and do not set a price.

#### Node.js

```javascript
import { ApifyClient } from "apify-client";

const client = new ApifyClient({ token: "YOUR_TOKEN" });
const run = await client.actor("crawloop/viator-review-scraper").call({
  startUrls: [
    {
      url: "https://www.viator.com/tours/Rome/Colosseum-and-Ancient-Rome-Tour-with-Roman-Forum-and-Palatine-Hill/d511-3731COLOSSEUM",
    },
  ],
  maxReviews: 20,
  sortBy: "ML_SORTED",
  proxyConfiguration: {
    useApifyProxy: true,
    apifyProxyGroups: ["RESIDENTIAL"],
    apifyProxyCountry: "US",
  },
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

#### Python

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_TOKEN")
run = client.actor("crawloop/viator-review-scraper").call(run_input={
    "startUrls": [{
        "url": "https://www.viator.com/tours/Rome/Colosseum-and-Ancient-Rome-Tour-with-Roman-Forum-and-Palatine-Hill/d511-3731COLOSSEUM",
    }],
    "maxReviews": 20,
    "sortBy": "ML_SORTED",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
})
items = client.dataset(run["defaultDatasetId"]).list_items().items
print(items)
```

#### cURL

```bash
curl -X POST "https://api.apify.com/v2/acts/crawloop~viator-review-scraper/runs?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d "{\"startUrls\":[{\"url\":\"https://www.viator.com/tours/Rome/Colosseum-and-Ancient-Rome-Tour-with-Roman-Forum-and-Palatine-Hill/d511-3731COLOSSEUM\"}],\"maxReviews\":20,\"sortBy\":\"ML_SORTED\",\"proxyConfiguration\":{\"useApifyProxy\":true,\"apifyProxyGroups\":[\"RESIDENTIAL\"],\"apifyProxyCountry\":\"US\"}}"
```

### MCP and AI assistants

Use this Actor from AI tools via [Apify MCP](https://docs.apify.com/platform/integrations/mcp).
Connect your Apify account, then call this Actor by its Store name.

Example prompts:

- "Run Viator Review Scraper on the Colosseum product URL and return 20 recent reviews as JSON"
- "Summarize the latest Viator reviews for product code 3731COLOSSEUM: rating, traveler type, and complaints"
- "After Viator Review Scraper, run GetYourGuide Tours Scraper for Rome and compare ratings"

### Suite next step

For public tour prices and ratings on GetYourGuide, run [GetYourGuide Tours Scraper](https://apify.com/crawloop/getyourguide-tours-scraper) next.

### FAQ

**Does this need a partner API key or a login?**\
No. It reads public tour and activity review pages.

**Is this a Viator API alternative?**\
Yes. It collects public reviews from a product URL or product code. It does not use a partner key.

**What is one charged result?**\
One saved review. Photos and the owner reply sit on that same row.

**Why are some runs empty?**\
Datacenter IPs are blocked. Keep the US residential proxy on. A code that is not a public product returns no rows.

**Can I scrape several tours at once?**\
Yes. Add more product URLs or product codes. Each product stops at max reviews.

# Actor input Schema

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

Public Viator tour or activity URLs. The product code is the last segment, such as d511-3731COLOSSEUM.

## `productCodes` (type: `array`):

Viator product codes when you already have them, such as 3731COLOSSEUM. Use this or a product URL.

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

Stop after this many saved reviews for each product.

## `sortBy` (type: `string`):

Review order. Most insightful matches the public product page.

## `proxyConfiguration` (type: `object`):

Apify Proxy. US residential is required. Datacenter IPs are blocked.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.viator.com/tours/Rome/Colosseum-and-Ancient-Rome-Tour-with-Roman-Forum-and-Palatine-Hill/d511-3731COLOSSEUM"
    }
  ],
  "maxReviews": 100,
  "sortBy": "ML_SORTED",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

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

Default dataset items.

# 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.viator.com/tours/Rome/Colosseum-and-Ancient-Rome-Tour-with-Roman-Forum-and-Palatine-Hill/d511-3731COLOSSEUM"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawloop/viator-review-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.viator.com/tours/Rome/Colosseum-and-Ancient-Rome-Tour-with-Roman-Forum-and-Palatine-Hill/d511-3731COLOSSEUM" }] }

# Run the Actor and wait for it to finish
run = client.actor("crawloop/viator-review-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.viator.com/tours/Rome/Colosseum-and-Ancient-Rome-Tour-with-Roman-Forum-and-Palatine-Hill/d511-3731COLOSSEUM"
    }
  ]
}' |
apify call crawloop/viator-review-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,crawloop/viator-review-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/sLwHFPVgMcbQMyVlf/builds/JIGMCEeLbacMTk0Ag/openapi.json
