Skip to the content

Scraper API

Viator

viator.toursAvailable

Viator tours

The tours and activities on that page of the list, 24 a page, in Viator's order: name, address, price from, rating, number of reviews and main photo.

Give it the address of a destination's list of things to do on Viator, and a page.

1 unit a run, for runs that return data. Runs that fail cost nothing. How units work

Counted
1 unit a run
Inputs
2, 1 required
Record
12 fields
A run takes
up to 5 minutes
Records kept
7 days
Measured
its success, on the status page

POST/v1/scrapers/viator.tours/runs

{
"input": {
"url": "https://www.viator.com/Rome/d511-ttd"
}
}

sent, and answered

a record of the run12 fields

{
position: 1
page: 1
product_code: "62416P17"
name: "Rome: Colosseum, Roman Forum, and Palatine Hill 3-Hour Tour"
url: "https://www.viator.com/tours/Rome/Colosseum-Forum-and-Palatine-Hill-To…
price_from: 43.67
currency: "USD"
rating: 4.5
review_count: 3067
… 3 more fields

ok1 unit a run

A record this scraper returned for this input. The first 9 of its 12 fields are set down here; the whole record is below.

viator.com
The page Viator tours reads, as a browser shows it
The page this scraper reads, as the Internet Archive kept it on 19 September 2026. It belongs to its publisher, who has no part in this service.

What it is used for

Survey a destination's tours
The tours and activities Viator lists for a city or a country, with price from, rating and review count, page by page.
Compare prices of things to do
Set the price_from of the tours of several destinations side by side, each in its own currency.
Find the most reviewed tours
Sort a destination's tours by review_count and rating to see which ones visitors have booked and rated most.

What you send

The address of a destination's list of things to do on Viator, and a page. These are its 2 inputs, as its schema has them.

urlstring Required
The address of a destination's list of things to do on Viator, e.g. https://www.viator.com/Paris/d479-ttd: the page Viator opens for a city, a region or a country.
pageinteger Optional
The page of the list, from 1; 24 tours a page.Default 1

A request, ready to send

It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.

# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/viator.tours/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"url":"https://www.viator.com/Rome/d511-ttd"}}'

# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
from enrichednow import EnrichedNow

client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY

# Start a run, wait for it to end, and get its records
result = client.scrape("viator.tours", {
    "url": "https://www.viator.com/Rome/d511-ttd",
})
print(result.run.id, result.run.status, result.run.record_count)

# Read its records: pages are fetched as you go
for record in result.records:
    print(record)

Install it with pip install enrichednow, then save as run.py and run python3 run.py

import EnrichedNow from "enrichednow";

const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY

// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("viator.tours", {
  url: "https://www.viator.com/Rome/d511-ttd",
});
console.log(run.id, run.status, run.record_count);

// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);

Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

package main

import (
	"context"
	"fmt"
	"log"
	"time"

	enrichednow "github.com/enrichednow/enrichednow-go"
)

func main() {
	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
	if err != nil {
		log.Fatal(err)
	}
	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
	defer cancel()

	// Start a run, wait for it to end, and get its records
	run, records, err := client.Scrape(ctx, "viator.tours", map[string]any{"url": "https://www.viator.com/Rome/d511-ttd"})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(run.ID, run.Status, run.RecordCount)

	// Read its records: pages are fetched as you go
	for records.Next() {
		fmt.Println(string(records.Current()))
	}
	if err := records.Err(); err != nil {
		log.Fatal(err)
	}
}

Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;

public class Run {
    public static void main(String[] args) {
        EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY

        // Start a run, wait for it to end, and get its records
        ScrapeResult result = client.scrape("viator.tours", Map.of("url", "https://www.viator.com/Rome/d511-ttd"));
        System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());

        // Read its records: pages are fetched as you go
        for (Map<String, Object> record : result.records()) {
            System.out.println(record);
        }
    }
}

Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

enrichednow run viator.tours --input url=https://www.viator.com/Rome/d511-ttd

Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

What comes back

The tours and activities on that page of the list, 24 a page, in Viator's order: name, address, price from, rating, number of reviews and main photo. A record has 12 fields. One we could not read is null, never an empty string or a zero.

A record viator.tours returned
{
  "position": 1,
  "page": 1,
  "product_code": "62416P17",
  "name": "Rome: Colosseum, Roman Forum, and Palatine Hill 3-Hour Tour",
  "url": "https://www.viator.com/tours/Rome/Colosseum-Forum-and-Palatine-Hill-Tour/d511-62416P17",
  "price_from": 43.67,
  "currency": "USD",
  "rating": 4.5,
  "review_count": 3067,
  "image": "https://dynamic-media.tacdn.com/media/photo-o/2f/60/03/d9/caption.jpg?w=800&h=600&s=1",
  "destination": "Rome",
  "fetched_at": "2026-11-19T18:07:41.722341Z"
}

The scraper returned this record for the input above, reading a saved copy of the page, not the live site.

The fields of a record

positioninteger
The tour's place on this page of the list, from 1.
pageinteger
The page of the list the tour was on.
product_codestring or null
Viator's code of the tour, e.g. 67584P2: the last part of its page's address.
namestring
The tour's name.
urlstring
The tour's page on viator.com. viator.tour takes it.
price_fromnumber or null
The lowest price a person, as the list states it, in currency.
currencystring or null
The ISO currency code of the price, e.g. USD.
ratingnumber or null
The average rating, 1 to 5. Null for a tour without reviews.
review_countinteger or null
The number of reviews.
imagestring or null
The tour's main photo.
destinationstring or null
The destination whose list this is, e.g. Paris.
fetched_atdatetime
When the page was read, in UTC.

The whole schema, in its reference

Units and limits

Counted per request
Billed per request: a run that returns data costs 1 unit, however many records it returns.
A miss costs nothing
A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
What bounds a run
A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.

What it does not do

  • One run reads one page of one destination's list. Viator's search by words and its category pages are not read.
  • Prices are the price from that Viator shows a visitor in the United States, in US dollars.

The bounds its schema sets

page
1 to 40; 1 unless you say otherwise

Scraper API pricing: how units workThe five ways a run ends

Questions

What does Viator tours return?

The tours and activities on that page of the list, 24 a page, in Viator's order: name, address, price from, rating, number of reviews and main photo. A record has 12 fields, among them position, page, product_code, name, url and price_from. A value that could not be read is null, never an empty string or a zero.

What do I send?

The address of a destination's list of things to do on Viator, and a page. The input url is required. Optional: page.

How is it counted?

Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.

How much does one run return?

Its schema sets these bounds: page 1 to 40 (1 unless you say otherwise). A run may take up to 5 minutes.

What does it not do?

One run reads one page of one destination's list. Viator's search by words and its category pages are not read. Prices are the price from that Viator shows a visitor in the United States, in US dollars.

How long are the records kept, and in what format do they come?

Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.

Can an AI assistant call it?

Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id viator.tours and the same input. It costs what the same API call costs.

Viator

Tours and activities on Viator, as a visitor who is not signed in sees them: a destination's list, and one tour's page.

  • Viator tour

    viator.tour

    The address of a tour's page on Viator. The tour: Viator's code, price from, whether it can be booked, rating and number of reviews, where Viator files it, the stops of its itinerary, its meeting points and its photos.

Viator on the line-up

Where
Worldwide

Run it on an input of your own.

Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.