# Booking.com Scraper (`fastdataapi/booking-scraper`) Actor

Scrape Booking.com hotel listings and extract property details, prices, ratings, reviews, amenities, locations, room availability, and booking information. Automate hotel data collection for travel research, price comparison, and market analysis.

- **URL**: https://apify.com/fastdataapi/booking-scraper.md
- **Developed by:** [Fast Data API](https://apify.com/fastdataapi) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.29 / 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/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 Scraper — properties from public search results

Booking.com Scraper finds Booking.com properties for a destination (or looks up the property and search URLs you give it) and saves each one as a **structured JSON** row: name, Booking.com URL, city, area, country, property type, guest rating, review count and a short description. Rows appear in the dataset one by one while the run is going.

**What this actor does not return:** live prices, availability, rooms or anything that depends on check-in/check-out dates. The data comes from public search results that index Booking.com pages, so it is smaller than the site itself and can be a few days or weeks old. Values a listing does not show stay `null`; nothing is estimated.

### What Booking.com Scraper returns

| Field | Meaning |
|---|---|
| `order` | Position of the property in this run |
| `name` | Property name as listed |
| `url` | Booking.com property page |
| `city` | City from the listing title (null when not shown) |
| `area` | Neighbourhood or area, e.g. `Minato`, `6th arr.` (null when not listed) |
| `countryCode` | Two-letter country code from the property URL |
| `type` | Property type, e.g. `Hotel`, `Apartment`, `Inn` (null when not listed) |
| `rating` | Guest rating out of 10 (null when not listed) |
| `reviews` | Number of guest reviews (null when not listed) |
| `description` | Short description from the listing |
| `startUrlOrQuery` | The destination or URL this row came from |
| `timeOfScrapeISO` | When the row was collected (UTC) |

`rating`, `reviews`, `type` and `area` come from the optional add-on (on by default). In a real 91-row run for New York, rating was filled on 85 rows, type and area on 49.

### Booking.com Scraper input

| Input | Meaning |
|---|---|
| `search` | Destination to search, e.g. `New York`, `Lisbon`. Ignored when Start URLs are given. |
| `startUrls` | Booking.com property pages (`.../hotel/us/row-nyc1.html`) or search pages that name a destination (`searchresults.html?ss=Tokyo`). Each URL is one input. |
| `maxItems` | Maximum properties per destination or search URL. A property URL gives one row. |
| `scrapeAdditionalHotelData` | Adds rating, review count, type and area (one extra lookup per property, slower). Turn off for faster runs. |
| `minimumRating` | Keep only properties rated at least this much out of 10; properties without a listed rating are skipped. |
| `proxyConfiguration` | Optional starting connection; the run switches automatically when a page is refused. |

Public search results list a limited number of properties per destination, so a run can end below `maxItems`. The status message then says how many were saved and why (for example `New York: 91 of 100 - public search results listed no more matching properties`). A property URL that is not in the search results is skipped and named in the status.

#### Free plan limits

Free plan: up to 20 properties per run (all inputs together) and 200 per month; paid plans have no limit. The log and status message say when the free limit stops a run.

### How to run

1. Open [Booking.com Scraper](https://apify.com/fastdataapi/booking-scraper) in Apify Console.
2. Enter a destination (or property / search URLs) and the maximum properties per input.
3. Start the run; rows appear in the dataset as each property is ready.
4. Export the dataset as JSON, CSV, Excel or another supported format.

Typical speed on Apify: 10 properties with ratings in about 45 seconds, 12 without the add-on in about 20 seconds, 91 with ratings in about 4.5 minutes.

### Use with API and AI clients

Run it through the Apify API: `https://api.apify.com/v2/acts/fastdataapi~booking-scraper/run-sync-get-dataset-items?token=<YOUR_TOKEN>` with the input as JSON body, or connect an AI client to the Apify MCP server:

```sh
claude mcp add --transport http apify "https://mcp.apify.com?tools=fastdataapi/booking-scraper"
```

### Example result

A real row from an Apify run (destination `Paris`, minimum rating 8.5):

```json
{
  "order": 1,
  "name": "L'Hôtel",
  "url": "https://www.booking.com/hotel/fr/paris.html",
  "city": "Paris",
  "area": "6th arr.",
  "countryCode": "FR",
  "type": "Hotel",
  "rating": 9.2,
  "reviews": 424,
  "description": "Located in the historical district of Saint-Germain-des-Prés, this 5-star hotel features a hammam and an indoor swimming pool.",
  "startUrlOrQuery": "Paris"
}
```

# Actor input Schema

## `search` (type: `string`):

City, region or landmark to search for accommodation (e.g. New York, Paris). Ignored when Start URLs are provided.

## `startUrls` (type: `array`):

Booking.com property pages (e.g. https://www.booking.com/hotel/us/row-nyc1.html) or search pages that name a destination (ss=...). Each URL is one input.

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

Maximum properties per destination or search URL (a property URL gives one row). Public search results list a limited number of properties per destination, so a run can end below this number. Free plan: up to 20 properties per run (all inputs together) and 200 per month; paid plans have no limit.

## `scrapeAdditionalHotelData` (type: `boolean`):

One extra public lookup per property for its guest rating (out of 10), review count, property type and area. Turn off for faster runs with name, city, country and description only.

## `minimumRating` (type: `string`):

Keep only properties rated at least this much out of 10 (e.g. 7, 8.5). Properties without a listed rating are skipped. Leave empty for no filter.

## `proxyConfiguration` (type: `object`):

Optional. The run starts from this connection and switches automatically when a page is refused.

## Actor input object example

```json
{
  "search": "New York",
  "startUrls": [],
  "maxItems": 10,
  "scrapeAdditionalHotelData": true,
  "minimumRating": "",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

No description

# 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 = {
    "search": "New York",
    "startUrls": [],
    "maxItems": 10,
    "scrapeAdditionalHotelData": true,
    "minimumRating": "",
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("fastdataapi/booking-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 = {
    "search": "New York",
    "startUrls": [],
    "maxItems": 10,
    "scrapeAdditionalHotelData": True,
    "minimumRating": "",
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("fastdataapi/booking-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 '{
  "search": "New York",
  "startUrls": [],
  "maxItems": 10,
  "scrapeAdditionalHotelData": true,
  "minimumRating": "",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call fastdataapi/booking-scraper --silent --output-dataset

```

## MCP server setup

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