# Expedia Things-to-Do Activity Finder (`xyrelith-data/expedia-activities-reviews-scraper`) Actor

Scrape Expedia things-to-do by destination or activity URL with prices, ratings, duration, inclusions, meeting points, galleries and optional traveler reviews.

- **URL**: https://apify.com/xyrelith-data/expedia-activities-reviews-scraper.md
- **Developed by:** [Xyrelith Data](https://apify.com/xyrelith-data) (community)
- **Categories:** Travel, Automation, Lead generation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

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

## Expedia Things-to-Do Activity Finder

Scrape Expedia's Things-to-Do catalog by destination or by activity URL. Get live lead prices, review scores, duration, inclusions, meeting points, galleries and optional traveler reviews in one run.

### What you can collect

- **Activities by destination** — tours, attractions, day trips, food and drink experiences, cruises, shows, transfers and classes, with lead price, strike-through price, currency, duration, review score and review count.
- **Activity pages** — title, supplier, description, price, duration, review score and count, free cancellation, highlights, inclusions and exclusions, meeting point, coordinates, languages, thumbnail and full gallery.
- **Activity reviews** — text, reviewer name, review date, experience date, reviewer location, source and score when the review gateway returns it.

### Modes

| Mode | Input | Output |
|---|---|---|
| `activities` | `destination` plus optional dates and filters | One record per activity |
| `activityUrls` | `activityUrls` with full URLs or numeric IDs | One detailed record per activity, optionally with reviews |

### Inputs

| Field | Default | Notes |
| --- | --- | --- |
| `mode` | `activities` | `activities` or `activityUrls`. |
| `destination` | — | Required for `activities`. |
| `activityUrls` | — | Activity URLs or numeric IDs. |
| `startDate` | — | Defaults to 30 days from today. |
| `endDate` | — | Defaults to one week after the start date. |
| `maxItems` | `20` | Maximum activity records. |
| `includeActivityDetails` | `false` | Enrich activity search records from their detail pages. |
| `includeActivityReviews` | `false` | Add activity reviews. |
| `maxActivityReviews` | `10` | Reviews per activity. |
| `category` | `any` | Activity category keyword filter. |
| `minPrice` | — | No minimum price. |
| `maxPrice` | — | No maximum price. |
| `minReviewScore` | `any` | `any`, `7plus`, `8plus` or `9plus`. |
| `duration` | `any` | Duration bucket filter. |
| `freeCancellationOnly` | `false` | Keep free-cancellation activities only. |
| `sort` | `recommended` | Activity sort order. |

### Quick start

1. Choose a mode.
2. For `activities`, enter a destination such as `New York` and run. Dates default to 30 days from today and searches are capped at a 14-day window.
3. For `activityUrls`, paste activity URLs or bare IDs and turn on reviews if you want them.

The actor manages its own browser session and network route. No cookies, login or proxy configuration are required.

### Output

Every record has `recordType: "activity"`. Activity records use `activityId`, `title`, `url`, `supplier`, `category`, `price`, `strikeThroughPrice`, `currency`, `durationMinutes`, `reviewScore`, `reviewCount`, `freeCancellation`, `highlights`, `inclusions`, `exclusions`, `meetingPoint`, `coordinates`, `languages`, `thumbnail`, `gallery` and an optional `reviews` array.

Activity records from the destination fallback keep a working Viator `url`, add `sourceUrl`, `dataSource: "viator"` and, when the product code maps to an Expedia ID, an `expediaUrl`. Turning on `includeActivityDetails` fetches the Expedia page and promotes its verified URL to `url`. Empty fields are omitted rather than written as `null`.

### Limits and notes

- Activity inventory on Expedia is supplied by Viator. Activity reviews are labeled with their source.
- If Expedia's destination search page is rate-limited, the actor falls back to Viator's destination catalog, which carries the same activity inventory. Numeric Viator product codes are mapped to Expedia activity IDs; non-numeric codes keep their Viator URL.
- `freeCancellationOnly` and `duration` filters only have values on Expedia-sourced detail records, so they remove fallback cards that cannot prove those attributes.
- Activity reviews require Expedia's review gateway. When that gateway rate-limits the session, the activity record is still returned without reviews and the run status says so.
- `distance` is accepted for compatibility but behaves like `recommended` because Expedia does not expose a stable distance value on activity cards.
- Destination search is capped at three Viator result pages per run; use `maxItems` and filters to narrow the set.
- Hotel guest reviews are **not included** in this build. Expedia's review gateway and hotel pages returned rate-limit pages from cloud egress during verification; a hotel-only run is not reliable. See the research document for the evidence.
- The actor stops when the source exhausts the result set or when `maxItems` is reached. It never fabricates records.

### FAQ

**Do I need an Expedia account or cookies?** No. The actor opens public pages and does not require a login.

**Do I need to configure a proxy?** No. The actor selects its network route automatically.

**Can I mix activity URLs and a destination search in one run?** Use separate runs; the mode decides which targets are read.

**Are activity reviews always available?** Only activities with reviews return a reviews array, and the review gateway occasionally rate-limits sessions. The activity record is still returned without reviews in that case.

**Why are some prices different from the booking page?** Prices come from the lead ticket shown in the catalog and can change with date, availability and currency.

**Can I get more than the first page of destination results?** Increase `maxItems`; the actor reads up to three destination pages per run.

**Does this actor book anything?** No. It only reads public catalog and review content.

# Actor input Schema

## `mode` (type: `string`):

Search activities by destination, scrape specific activity pages, or collect hotel guest reviews.

## `destination` (type: `string`):

City, region or landmark for activities mode, for example New York or Paris.

## `activityUrls` (type: `array`):

Expedia Things-to-Do activity URLs or numeric activity IDs. The actor accepts both full URLs and bare IDs.

## `startDate` (type: `string`):

Start date in YYYY-MM-DD format. Leave empty to use 30 days from today. Activity searches are capped at 14 days.

## `endDate` (type: `string`):

End date in YYYY-MM-DD format. Leave empty to use one week after the start date.

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

Maximum number of activity or hotel records to push.

## `includeActivityDetails` (type: `boolean`):

Open each activity page from a destination search to add highlights, inclusions, exclusions, meeting point, languages and the gallery. This adds one page load per activity.

## `includeActivityReviews` (type: `boolean`):

Collect traveler reviews for each activity. Reviews are supplied by Viator, the inventory partner shown on Expedia.

## `maxActivityReviews` (type: `integer`):

Maximum reviews per activity when activity reviews are enabled.

## `category` (type: `string`):

Optional activity category filter. Categories are matched against the title, description and supplier.

## `minPrice` (type: `number`):

Minimum lead price in the site currency. Leave empty for no minimum.

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

Maximum lead price in the site currency. Leave empty for no maximum.

## `minReviewScore` (type: `string`):

Only keep activities rated at or above this score.

## `duration` (type: `string`):

Only keep activities in this duration bucket.

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

Only keep activities that advertise free cancellation.

## `sort` (type: `string`):

Sort order for activity results.

## Actor input object example

```json
{
  "mode": "activityUrls",
  "destination": "",
  "activityUrls": [
    "https://www.expedia.com/things-to-do/fraser-valley-wine-tour-from-vancouver-with-a-light-lunch.a2273703.activity-details"
  ],
  "startDate": "",
  "endDate": "",
  "maxItems": 1,
  "includeActivityDetails": false,
  "includeActivityReviews": false,
  "maxActivityReviews": 3,
  "category": "any",
  "minReviewScore": "any",
  "duration": "any",
  "freeCancellationOnly": false,
  "sort": "recommended"
}
```

# Actor output Schema

## `records` (type: `string`):

Dataset containing every scraped activity or hotel record.

# 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 = {
    "mode": "activityUrls",
    "destination": "",
    "activityUrls": [
        "https://www.expedia.com/things-to-do/fraser-valley-wine-tour-from-vancouver-with-a-light-lunch.a2273703.activity-details"
    ],
    "startDate": "",
    "endDate": "",
    "maxItems": 1,
    "includeActivityDetails": false,
    "includeActivityReviews": false,
    "maxActivityReviews": 3,
    "category": "any",
    "minReviewScore": "any",
    "duration": "any",
    "freeCancellationOnly": false,
    "sort": "recommended"
};

