# Booking Hotel Search Review Scraper (`seeb/booking-hotel-search-review-scraper`) Actor

Scrape Booking.com search and hotel detail rows with strict output caps. Max hotels is an upper limit, not a guaranteed count; output depends on rows Booking exposes on the loaded page.

- **URL**: https://apify.com/seeb/booking-hotel-search-review-scraper.md
- **Developed by:** [Techionik](https://apify.com/seeb) (community)
- **Categories:** Travel, Lead generation, Automation
- **Stats:** 8 total users, 2 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 hotel, review, or change rows

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/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.

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

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

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.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/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 Hotel Search & Review Scraper

![Booking Hotel Search & Review Scraper hero](./assets/hero.svg)

Scrape Booking.com hotel search results, hotel detail pages, and review summaries with a browser-first workflow that is built for premium store positioning.

![Booking icon](./assets/icon.svg)

### What You Get

- Hotel name
- Hotel URL
- Search location or property location
- Price and visible price text when available
- Review score and review count
- Hotel image
- Review snippet rows when available
- Change events when monitoring is enabled

### Why This Actor Is Premium

- It uses a real browser so it can handle Booking.com challenge pages instead of pretending the site is open.
- It keeps the output predictable by capping hotel rows and review rows per input.
- It stores monitoring snapshots in a named key-value store so scheduled runs can compare results cleanly.
- It avoids noisy billing by only writing useful dataset rows.

### Quick Start

1. Add one or more search queries such as `London` or `Paris hotels`.
2. Optionally add direct Booking.com hotel URLs if you want review-page extraction too.
3. Set your trip dates, adults, rooms, and currency if you want search pages to match a real trip.
4. Keep proxy mode on `No proxy` for the lowest cost. Switch to `Auto fallback to datacenter` only if Booking blocks your run.
5. Turn on `Monitor changes since last run` if you want price, score, and review-count tracking.

### Search Mode

Search mode is ideal for market scans and deal monitoring.

The Actor opens Booking.com search pages and extracts:

- hotel rows
- visible prices
- review scores
- review counts
- image URLs
- badges when present

### Result Limits

`Max hotels per search` is an upper cap, not a guaranteed count. The Actor extracts hotel rows that Booking.com exposes on the loaded search page.

- One search may return fewer rows than the requested maximum.
- The Actor does not currently deep-paginate through every Booking.com result page.
- The Actor never writes more than `Max hotels per search`.
- Users are charged only for rows written to the default dataset.

Cloud benchmarks:

- `Lahore`, `Max hotels per search: 100` produced 51 hotel rows.
- `London`, `Max hotels per search: 100` produced 59 hotel rows.
- `New York`, `Max hotels per search: 200` produced 57 hotel rows.

### Review Mode

If you provide direct Booking.com hotel URLs, the Actor also extracts hotel detail data and review snippet rows when they are visible on the page.

That gives you:

- property summary rows
- review snippet rows
- review author fields when Booking exposes them
- review text when available

### Monitoring And Billing

Booking monitoring works by saving a snapshot of each search query or hotel URL in a named key-value store.

- First monitoring run creates the baseline only.
- Later runs compare prices, review scores, and review counts.
- `Output only the changes` writes just the change events.
- The default dataset only receives rows you can use.
- Internal notices and empty runs are stored outside the paid dataset.

### Proxy Strategy

Booking.com is protected, so the Actor includes a cost-aware proxy strategy.

- `No proxy` is the cheapest option and the default.
- `Auto fallback to datacenter` tries direct access first, then retries with Apify datacenter proxy if Booking blocks the page.
- `Datacenter proxy` is a stronger option when Booking blocks direct access.
- `Residential proxy` is the most expensive and should be used only when needed.

For best economics and fair billing, each search has a 50-row minimum. Larger capped runs are more cost efficient per result because the browser startup cost is spread across more hotel rows.

### Notes

- Results depend on what Booking.com exposes publicly on the loaded page for the selected query, dates, and region.
- Some hotel pages show review snippets, while others only expose the summary score and review count.
- If Booking changes its markup, the browser-based approach and structured-data fallbacks keep the Actor much more resilient than a one-selector scraper.

# Actor input Schema

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

Booking.com search terms or destinations. Examples: London, Paris hotels, Barcelona airport.
## `hotelUrls` (type: `array`):

Direct Booking.com hotel URLs to scrape hotel details and review summaries.
## `checkIn` (type: `string`):

Optional check-in date in YYYY-MM-DD format. Leave empty to use Booking.com defaults.
## `checkOut` (type: `string`):

Optional check-out date in YYYY-MM-DD format. Leave empty to use Booking.com defaults.
## `adults` (type: `integer`):

Number of adults for each search. Keep this aligned with the trip you want to compare.
## `rooms` (type: `integer`):

Number of rooms for each search.
## `children` (type: `integer`):

Number of children included in each search.
## `childrenAges` (type: `array`):

Optional ages for each child. Leave empty if there are no children.
## `currency` (type: `string`):

Currency code used in Booking.com search URLs, for example USD, GBP, or EUR.
## `language` (type: `string`):

Booking.com language path segment used when opening pages. The default uses English UK formatting.
## `maxHotelsPerSearch` (type: `integer`):

Maximum hotel rows to write for each search query. This is an upper cap, not a guaranteed count. The Actor extracts the hotel rows Booking exposes on the loaded search page. Minimum is 50 so browser startup costs stay fair and predictable.
## `maxReviewRowsPerHotel` (type: `integer`):

Maximum review rows to write for each hotel page when review snippets are available. Use 0 to skip review rows.
## `monitorChanges` (type: `boolean`):

Save snapshots in a named key-value store and compare hotel price, score, and review count across runs.
## `onlyChanges` (type: `boolean`):

When monitoring is enabled, output change events instead of normal hotel rows.
## `proxyMode` (type: `string`):

Use no proxy for the lowest cost. Choose Auto or proxy modes only if Booking.com blocks direct access.
## `proxyCountryCode` (type: `string`):

Optional two-letter country code for residential proxy, for example US or GB. Used only when Proxy mode is Residential.
## `includeReviewSnippets` (type: `boolean`):

Include review text rows where they can be collected from the hotel page. Turn off for smaller outputs.
## `maxRunMinutes` (type: `integer`):

Cost protection timeout for the whole run. The Actor stops early instead of waiting forever on blocked or slow Booking pages.
## `maxSourceSeconds` (type: `integer`):

Cost protection timeout per Booking search query or hotel URL. Lower values reduce runtime/proxy cost; higher values may help on slow pages.

## Actor input object example

```json
{
  "searchQueries": [
    "London",
    "Paris hotels"
  ],
  "hotelUrls": [
    "https://www.booking.com/hotel/gb/example.en-gb.html"
  ],
  "checkIn": "",
  "checkOut": "",
  "adults": 2,
  "rooms": 1,
  "children": 0,
  "childrenAges": [],
  "currency": "USD",
  "language": "en-gb",
  "maxHotelsPerSearch": 50,
  "maxReviewRowsPerHotel": 10,
  "monitorChanges": false,
  "onlyChanges": false,
  "proxyMode": "none",
  "proxyCountryCode": "",
  "includeReviewSnippets": true,
  "maxRunMinutes": 8,
  "maxSourceSeconds": 150
}
````

# Actor output Schema

## `results` (type: `string`):

Normal runs contain hotel rows or review rows. When Output only the changes is enabled, rows contain change events.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("seeb/booking-hotel-search-review-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("seeb/booking-hotel-search-review-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 '{}' |
apify call seeb/booking-hotel-search-review-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Booking Hotel Search Review Scraper",
        "description": "Scrape Booking.com search and hotel detail rows with strict output caps. Max hotels is an upper limit, not a guaranteed count; output depends on rows Booking exposes on the loaded page.",
        "version": "0.0",
        "x-build-id": "MjKXfDNFQ3T3GgRSJ"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/seeb~booking-hotel-search-review-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-seeb-booking-hotel-search-review-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/seeb~booking-hotel-search-review-scraper/runs": {
            "post": {
                "operationId": "runs-sync-seeb-booking-hotel-search-review-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/seeb~booking-hotel-search-review-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-seeb-booking-hotel-search-review-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",
                "properties": {
                    "searchQueries": {
                        "title": "Search queries",
                        "type": "array",
                        "description": "Booking.com search terms or destinations. Examples: London, Paris hotels, Barcelona airport.",
                        "default": [
                            "London"
                        ],
                        "items": {
                            "type": "string"
                        }
                    },
                    "hotelUrls": {
                        "title": "Hotel URLs",
                        "type": "array",
                        "description": "Direct Booking.com hotel URLs to scrape hotel details and review summaries.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "checkIn": {
                        "title": "Check-in date",
                        "type": "string",
                        "description": "Optional check-in date in YYYY-MM-DD format. Leave empty to use Booking.com defaults.",
                        "default": ""
                    },
                    "checkOut": {
                        "title": "Check-out date",
                        "type": "string",
                        "description": "Optional check-out date in YYYY-MM-DD format. Leave empty to use Booking.com defaults.",
                        "default": ""
                    },
                    "adults": {
                        "title": "Adults",
                        "minimum": 1,
                        "maximum": 30,
                        "type": "integer",
                        "description": "Number of adults for each search. Keep this aligned with the trip you want to compare.",
                        "default": 2
                    },
                    "rooms": {
                        "title": "Rooms",
                        "minimum": 1,
                        "maximum": 30,
                        "type": "integer",
                        "description": "Number of rooms for each search.",
                        "default": 1
                    },
                    "children": {
                        "title": "Children",
                        "minimum": 0,
                        "maximum": 30,
                        "type": "integer",
                        "description": "Number of children included in each search.",
                        "default": 0
                    },
                    "childrenAges": {
                        "title": "Children ages",
                        "type": "array",
                        "description": "Optional ages for each child. Leave empty if there are no children.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "currency": {
                        "title": "Currency",
                        "type": "string",
                        "description": "Currency code used in Booking.com search URLs, for example USD, GBP, or EUR.",
                        "default": "USD"
                    },
                    "language": {
                        "title": "Language",
                        "type": "string",
                        "description": "Booking.com language path segment used when opening pages. The default uses English UK formatting.",
                        "default": "en-gb"
                    },
                    "maxHotelsPerSearch": {
                        "title": "Max hotels per search",
                        "minimum": 50,
                        "type": "integer",
                        "description": "Maximum hotel rows to write for each search query. This is an upper cap, not a guaranteed count. The Actor extracts the hotel rows Booking exposes on the loaded search page. Minimum is 50 so browser startup costs stay fair and predictable.",
                        "default": 50
                    },
                    "maxReviewRowsPerHotel": {
                        "title": "Max review rows per hotel",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum review rows to write for each hotel page when review snippets are available. Use 0 to skip review rows.",
                        "default": 10
                    },
                    "monitorChanges": {
                        "title": "Monitor changes since last run",
                        "type": "boolean",
                        "description": "Save snapshots in a named key-value store and compare hotel price, score, and review count across runs.",
                        "default": false
                    },
                    "onlyChanges": {
                        "title": "Output only the changes",
                        "type": "boolean",
                        "description": "When monitoring is enabled, output change events instead of normal hotel rows.",
                        "default": false
                    },
                    "proxyMode": {
                        "title": "Proxy mode",
                        "enum": [
                            "none",
                            "auto",
                            "datacenter",
                            "residential"
                        ],
                        "type": "string",
                        "description": "Use no proxy for the lowest cost. Choose Auto or proxy modes only if Booking.com blocks direct access.",
                        "default": "none"
                    },
                    "proxyCountryCode": {
                        "title": "Residential proxy country",
                        "type": "string",
                        "description": "Optional two-letter country code for residential proxy, for example US or GB. Used only when Proxy mode is Residential.",
                        "default": ""
                    },
                    "includeReviewSnippets": {
                        "title": "Include review snippets",
                        "type": "boolean",
                        "description": "Include review text rows where they can be collected from the hotel page. Turn off for smaller outputs.",
                        "default": true
                    },
                    "maxRunMinutes": {
                        "title": "Max run minutes",
                        "minimum": 1,
                        "maximum": 10,
                        "type": "integer",
                        "description": "Cost protection timeout for the whole run. The Actor stops early instead of waiting forever on blocked or slow Booking pages.",
                        "default": 8
                    },
                    "maxSourceSeconds": {
                        "title": "Max seconds per search or hotel URL",
                        "minimum": 45,
                        "maximum": 240,
                        "type": "integer",
                        "description": "Cost protection timeout per Booking search query or hotel URL. Lower values reduce runtime/proxy cost; higher values may help on slow pages.",
                        "default": 150
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
