# Booking Reviews Scraper (`easyapi/booking-reviews-scraper`) Actor

Extract detailed guest reviews, ratings, and booking information from any Booking.com hotel page. Get valuable insights including review scores, guest details, room types, and stay duration.

- **URL**: https://apify.com/easyapi/booking-reviews-scraper.md
- **Developed by:** [EasyApi](https://apify.com/easyapi) (community)
- **Categories:** Travel
- **Stats:** 105 total users, 5 monthly users, 100.0% runs succeeded, 5 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $2.99 / 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.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#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 Hotel Reviews Scraper 🏨

### 🎯 Features

- Scrapes detailed guest reviews from any Booking.com hotel page
- Extracts comprehensive review data including scores, dates, and guest information
- Supports multiple languages
- Handles pagination automatically
- Rate-limit friendly
- Proxy support (optional)

### 💪 Use Cases

- Market research and competitor analysis
- Hotel performance monitoring
- Customer sentiment analysis
- Travel industry insights
- Data-driven decision making for hospitality businesses

### 📊 Output Dataset

The scraper extracts the following data for each review:

- Overall hotel score and detailed category ratings
- Review date, title, and content (positive/negative feedback)
- Guest information (name, country, type)
- Booking details (room type, check-in/out dates, length of stay)
- Photos attached to reviews (if any)
- Hotel statistics (total reviews, category scores with bounds)

### 🔧 Input Parameters

| Field | Type | Description |
|-------|------|-------------|
| hotelUrl | String | URL of the Booking.com hotel page to scrape (required) |
| maxItems | Integer | Maximum number of reviews to scrape |

### 💡 Usage Tips

1. Use the `maxItems` parameter to control the number of reviews you want to collect
2. The scraper automatically handles different languages
3. Results are provided in real-time as they are scraped

#### Input Example

A full explanation of an input example in JSON.

```
{
    "hotelUrl": "https://www.booking.com/hotel/my/alamanda-villas-langkawi.html?aid=304142&label=gen173nr-1FCAEoggI46AdIM1gEaDGIAQGYATG4AQfIAQzYAQHoAQH4AQKIAgGoAgO4ApWtxbkGwAIB0gIkYWFkZjkyMTktNDFlOC00MzcyLTg2MzAtNGUzZDY0MmMzYzY02AIF4AIB&sid=a8da78db78dcc31a870c8d246371a1b8&dest_id=3288;dest_type=region;dist=0;group_adults=2;group_children=0;hapos=2;hpos=2;nflt=class%3D4;no_rooms=1;req_adults=2;req_children=0;room1=A%2CA;sb_price_type=total;sr_order=popularity;srepoch=1731295991;srpvid=921f143cab220aca;type=total;ucfs=1&",
    "maxItems": 20
}
```

#### Output sample

The results will be wrapped into a dataset which you can always find in the **Storage** tab. Here's an excerpt from the data you'd get if you apply the input parameters above:

And here is the same data but in JSON. You can choose in which format to download your data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.

```
[
	{
		"hotelStats": {
			"totalReviews": 263,
			"scores": {
				"hotel_staff": {
					"score": 9.5,
					"translation": "Personeel",
					"bounds": {
						"lower": 8.10095024108887,
						"higher": 9.44069957733154
					}
				},
				"hotel_services": {
					"score": 8.86538410186768,
					"translation": "Faciliteiten",
					"bounds": {
						"lower": 7.24942493438721,
						"higher": 8.97834968566895
					}
				},
				"hotel_clean": {
					"score": 8.875,
					"translation": "Hygiëne",
					"bounds": {
						"lower": 7.4689245223999,
						"higher": 9.13939952850342
					}
				},
				"hotel_comfort": {
					"score": 8.85576915740967,
					"translation": "Comfort",
					"bounds": {
						"lower": 7.472825050354,
						"higher": 9.12994956970215
					}
				},
				"hotel_value": {
					"score": 8.75478935241699,
					"translation": "Prijs-kwaliteitverhouding",
					"bounds": {
						"lower": 7.68742513656616,
						"higher": 9.16812515258789
					}
				},
				"hotel_location": {
					"score": 8.68725872039795,
					"translation": "Locatie",
					"bounds": {
						"lower": 7.70634984970093,
						"higher": 9.08532524108887
					}
				},
				"hotel_free_wifi": {
					"score": 8.75,
					"translation": "Gratis WiFi",
					"bounds": {
						"lower": 7.13922500610352,
						"higher": 8.88077449798584
					}
				}
			}
		},
		"score": 10,
		"reviewDate": 1661058490,
		"title": "Geweldige, rustige locatie",
		"positiveContent": "Schitterende, rustige locatie, tegen het bos aan waar je als je geluk hebt de aapjes tussen de bomen ziet springen. Zeer behulpzame host.",
		"negativeContent": "Geen ontbijt (al weet je dat vantevoren) of gelegenheid om hapje/drankje te bestellen.",
		"language": "nl",
		"guest": {
			"name": "Jeroen",
			"country": "Nederland",
			"countryCode": "nl",
			"type": "Gezin"
		},
		"booking": {
			"roomType": "Villa met 1 Slaapkamer",
			"roomId": 621705603,
			"checkIn": "2022-08-19",
			"checkOut": "2022-08-21",
			"nights": 2,
			"customerType": "FAMILIES"
		},
		"photos": []
	},
    ...
]
```

# Actor input Schema

## `hotelUrl` (type: `string`):

URL of the Booking.com hotel page to scrape

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

Maximum number of reviews to scrape

## Actor input object example

```json
{
  "hotelUrl": "https://www.booking.com/hotel/my/alamanda-villas-langkawi.html?aid=304142&label=gen173nr-1FCAEoggI46AdIM1gEaDGIAQGYATG4AQfIAQzYAQHoAQH4AQKIAgGoAgO4ApWtxbkGwAIB0gIkYWFkZjkyMTktNDFlOC00MzcyLTg2MzAtNGUzZDY0MmMzYzY02AIF4AIB&sid=a8da78db78dcc31a870c8d246371a1b8&dest_id=3288;dest_type=region;dist=0;group_adults=2;group_children=0;hapos=2;hpos=2;nflt=class%3D4;no_rooms=1;req_adults=2;req_children=0;room1=A%2CA;sb_price_type=total;sr_order=popularity;srepoch=1731295991;srpvid=921f143cab220aca;type=total;ucfs=1&",
  "maxItems": 20
}
```

# 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("easyapi/booking-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 = {}

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,easyapi/booking-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/b116Aorx9siaBGk1g/builds/BM89Qj1pxThVsY8ay/openapi.json
