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

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://beta-securitybyobscurity.apify.com/easyapi/booking-reviews-scraper.md
- **Developed by:** [EasyApi](https://beta-securitybyobscurity.apify.com/easyapi) (community)
- **Categories:** Travel
- **Stats:** 33 total users, 7 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

$19.99/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period.
You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#rental-actors

# 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("💾 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 easyapi/booking-reviews-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Booking Reviews Scraper",
        "description": "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.",
        "version": "0.0",
        "x-build-id": "iDtLwaiyxzxp0TgrB"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/easyapi~booking-reviews-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-easyapi-booking-reviews-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/easyapi~booking-reviews-scraper/runs": {
            "post": {
                "operationId": "runs-sync-easyapi-booking-reviews-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/easyapi~booking-reviews-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-easyapi-booking-reviews-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": [
                    "hotelUrl"
                ],
                "properties": {
                    "hotelUrl": {
                        "title": "Hotel URL",
                        "type": "string",
                        "description": "URL of the Booking.com hotel page to scrape",
                        "default": "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": {
                        "title": "Maximum Reviews",
                        "minimum": 1,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Maximum number of reviews to scrape",
                        "default": 20
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
