# Viator Tours & Activities Scraper — Prices, Ratings & Durations (`haketa/viator-scraper`) Actor

Extract Viator tours, tickets, excursions, and experiences worldwide. Collect tour titles, starting & discounted prices, savings, ratings, review counts, durations, free cancellation flags, badges, offered languages, destinations, descriptions, and high-res photos for travel pricing intelligence.

- **URL**: https://apify.com/haketa/viator-scraper.md
- **Developed by:** [Haketa](https://apify.com/haketa) (community)
- **Categories:** Travel, E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.90 / 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.
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

<h1 align="center">Viator Tours &amp; Activities Scraper — Prices, Ratings &amp; Durations</h1>

<p align="center">
  <img src="https://img.shields.io/badge/Platform-Viator-008768?style=for-the-badge" alt="Viator" />
  <img src="https://img.shields.io/badge/Data-Tours%20%7C%20Prices%20%7C%20Ratings-111827?style=for-the-badge" alt="Tours Prices Ratings" />
  <img src="https://img.shields.io/badge/No--Code-30%20Top%20Cities%20Dropdown-16A34A?style=for-the-badge" alt="No-Code Ready" />
  <img src="https://img.shields.io/badge/Fields-30%2B%20Structured-2563EB?style=for-the-badge" alt="30+ Fields" />
  <img src="https://img.shields.io/badge/Export-JSON%20%7C%20CSV%20%7C%20Excel-7C3AED?style=for-the-badge" alt="Export Formats" />
</p>

Extract structured **Viator tours, tickets, day trips, and local experiences** from destinations worldwide. Collect starting prices, crossed-out comparison prices, discount percentages, traveler ratings, review counts, durations, free cancellation policies, private-tour flags, merchandising badges (`SPECIAL_OFFER`, `TRAVELERS_PICK`, `BEST_SELLER`), offered languages, full descriptions, and high-resolution tour photography.

Built for **tour operators, OTAs, hospitality & destination marketing teams, travel agencies, and competitive pricing analysts** who need clean, reliable Viator catalog data at scale.

***

### ⚡ At a Glance

| Feature | Details |
|---|---|
| 🌍 **Global destination coverage** | 30 built-in major tourist cities dropdown + open keyword search + any Viator destination/category URL |
| 💰 **Pricing & discount intelligence** | Starting price, currency, comparison price, amount saved, calculated `discountPercent`, pricing model |
| ⭐ **Demand & quality signals** | Average rating, exact rating, total review count, `likelyToSellOut`, `newProduct`, merchandising badges |
| ⏱️ **Operational attributes** | Min/max duration in minutes, formatted duration string, free cancellation flag, private tour flag, offered languages |
| 🔎 **Built-in filters & sorting** | Sort by featured, rating, price, or duration; filter by `minRating`, `maxPrice`, free cancellation, or private tours |
| 📤 **Export formats** | JSON, CSV, Excel (XLSX), HTML table, XML, or direct API / webhook / n8n / Make integration |

***

### 🚀 Why Use Viator Tours & Activities Scraper?

Viator is one of the world's largest online marketplaces for tours, attractions, and experiences with **300,000+ bookable activities across thousands of destinations**. Monitoring tour pricing, discounts, durations, and traveler reviews manually across cities takes hours every week.

With **Viator Tours & Activities Scraper**, you can:

- **Benchmark competitor tour pricing** across any city or landmark — including active discounts (`originalPrice`, `amountSaved`, `discountPercent`) and group-size pricing flags.
- **Identify high-demand & fast-selling experiences** using `reviewCount`, `rating`, `likelyToSellOut`, and Viator's merchandising badges (`TRAVELERS_PICK`, `SPECIAL_OFFER`).
- **Spot supply gaps in destination markets** by filtering tours by duration, private vs. group format, language coverage, and free cancellation policies.
- **Feed travel platforms, blogs, and AI trip planners** with structured, deduplicated activity catalogs complete with clean descriptions and high-resolution image URLs.
- **Automate weekly market tracking** with scheduled runs that detect price changes, newly launched tours (`newProduct`), and seasonal promotions.

***

### 💼 Popular Use Cases

| Team / Industry | What You Extract | Business Value |
|---|---|---|
| 🚌 **Local Tour Operators & DMCs** | Competitor prices, discounts, durations, review volume, free cancellation rates in your city | Price your tours competitively and spot underserved formats (e.g., private or short-duration tours) |
| 🏨 **Hotels, Concierges & Travel Agencies** | Top-rated activities (`minRating: 4.5`), languages, cancellation terms, descriptions, photos | Curate vetted guest excursion catalogs and regional partner shortlists |
| 📈 **OTA & Travel-Tech Analysts** | Multi-city catalogs with `price`, `originalPrice`, `reviewCount`, `likelyToSellOut`, `badges` | Track destination pricing trends, discount frequency, and market concentration |
| 🤖 **AI Trip Planners & Content Sites** | Clean titles, brief & full descriptions, durations, destinations, and verified image URLs | Power RAG knowledge bases, city guides, and automated itinerary builders |
| 🔎 **Destination Marketing Organizations (DMOs)** | All bookable experiences per destination, offered languages, new launches | Measure local tourism inventory depth and multilingual readiness |

***

### 🧭 How It Works (3 Simple Steps)

1. **Select your destinations or keywords:** Pick one or more cities from the **Destinations** dropdown (Paris, Rome, London, NYC, Tokyo, Dubai, etc.), type any custom **Search keywords** (e.g., `"colosseum skip the line"`), or paste Viator URLs directly. Leave everything blank for a mixed global sample.
2. **Apply optional sorting & filters:** Choose a sort order (`Featured`, `Rating`, `Price Low–High`, `Price High–Low`, `Duration`) and optionally narrow by `minRating`, `maxPrice`, `freeCancellationOnly`, or `privateToursOnly`.
3. **Run & export:** Click **Start** to collect deduplicated tours and download them immediately in JSON, CSV, or Excel.

> 💡 **Tip for pricing intelligence:** Run the same destination weekly with `sortBy: "featured"` and compare `price`, `originalPrice`, `discountPercent`, and `likelyToSellOut` over time to catch seasonal price adjustments.

***

### ⚙️ Input Parameters

All parameters are optional — you can run the Actor immediately with defaults or customize any combination.

| Parameter | Type | Default | Description |
|---|---|---|---|
| `destinations` | Multi-select dropdown | `["Paris/d479-ttd", "Rome/d511-ttd"]` | Choose from 30 major tourist cities worldwide. |
| `searchQueries` | Text list | `[]` | Search any landmark, city, or activity keyword (e.g., `"santorini sunset cruise"`, `"tokyo food tour"`). |
| `startUrls` | URL list | `[]` | Direct Viator destination, category, or search results URLs. |
| `sortBy` | Dropdown | `"featured"` | Sort order: `featured`, `rating`, `price_asc`, `price_desc`, or `duration_asc`. |
| `maxItems` | Integer | `100` (prefill `48`) | Maximum total tours to collect across all targets (`1` to `25,000`). |
| `minRating` | Number | — | Optional minimum average rating filter (`0` to `5`, e.g., `4.5`). |
| `maxPrice` | Number | — | Optional maximum starting price filter in the returned currency. |
| `freeCancellationOnly` | Boolean | `false` | Keep only tours offering free cancellation. |
| `privateToursOnly` | Boolean | `false` | Keep only private tours and exclusive experiences. |
| `proxyConfiguration` | Proxy | Apify Proxy | Standard proxy settings for fast, reliable runs. |

#### Example Input Configurations

##### 1. Multi-City Benchmark (Quick Start)

```json
{
  "destinations": ["Paris/d479-ttd", "Rome/d511-ttd"],
  "sortBy": "featured",
  "maxItems": 100
}
```

<details>
<summary>2. High-Rated Private Tours Under a Budget</summary>

```json
{
  "destinations": ["Tokyo/d334-ttd", "Kyoto/d332-ttd"],
  "sortBy": "rating",
  "minRating": 4.7,
  "maxPrice": 250,
  "freeCancellationOnly": true,
  "privateToursOnly": true,
  "maxItems": 150
}
```

</details>

<details>
<summary>3. Keyword & Landmark Search Across Viator</summary>

```json
{
  "destinations": [],
  "searchQueries": ["colosseum skip the line", "santorini catamaran cruise", "northern lights iceland"],
  "sortBy": "featured",
  "maxItems": 150
}
```

</details>

<details>
<summary>4. Direct Viator Category or Filtered URLs</summary>

```json
{
  "destinations": [],
  "startUrls": [
    { "url": "https://www.viator.com/Barcelona/d562-ttd" },
    { "url": "https://www.viator.com/Dubai/d828-ttd" }
  ],
  "maxItems": 200
}
```

</details>

***

### 📦 Output Data & Field Reference

Each collected tour is saved as a clean flat JSON object in the default Apify Dataset, with an execution summary also written to Key-Value Store `OUTPUT`.

#### Sample Output Record

```json
{
  "productCode": "67584P2",
  "title": "Versailles Palace and Gardens Tour from Paris",
  "canonicalName": "Golden Versailles Palace and Garden Tour",
  "url": "https://www.viator.com/tours/Paris/Golden-Versailles-Palace-and-Garden-Tour/d479-67584P2",
  "destination": "Paris",
  "destinationId": "479",
  "country": "France",
  "price": 89.5,
  "currency": "USD",
  "originalPrice": 99.5,
  "amountSaved": 10,
  "discountPercent": 10,
  "pricingType": "TRAVELLER_BY_AGE_BAND",
  "priceVariesByGroupSize": false,
  "rating": 4.5,
  "exactRating": 4.4,
  "reviewCount": 4809,
  "durationMinMinutes": 180,
  "durationMaxMinutes": 210,
  "durationFormatted": "3h – 3.5h",
  "freeCancellation": true,
  "likelyToSellOut": true,
  "privateTour": false,
  "newProduct": false,
  "badges": ["SPECIAL_OFFER", "TRAVELERS_PICK"],
  "offeredLanguages": ["en"],
  "photoCount": 11,
  "imageUrl": "https://dynamic-media.tacdn.com/media/photo-o/2e/cc/70/1e/caption.jpg?w=800&h=600&s=1",
  "imageCaption": "Hall of Mirrors",
  "briefDescription": "Guided tour with round-trip transportation from Paris covering the Hall of Mirrors, State Apartments, and Versailles Gardens.",
  "description": "Versailles becomes effortless when your tickets and route are handled for you...",
  "searchQuery": null,
  "sourceUrl": "https://www.viator.com/Paris/d479-ttd",
  "scrapedAt": "2026-11-23T17:20:00.000Z"
}
```

#### Field Dictionary & Data Coverage

Coverage indicators reflect live Viator listings: 🟢 Nearly every record · 🟡 Present when published on the listing.

##### 🗺️ Core Tour & Location Fields

| Field | Type | Coverage | Description |
|---|---|---|---|
| `productCode` | String | 🟢 | Unique Viator product code (used for automatic deduplication). |
| `title` | String | 🟢 | Public tour or attraction title. |
| `canonicalName` | String | 🟢 | Canonical short tour name. |
| `url` | String | 🟢 | Direct clickable Viator tour URL. |
| `destination` | String | 🟢 | Primary destination city or region (e.g., `Paris`, `Rome`). |
| `destinationId` | String | 🟢 | Numeric Viator destination identifier. |
| `country` | String | 🟢 | Country or parent region of the destination. |

##### 💰 Pricing & Promotion Fields

| Field | Type | Coverage | Description |
|---|---|---|---|
| `price` | Number | 🟢 | Current starting price per traveler or group. |
| `currency` | String | 🟢 | Three-letter ISO currency code (e.g., `USD`, `EUR`). |
| `originalPrice` | Number | 🟡 | Crossed-out comparison price when a discount is active. |
| `amountSaved` | Number | 🟡 | Monetary discount amount saved. |
| `discountPercent` | Number | 🟡 | Calculated percentage discount (`originalPrice` vs. `price`). |
| `pricingType` | String | 🟢 | Pricing structure (e.g., `TRAVELLER_BY_AGE_BAND`, `PER_GROUP`). |
| `priceVariesByGroupSize` | Boolean | 🟢 | `true` if tiered group pricing applies. |

##### ⭐ Reviews, Demand & Operational Fields

| Field | Type | Coverage | Description |
|---|---|---|---|
| `rating` | Number | 🟢 | Displayed traveler rating (0–5 scale). |
| `exactRating` | Number | 🟢 | Unrounded rating score. |
| `reviewCount` | Number | 🟢 | Total verified traveler reviews. |
| `durationMinMinutes` | Number | 🟡 | Minimum tour duration normalized to minutes. |
| `durationMaxMinutes` | Number | 🟡 | Maximum tour duration normalized to minutes. |
| `durationFormatted` | String | 🟡 | Human-readable duration string (e.g., `3h – 3.5h`, `45 min`, `2d`). |
| `freeCancellation` | Boolean | 🟢 | `true` when free cancellation is offered. |
| `likelyToSellOut` | Boolean | 🟢 | `true` when Viator flags the experience as high-demand / likely to sell out. |
| `privateTour` | Boolean | 🟢 | `true` for private experiences. |
| `newProduct` | Boolean | 🟢 | `true` for newly added Viator listings. |
| `badges` | Array | 🟡 | Merchandising badges such as `SPECIAL_OFFER`, `TRAVELERS_PICK`, `BEST_SELLER`. |
| `offeredLanguages` | Array | 🟢 | ISO language codes supported for the experience (e.g., `["en", "fr"]`). |

##### 🖼️ Media & Description Fields

| Field | Type | Coverage | Description |
|---|---|---|---|
| `imageUrl` | String | 🟢 | High-resolution primary tour photo URL. |
| `imageCaption` | String | 🟡 | Photo caption text when available. |
| `photoCount` | Number | 🟢 | Total number of gallery images on the tour listing. |
| `briefDescription` | String | 🟡 | Concise summary snippet. |
| `description` | String | 🟢 | Detailed tour overview text. |

***

### 💻 Programmatic Usage (Node.js & Python)

<details>
<summary>Node.js (apify-client)</summary>

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

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });

