# 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:** 2 total users, 1 monthly users, 100.0% 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 a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Booking.com Attractions Search Scraper",
        "description": "Export tours and things to do for a Booking destination—titles, prices, review signals, and photos in structured rows.",
        "version": "0.0",
        "x-build-id": "VEKaR2EGo5f0aVxXp"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/powerai~booking-attractions-search-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-powerai-booking-attractions-search-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/powerai~booking-attractions-search-scraper/runs": {
            "post": {
                "operationId": "runs-sync-powerai-booking-attractions-search-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/powerai~booking-attractions-search-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-powerai-booking-attractions-search-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "id"
                ],
                "properties": {
                    "id": {
                        "title": "Location / product ID",
                        "type": "string",
                        "description": "From searchLocation (e.g. Base64 id in products or destinations).",
                        "default": "eyJ1ZmkiOi0yMDkyMTc0fQ=="
                    },
                    "maxResults": {
                        "title": "Maximum results",
                        "minimum": 20,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Max products to collect across pages.",
                        "default": 20
                    },
                    "startDate": {
                        "title": "Start date",
                        "type": "string",
                        "description": "yyyy-mm-dd or yyyy/mm/dd (optional, for sorting context)."
                    },
                    "endDate": {
                        "title": "End date",
                        "type": "string",
                        "description": "yyyy-mm-dd or yyyy/mm/dd (optional)."
                    },
                    "sortBy": {
                        "title": "Sort by",
                        "type": "string",
                        "description": "e.g. trending, lowest_price, attr_book_score",
                        "default": "trending"
                    },
                    "currency_code": {
                        "title": "Currency code",
                        "type": "string",
                        "description": "e.g. INR",
                        "default": "INR"
                    },
                    "languagecode": {
                        "title": "Language code",
                        "type": "string",
                        "description": "e.g. en-us",
                        "default": "en-us"
                    },
                    "typeFilters": {
                        "title": "Type filters",
                        "type": "string",
                        "description": "Comma-separated tagnames from filterOptions."
                    },
                    "priceFilters": {
                        "title": "Price filters",
                        "type": "string",
                        "description": "Comma-separated tagnames from filterOptions."
                    },
                    "ufiFilters": {
                        "title": "UFI filters",
                        "type": "string",
                        "description": "Comma-separated tagnames from filterOptions."
                    },
                    "labelFilters": {
                        "title": "Label filters",
                        "type": "string",
                        "description": "Comma-separated tagnames from filterOptions."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
