# Booking scraper (`mrdoe/booking-scraper`) Actor

extracts hotel and property listings from \[Booking.com] search result pages name, price, rating, address, distance from centre, room type, and more. Give it a search results URL (destination, dates, guests) and it scrapes the listings shown, scrolling to load more as needed.

- **URL**: https://apify.com/mrdoe/booking-scraper.md
- **Developed by:** [MrDoe](https://apify.com/mrdoe) (community)
- **Categories:** Lead generation, Real estate, Travel
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.10 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

### What does Booking.com Listings Scraper do?

**Booking.com Listings Scraper** extracts hotel and property listings from [Booking.com](https://www.booking.com/) search result pages - name, price, rating, address, distance from centre, room type, and more. Give it a search results URL (destination, dates, guests) and it scrapes the listings shown, scrolling to load more as needed. Running it on the Apify platform gets you scheduling, API access to results, and monitoring out of the box.

### Why use Booking.com Listings Scraper?

- Compare hotel prices and availability across a destination without manually browsing Booking.com.
- Feed accommodation data into travel research, price-tracking, or market-comparison tools.
- Track how prices for a destination change over time by scheduling recurring runs.

### How to use Booking.com Listings Scraper

1. Click **Try for free** (or **Start**) to open the Actor.
2. Go to [booking.com](https://www.booking.com/), search for a destination with your desired dates and guests, and copy the resulting search URL into **Start URLs**.
3. Optionally set **Max items** to control how many listings are scraped.
4. Click **Start** and wait for the run to finish, then open the **Dataset** tab to view, filter, and export the results.

### Input

| Field | Type | Description |
|---|---|---|
| `startUrls` | array (required) | Booking.com search result page URLs to scrape. |
| `maxItems` | integer (optional) | Stop the run after this many listings have been scraped. Defaults to 25. |
| `proxyConfiguration` | object (optional) | Proxy settings. Not required in most cases - see Tips below. |

See the **Input** tab for the full schema.

### Output

Each dataset item looks like this:

```json
{
  "title": "Ibis Styles Paris Batignolles",
  "url": "https://www.booking.com/hotel/fr/mirific.en-gb.html",
  "price": 108503,
  "currency": "NPR",
  "reviewScore": 8.4,
  "reviewScoreCategory": "Very good",
  "reviewCount": 3224,
  "address": "17th arr., Paris",
  "distanceFromCentre": "4.3 km from centre",
  "roomType": "Standard Twin Room"
}
```

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

#### Data table

| Field | Description |
|---|---|
| `title` | Property name |
| `url` | Link to the listing's Booking.com page |
| `price`, `currency`, `taxesAndCharges` | Pricing for the searched dates |
| `reviewScore`, `reviewScoreCategory`, `reviewCount` | Guest rating out of 10 and review count |
| `address`, `distanceFromCentre` | Location |
| `roomType` | The recommended room type shown for the search |
| `imageUrl` | Property thumbnail image |

Note: displayed price and currency depend on Booking.com's detected locale for the request; results reflect whatever currency Booking.com shows for that run.

### Cost estimation

Each search page requires a real browser render, so runs are billed per browser page rather than lightweight HTTP requests. Use **Max items** to scope smaller, cheaper runs.

### Tips

- Booking.com's bot protection is passable without a proxy in most cases (verified in testing). Enable a proxy only if you see blocked or empty results at scale.
- Results are loaded via scroll-triggered pagination, not URL parameters - the Actor scrolls automatically to load more listings up to your **Max items** setting.

### FAQ, disclaimers, and support

This Actor only collects publicly listed Booking.com data. It is not affiliated with or endorsed by Booking.com. Respect Booking.com's Terms of Service when using the scraped data. Found a bug or have a feature request? Use the Issues tab on this Actor's page.

# Actor input Schema

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

Booking.com search result page URLs to scrape, e.g. https://www.booking.com/searchresults.html?ss=Paris\&checkin=2026-09-10\&checkout=2026-09-13\&group\_adults=2\&no\_rooms=1.

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

Stop the run once this many listings have been scraped across all start URLs.

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

Required - Apify Proxy must be enabled for this Actor to run.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.booking.com/searchresults.html?ss=Paris&checkin=2026-09-10&checkout=2026-09-13&group_adults=2&no_rooms=1"
    }
  ],
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "startUrls": [
        {
            "url": "https://www.booking.com/searchresults.html?ss=Paris&checkin=2026-09-10&checkout=2026-09-13&group_adults=2&no_rooms=1"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("mrdoe/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 = { "startUrls": [{ "url": "https://www.booking.com/searchresults.html?ss=Paris&checkin=2026-09-10&checkout=2026-09-13&group_adults=2&no_rooms=1" }] }

# Run the Actor and wait for it to finish
run = client.actor("mrdoe/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 '{
  "startUrls": [
    {
      "url": "https://www.booking.com/searchresults.html?ss=Paris&checkin=2026-09-10&checkout=2026-09-13&group_adults=2&no_rooms=1"
    }
  ]
}' |
apify call mrdoe/booking-scraper --silent --output-dataset

```

## MCP server setup

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