const run = await client.actor('haketa/viator-scraper').call({
    destinations: ['Paris/d479-ttd', 'Rome/d511-ttd'],
    sortBy: 'rating',
    minRating: 4.5,
    maxItems: 150,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(`Collected ${items.length} Viator tours`);
```

</details>

<details>
<summary>Python (apify-client)</summary>

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])

run = client.actor("haketa/viator-scraper").call(run_input={
    "searchQueries": ["colosseum skip the line", "eiffel tower summit"],
    "freeCancellationOnly": True,
    "maxItems": 100,
})

items = list(client.dataset(run["defaultDatasetId"]).iterate_items())
for tour in items[:5]:
    print(tour["title"], tour["price"], tour["currency"], tour["rating"])
```

</details>

***

### 📊 Verified Field Coverage (Live Benchmark)

Across a 150-tour multi-destination benchmark run (`Paris` + `Rome`), **Viator Tours & Activities Scraper** returned **150 unique experiences with 0 duplicates** and the following real-world fill rates:

| Field Group | Verified Fill Rate | Notes |
|---|---|---|
| `productCode`, `title`, `url`, `destination`, `country` | **100%** | Every record has a unique Viator product code, clean title, direct URL, and geographic metadata |
| `price`, `currency`, `pricingType` | **100%** | Live catalog "from" price and ISO currency code on every listing |
| `rating`, `reviewCount` | **100%** | Exact average traveler score and total review count |
| `description`, `imageUrl`, `freeCancellation`, `likelyToSellOut` | **100%** | Full summary copy, high-resolution cover photo, and policy/demand flags |
| `durationFormatted`, `durationMinutesMin`, `durationMinutesMax` | **~29–40%** | Populated for experiences that declare a fixed or flexible tour duration |
| `originalPrice`, `discountAmount`, `discountPercent`, `badges` | **Variable** | Populated whenever an active promotion, Special Offer, or Traveler's Pick badge applies |

***

### 💡 Best Practices & Tips

> \[!TIP]
> **Combine destination presets with `sortBy: "price_asc"` or `"rating"`** to immediately surface the lowest-priced or top-rated tours in any market without downloading all 4,000+ listings for a mega-city.

- **Use `freeCancellationOnly: true` for OTA parity checks:** Filter out non-refundable tickets when benchmarking flexible booking products.
- **Avoid double-counting overlapping cities:** Because every tour is deduplicated by `productCode`, you can safely mix city presets (e.g., `Paris/d479-ttd`) with keyword queries (e.g., `"versailles tour"`) in the same run.
- **Keep prefill runs fast for scheduled monitoring:** For weekly price checks on a specific niche, set `maxItems` between `50` and `200` per run to keep compute costs near fractions of a cent.
- **Export directly for BI & spreadsheets:** Download clean `.csv` or `.xlsx` files from the Storage tab with human-readable column headers ready for Excel, Looker Studio, or Tableau.

***

### 🔌 Integrations & Automation

- **Google Sheets & Excel:** Download clean `.xlsx` / `.csv` files directly or connect scheduled runs to Google Sheets for live price dashboards.
- **Make, Zapier & n8n:** Automate weekly destination monitoring and get alerts whenever competitor tour prices drop or new top-rated tours appear.
- **Apify API & Webhooks:** Integrate Viator catalog updates straight into travel apps, BI warehouses, or AI itinerary engines.

***

### ❓ Frequently Asked Questions

#### Which currency are prices returned in?

Prices are returned in the currency served for the proxy location (standard Apify US proxies return **USD**), and the exact three-letter ISO `currency` code is included on every record.

#### Can I scrape a destination that is not in the dropdown?

Yes. Either type the city or landmark in **Search keywords** (e.g., `"Amalfi Coast"`, `"Petra Jordan"`) or paste the exact Viator destination URL into **Viator URLs**.

#### How are duplicates handled across multiple cities or keywords?

Every tour is automatically deduplicated by its unique `productCode` within a single run, ensuring clean datasets even when overlapping searches or nearby destinations return the same experience.

#### What happens if I run the Actor with empty input?

When no destinations, keywords, or URLs are supplied, the Actor automatically scrapes a mixed sample of top global cities (Paris, Rome, London, New York City) and returns up to 100 clean tours.

#### Why are `originalPrice` and `discountPercent` sometimes null?

Those fields are only populated when a tour currently has an active promotion or crossed-out comparison price on Viator. Standard non-discounted listings return `price` with `originalPrice: null`.

***

### ⚠️ Limitations

- **Dynamic live calendar availability:** Starting `price` reflects Viator's catalog "from" price rather than date-specific seat availability for a particular departure hour.
- **Per-search pagination cap:** Very broad searches may repeat top results after dozens of pages; the Actor automatically stops pagination once no new unique `productCode` items appear.

***

### 📝 Changelog

#### v0.1.0 (2026-11-23)

- Initial release of **Viator Tours & Activities Scraper**.
- Added 30 global destination presets, open keyword search, and direct Viator URL support.
- Added sorting (`featured`, `rating`, `price_asc`, `price_desc`, `duration_asc`) and client-side filtering (`minRating`, `maxPrice`, `freeCancellationOnly`, `privateToursOnly`).
- Added full pricing & discount calculations, normalized durations, badges, languages, and automatic `productCode` deduplication.

# Actor input Schema

## `destinations` (type: `array`):

Select one or more top global destinations to scrape things to do. Leave empty if using search keywords or direct Viator URLs.

## `searchQueries` (type: `array`):

Search any city, landmark, or activity type across Viator (for example: 'colosseum skip the line', 'santorini sunset cruise', 'tokyo food tour').

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

Paste any public Viator destination, category, or search results URL (for example: https://www.viator.com/Paris/d479-ttd or https://www.viator.com/searchResults/all?text=amalfi+coast).

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

Order in which Viator returns tours and activities.

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

Total maximum tours and experiences to extract across all destinations, keywords, and URLs.

## `minRating` (type: `number`):

Keep only tours with an average traveler rating at or above this score (e.g., 4.5). Leave blank to include all ratings.

## `maxPrice` (type: `number`):

Keep only tours whose starting price is at or below this amount (in the returned currency).

## `freeCancellationOnly` (type: `boolean`):

When enabled, returns only tours and tickets that offer free cancellation.

## `privateToursOnly` (type: `boolean`):

When enabled, returns only private tours and exclusive experiences.

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

Proxy settings for fast, consistent collection. Standard Apify datacenter proxies work reliably.

## Actor input object example

```json
{
  "destinations": [
    "Paris/d479-ttd",
    "Rome/d511-ttd"
  ],
  "searchQueries": [],
  "startUrls": [],
  "sortBy": "featured",
  "maxItems": 48,
  "freeCancellationOnly": false,
  "privateToursOnly": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

Structured Viator tours, tickets, prices, ratings, durations, and badges collected during the run.

# 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 = {
    "destinations": [
        "Paris/d479-ttd",
        "Rome/d511-ttd"
    ],
    "searchQueries": [],
    "startUrls": [],
    "sortBy": "featured",
    "maxItems": 48,
    "freeCancellationOnly": false,
    "privateToursOnly": false,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("haketa/viator-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 = {
    "destinations": [
        "Paris/d479-ttd",
        "Rome/d511-ttd",
    ],
    "searchQueries": [],
    "startUrls": [],
    "sortBy": "featured",
    "maxItems": 48,
    "freeCancellationOnly": False,
    "privateToursOnly": False,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("haketa/viator-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 '{
  "destinations": [
    "Paris/d479-ttd",
    "Rome/d511-ttd"
  ],
  "searchQueries": [],
  "startUrls": [],
  "sortBy": "featured",
  "maxItems": 48,
  "freeCancellationOnly": false,
  "privateToursOnly": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call haketa/viator-scraper --silent --output-dataset

```

## MCP server setup

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