# Booking.com Guest Reviews & Category Scores Extractor (`xyrelith-data/booking-reviews-scraper-v2`) Actor

Extract every guest review from Booking.com properties by hotel URL or hotel ID, with scores, liked and disliked text, reviewer and stay details, photos, replies, category subscores, city ranges and live filter counts.

- **URL**: https://apify.com/xyrelith-data/booking-reviews-scraper-v2.md
- **Developed by:** [Xyrelith Data](https://apify.com/xyrelith-data) (community)
- **Categories:** Travel, Automation, E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

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

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Booking.com Guest Reviews & Category Scores Extractor

Pull the full guest-review history of any Booking.com property into a clean dataset, including the seven category subscores and the live counts behind every review filter. Paste a hotel URL or a numeric hotel ID; no account, cookie, API key or proxy setup is required.

### What you get

Two record types land in the same dataset:

- **review** — one row per guest review: score, headline, liked and disliked text, review language and date, reviewer first name and country, traveler type, room type and room ID, stay dates and nights, stay status, helpful votes, guest photos and the property's reply.
- **hotelSummary** — one row per property: total review count, overall score, the seven category scores **with the local city range** (cleanliness, comfort, facilities/location/staff/value/free WiFi), counts for every score band, language, traveler type, season and room type, the available topic chips and Booking's pros/cons summary.

Use `mode` to choose reviews only, summaries only, or both.

### Modes

| Mode | What it emits |
|---|---|
| `reviews` (default) | Review records, paginated up to `maxReviewsPerHotel` |
| `summary` | One summary record per hotel |
| `both` | Summary record plus review records |

### Inputs

| Input | Type | Default | Notes |
|---|---|---|---|
| `mode` | select | `reviews` | `reviews`, `summary` or `both` |
| `hotelUrls` | string list | `["https://www.booking.com/hotel/it/artemide.en-gb.html"]` | Any `booking.com/hotel/<country>/<slug>[.<language>].html` URL |
| `hotelIds` | string list | empty | Numeric hotel IDs; resolved to name, city and URL |
| `maxHotels` | integer | 25 | Stop after N resolved hotels |
| `maxReviewsPerHotel` | integer | 100 | 1-10,000; 25 reviews per request behind the scenes |
| `sortBy` | select | `most_relevant` | Most relevant, newest, oldest, highest score, lowest score |
| `scoreBand` | select | all | Superb 9+, Good 7-9, Passable 5-7, Poor 3-5, Very poor 1-3 |
| `travelerType` | select | all | Families, couples, solo, groups, business |
| `reviewLanguage` | select | `ALL` | Any ISO 639-1 review language; live counts in the summary |
| `timeOfYear` | select | all | Mar-May, Jun-Aug, Sep-Nov, Dec-Feb |
| `topicKeywords` | string list | empty | Breakfast, location, room, clean, bar, restaurant, spa, bed, ... |
| `reviewSearchText` | string | empty | Free-text search inside review titles and bodies |
| `reviewsSince` | date | empty | Incremental cutoff (YYYY-MM-DD), applied to the review date |
| `includeTravelerTypeScores` | boolean | false | Adds per-traveler-type score breakdowns to summaries (5 extra requests per hotel) |
| `language` | select | `en-gb` | Booking interface language for labels and translations |

URLs and IDs can be mixed in one run. Duplicate hotels are removed and the first-seen order is kept.

### Output fields

Review records: `recordType`, `reviewId`, `reviewScore`, `reviewDate`, `reviewTitle`, `likedText`, `dislikedText`, `reviewLanguage`, `reviewerName`, `reviewerCountryName`, `reviewerCountryCode`, `reviewerAnonymous`, `travelerType`, `travelerTypeCode`, `roomTypeName`, `roomTypeId`, `roomId`, `checkInDate`, `checkOutDate`, `nights`, `stayStatus`, `helpfulVotes`, `reviewPhotoUrls`, `reviewPhotoCount`, `partnerReply`, `isTranslatable`, `hotelId`, `hotelName`, `hotelUrl`, `hotelCountryCode`, `hotelCity`, `sourceUrl`, `dataSource`, `scrapedAt`.

Summary records add: `ufi`, `latitude`, `longitude`, `formattedAddress`, `reviewsCount`, `reviewScore`, `reviewScoreCount`, `cleanlinessScore`, `comfortScore`, `facilitiesScore`, `locationScore`, `staffScore`, `valueScore`, `freeWifiScore`, each score's review count and city-range lower/upper bound, `scoreBandCounts`, `languageCounts`, `travelerTypeCounts`, `timeOfYearCounts`, `roomTypes`, `topics`, `availableSorters`, `reviewSummaryText`, `reviewSummaryReviewCount`, `reviewSummaryPros`, `reviewSummaryCons`, and optional `travelerTypeScores`.

Empty values are omitted at every depth: a record never contains `null`, `""`, `[]` or `{}`.

### How it works

Reviews come from Booking.com's own Apollo `reviewListFrontend` operation, the same data the "Read all reviews" panel renders. The actor resolves the hotel from the URL slug and country path (or from the numeric ID), reads the first review page to capture total counts and filter facets, then paginates by offset in 25-review steps until the limit, the end of the history or the cutoff date.

Booking's edge WAF rejects some datacenter IPs. The actor starts with a direct request and, when it sees a challenge, switches for the rest of the run to Apify's datacenter proxy automatically. If the review API is still unreachable, it reads the page through a public translated mirror, which yields the summary and 10 featured reviews; the run status says when that fallback was used. No cookies, login or user-supplied proxy is ever needed.

### Limits and notes

- Booking caps each review request at 25 rows; deep histories need many offset requests. Skipping 1,500+ reviews is supported.
- Reviewer names are first names only (Booking does not publish surnames). Anonymous reviews are flagged with `reviewerAnonymous` instead of an empty name.
- Booking does not expose a public review-date filter; `reviewsSince` is applied client-side.
- A review inserted while a run is paginating can shift offsets; records are deduplicated by `reviewId`.
- The translated-mirror fallback has no pagination: it returns the summary and at most 10 featured reviews.
- Booking's city/hotel search JSON is WAF-protected and is not used. This actor takes hotel URLs or IDs, not destination searches.

### FAQ

**Do I need a Booking.com account or cookies?** No. The review operation is public and the actor does not accept credentials.

**Do I need to configure a proxy?** No. The actor picks the required route automatically.

**Why are only 10 reviews in some runs?** That means the review API was blocked and the mirror fallback was used. The run status reports it; rerun later for the full history.

**Can I get reviews for several hotels?** Yes, add multiple URLs or IDs (up to `maxHotels`) and the actor walks them in order.

**How do I run it daily for new reviews?** Set `reviewsSince` to the previous run date and `sortBy` to `newest_first`.

### Example

```json
{
  "mode": "both",
  "hotelUrls": ["https://www.booking.com/hotel/it/artemide.en-gb.html"],
  "maxReviewsPerHotel": 100,
  "sortBy": "newest_first",
  "scoreBand": "superb",
  "travelerType": "couples",
  "includeTravelerTypeScores": true
}
```

# Actor input Schema

## `mode` (type: `string`):

reviews = review records only; summary = one summary record per hotel; both = summary plus reviews.

## `maxReviewsPerHotel` (type: `integer`):

Upper bound for review records per hotel. Booking returns 25 reviews per request; the actor paginates until this limit, the end of the history, or the reviewsSince cutoff.

## `includeTravelerTypeScores` (type: `boolean`):

Add per-traveler-type score breakdowns to summary records. Costs 5 extra summary requests per hotel.

## `hotelUrls` (type: `array`):

Hotel pages such as https://www.booking.com/hotel/it/artemide.en-gb.html. Any country path and language edition is accepted. You can mix URLs and numeric IDs.

## `hotelIds` (type: `array`):

Booking.com hotel IDs (the number in the property data, e.g. 80051). IDs are resolved to the hotel name, city and reviews.

## `maxHotels` (type: `integer`):

Stop after this many resolved hotels from the combined URL and ID list.

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

Booking's own review order.

## `scoreBand` (type: `string`):

Booking's live review-score band.

## `travelerType` (type: `string`):

Who stayed: families, couples, solo travellers, groups or business travellers.

## `reviewLanguage` (type: `string`):

Language the guest wrote in (ISO 639-1). Live counts per language are in the summary record.

## `timeOfYear` (type: `string`):

Season of the stay, based on the review's check-in date.

## `topicKeywords` (type: `array`):

Only reviews that Booking tags with these topics. Valid names: breakfast, location, room, clean, bar, restaurant, spa, bed, dinner, suite, view, bathroom, quiet, noise, shower, bus, balcony, coffee, pool, window, luggage, family, checkin, toilet, heat, lift, cold, hot, baby, loud.

## `reviewSearchText` (type: `string`):

Free-text search over review titles and bodies (case-insensitive, Booking's own search).

## `reviewsSince` (type: `string`):

YYYY-MM-DD cutoff applied client-side. Useful for incremental runs. Leave empty for all reviews.

## `language` (type: `string`):

Booking interface language used for labels and translations. Review text keeps the guest's original language.

## Actor input object example

```json
{
  "mode": "reviews",
  "maxReviewsPerHotel": 3,
  "includeTravelerTypeScores": false,
  "hotelUrls": [
    "https://www.booking.com/hotel/it/artemide.en-gb.html"
  ],
  "hotelIds": [],
  "maxHotels": 1,
  "sortBy": "newest_first",
  "scoreBand": "all",
  "travelerType": "all",
  "reviewLanguage": "ALL",
  "timeOfYear": "all",
  "topicKeywords": [],
  "reviewSearchText": "",
  "reviewsSince": "",
  "language": "en-gb"
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset containing one record per review and, in summary/both mode, one record per hotel.

# 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 = {
    "mode": "reviews",
    "maxReviewsPerHotel": 3,
    "includeTravelerTypeScores": false,
    "hotelUrls": [
        "https://www.booking.com/hotel/it/artemide.en-gb.html"
    ],
    "hotelIds": [],
    "maxHotels": 1,
    "sortBy": "newest_first",
    "scoreBand": "all",
    "travelerType": "all",
    "reviewLanguage": "ALL",
    "timeOfYear": "all",
    "topicKeywords": [],
    "reviewSearchText": "",
    "reviewsSince": "",
    "language": "en-gb"
};

// Run the Actor and wait for it to finish
const run = await client.actor("xyrelith-data/booking-reviews-scraper-v2").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 = {
    "mode": "reviews",
    "maxReviewsPerHotel": 3,
    "includeTravelerTypeScores": False,
    "hotelUrls": ["https://www.booking.com/hotel/it/artemide.en-gb.html"],
    "hotelIds": [],
    "maxHotels": 1,
    "sortBy": "newest_first",
    "scoreBand": "all",
    "travelerType": "all",
    "reviewLanguage": "ALL",
    "timeOfYear": "all",
    "topicKeywords": [],
    "reviewSearchText": "",
    "reviewsSince": "",
    "language": "en-gb",
}

# Run the Actor and wait for it to finish
run = client.actor("xyrelith-data/booking-reviews-scraper-v2").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 '{
  "mode": "reviews",
  "maxReviewsPerHotel": 3,
  "includeTravelerTypeScores": false,
  "hotelUrls": [
    "https://www.booking.com/hotel/it/artemide.en-gb.html"
  ],
  "hotelIds": [],
  "maxHotels": 1,
  "sortBy": "newest_first",
  "scoreBand": "all",
  "travelerType": "all",
  "reviewLanguage": "ALL",
  "timeOfYear": "all",
  "topicKeywords": [],
  "reviewSearchText": "",
  "reviewsSince": "",
  "language": "en-gb"
}' |
apify call xyrelith-data/booking-reviews-scraper-v2 --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,xyrelith-data/booking-reviews-scraper-v2"
        }
    }
}
```

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/sIzXpVgfTbV4PnA7b/builds/k80M2KBoKNtcl7OcX/openapi.json
