# Booking.com Attractions Search Scraper (`powerai/booking-attractions-search-scraper`) Actor

Export tours and things to do for a Booking destination—titles, prices, review signals, and photos in structured rows.

- **URL**: https://apify.com/powerai/booking-attractions-search-scraper.md
- **Developed by:** [PowerAI](https://apify.com/powerai) (community)
- **Categories:** Travel, E-commerce, Integrations
- **Stats:** 1 total users, 0 monthly users, 96.7% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.99 / 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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Booking.com Attractions Search Scraper

Pull **tours and activities** for a destination you already identified in Booking’s attractions flow: one row per product, with names, pricing hints, review stats, photos, and flags—ready for merchandising, research, or partner reporting.

### Who it’s for

- **Destination & product teams** building activity assortments for a city or region.
- **Marketing & partnerships** comparing what Booking promotes for a location.
- **Analysts** who need repeatable exports instead of browsing page by page.

### What you can do with it

- **Collect many products** across result pages until you hit your cap.
- **Optional filters and sort** when you already know valid values from the same Booking workflow (currency, language, type/price/UFI/label filters).
- **Date range** fields when you use them in your search context.

### How it works (in plain terms)

You provide the **location / product `id`** (usually from **searchLocation**—often a Base64-style string). The tool requests **page 1, 2, …** of the attractions catalog, **merges each product into your dataset**, and stops when there are no more products or you reach your **maximum row count**.

### Input

| Field | Required | What it means |
|-------|----------|----------------|
| **ID** (`id`) | Yes | Destination or product identifier from your attractions location search. |
| **Maximum results** (`maxResults`) | No | Upper limit on how many products to collect (default **100**). |
| **Start / end date** (`startDate`, `endDate`) | No | Optional dates for sorting context (`yyyy-mm-dd` or `yyyy/mm/dd`). |
| **Sort** (`sortBy`) | No | e.g. trending, lowest price, best reviewed—when supported. |
| **Currency & language** (`currency_code`, `languagecode`) | No | Display currency and response language. |
| **Filters** (`typeFilters`, `priceFilters`, `ufiFilters`, `labelFilters`) | No | Comma-separated tag names from prior search `filterOptions` when you need them. |

### Output

- **One row per attraction product** until your cap or the end of results.
- **Identity & copy**: product **`id`**, **`name`**, URL **`slug`**, and **`shortDescription`**. Nested objects often include GraphQL-style **`__typename`** labels from the upstream API.
- **Pricing**: **`representativePrice`** with charge/public amounts and **currency** (e.g. INR).
- **Media**: **`primaryPhoto`**, usually with a **`small`** image URL (long-lived CDN links; treat as snapshot).
- **Reviews**: **`reviewsStats`**—including **`allReviewsCount`**, **`percentage`**, and **`combinedNumericStats`** (**`average`**, **`total`** review count used for scoring).
- **Place**: **`ufiDetails`**—city name (**`bCityName`**), **`ufi`**, and **`url.country`**.
- **Policies & commerce**: **`cancellationPolicy`** (e.g. **`hasFreeCancellation`**), **`offers`** (nested offer **`items`** with their own ids), **`supportedFeatures`** (e.g. **`nativeApp`**).
- **Merchandising**: **`flags`** (e.g. bestseller, recommended-by-travellers, guide badges) with **`flag`**, **`value`**, and **`rank`**.
- Every row adds **when that record was written** (`scrapedAt`).

Illustrative shape only: some products may omit or add fields; image URLs are long.

#### Sample output (one dataset row, trimmed)

```json
{
  "__typename": "AttractionsProduct",
  "cancellationPolicy": {
    "__typename": "AttractionsCancellationPolicy",
    "hasFreeCancellation": true
  },
  "id": "PR6K7ZswbGBs",
  "name": "Dharavi, Dhobighat, and Mumbai Dabbawallas",
  "slug": "pr6k7zswbgbs-mumbai-half-day-tour",
  "shortDescription": "A must do tour of Mumbai. This is an off-beat 3.5hours tour where you will see Mumbai from a wide...",
  "representativePrice": {
    "__typename": "AttractionsPrice",
    "chargeAmount": 1852.75,
    "currency": "INR",
    "publicAmount": 1852.75
  },
  "primaryPhoto": {
    "__typename": "AttractionsPhoto",
    "small": "https://r-xx.bstatic.com/xdata/images/xphoto/300x320/147437415.jpg?k=3269ed4a34e76c66d327cfb870fa07ce95629ab36021dc0b11924f0379ccb046&o="
  },
  "reviewsStats": {
    "__typename": "AttractionsProductReviewStats",
    "allReviewsCount": 0,
    "percentage": "0",
    "combinedNumericStats": {
      "__typename": "AttractionsProductCombinedReviewStats",
      "average": 4.7,
      "total": 87
    }
  },
  "ufiDetails": {
    "__typename": "AttractionLocationResponse",
    "bCityName": "Mumbai",
    "ufi": -2092174,
    "url": {
      "__typename": "AttractionLocationUrl",
      "country": "in"
    }
  },
  "offers": [
    {
      "__typename": "Offer",
      "items": [{ "__typename": "OfferItem", "id": "OIEnoHP8TJsB" }]
    },
    {
      "__typename": "Offer",
      "items": [{ "__typename": "OfferItem", "id": "OIMyfydyr7zh" }]
    }
  ],
  "supportedFeatures": {
    "__typename": "AttractionsProductSupportedFeatures",
    "nativeApp": true
  },
  "flags": [
    {
      "__typename": "AttractionsProductFlags",
      "flag": "recommendedByTravellers",
      "value": true,
      "rank": 96
    },
    {
      "__typename": "AttractionsProductFlags",
      "flag": "bestseller",
      "value": true,
      "rank": 1
    },
    {
      "__typename": "AttractionsProductFlags",
      "flag": "aiBadgesExpertGuide",
      "value": true,
      "rank": 1
    }
  ],
  "scrapedAt": "2026-03-25T06:11:09.965Z"
}
```

### Good to know

- The **`id`** must match what **searchLocation** (or your upstream step) returns; wrong values yield empty or failed searches.
- Filter tag names come from a **first response’s** `filterOptions` when you need narrow segments.
- Use data in line with Booking.com’s terms and applicable laws.

# Actor input Schema

## `id` (type: `string`):

From searchLocation (e.g. Base64 id in products or destinations).

## `maxResults` (type: `integer`):

Max products to collect across pages.

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

yyyy-mm-dd or yyyy/mm/dd (optional, for sorting context).

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

yyyy-mm-dd or yyyy/mm/dd (optional).

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

e.g. trending, lowest\_price, attr\_book\_score

## `currency_code` (type: `string`):

e.g. INR

## `languagecode` (type: `string`):

e.g. en-us

## `typeFilters` (type: `string`):

Comma-separated tagnames from filterOptions.

## `priceFilters` (type: `string`):

Comma-separated tagnames from filterOptions.

## `ufiFilters` (type: `string`):

Comma-separated tagnames from filterOptions.

## `labelFilters` (type: `string`):

Comma-separated tagnames from filterOptions.

## Actor input object example

```json
{
  "id": "eyJ1ZmkiOi0yMDkyMTc0fQ==",
  "maxResults": 20,
  "sortBy": "trending",
  "currency_code": "INR",
  "languagecode": "en-us"
}
```

# 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 = {
    "id": "eyJ1ZmkiOi0yMDkyMTc0fQ==",
    "maxResults": 20,
    "sortBy": "trending",
    "currency_code": "INR",
    "languagecode": "en-us"
};

// Run the Actor and wait for it to finish
const run = await client.actor("powerai/booking-attractions-search-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 = {
    "id": "eyJ1ZmkiOi0yMDkyMTc0fQ==",
    "maxResults": 20,
    "sortBy": "trending",
    "currency_code": "INR",
    "languagecode": "en-us",
}

# Run the Actor and wait for it to finish
run = client.actor("powerai/booking-attractions-search-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "id": "eyJ1ZmkiOi0yMDkyMTc0fQ==",
  "maxResults": 20,
  "sortBy": "trending",
  "currency_code": "INR",
  "languagecode": "en-us"
}' |
apify call powerai/booking-attractions-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=powerai/booking-attractions-search-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/GyinqXsXk2RJVXg9o/builds/VEKaR2EGo5f0aVxXp/openapi.json