// Run the Actor and wait for it to finish
const run = await client.actor("xyrelith-data/expedia-activities-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 = {
    "mode": "activityUrls",
    "destination": "",
    "activityUrls": ["https://www.expedia.com/things-to-do/fraser-valley-wine-tour-from-vancouver-with-a-light-lunch.a2273703.activity-details"],
    "startDate": "",
    "endDate": "",
    "maxItems": 1,
    "includeActivityDetails": False,
    "includeActivityReviews": False,
    "maxActivityReviews": 3,
    "category": "any",
    "minReviewScore": "any",
    "duration": "any",
    "freeCancellationOnly": False,
    "sort": "recommended",
}

# Run the Actor and wait for it to finish
run = client.actor("xyrelith-data/expedia-activities-reviews-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 '{
  "mode": "activityUrls",
  "destination": "",
  "activityUrls": [
    "https://www.expedia.com/things-to-do/fraser-valley-wine-tour-from-vancouver-with-a-light-lunch.a2273703.activity-details"
  ],
  "startDate": "",
  "endDate": "",
  "maxItems": 1,
  "includeActivityDetails": false,
  "includeActivityReviews": false,
  "maxActivityReviews": 3,
  "category": "any",
  "minReviewScore": "any",
  "duration": "any",
  "freeCancellationOnly": false,
  "sort": "recommended"
}' |
apify call xyrelith-data/expedia-activities-reviews-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,xyrelith-data/expedia-activities-reviews-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/JX30Bmy3IZTvvUiQN/builds/qvvdbGpnecSVJrqEE/openapi.json
