# Booking.com Search Scraper (`thescrappa/booking-search-scraper`) Actor

Scrape Booking.com search results with property names, URLs, images, review scores, locations, prices, dates, guests, and rooms.

- **URL**: https://apify.com/thescrappa/booking-search-scraper.md
- **Developed by:** [Scrappa](https://apify.com/thescrappa) (community)
- **Categories:** Travel, Developer tools, Automation
- **Stats:** 2 total users, 1 monthly users, 60.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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 Search Scraper

Scrape Booking.com search results through Scrappa. The actor returns one dataset item per property card and supports batching multiple destinations or date combinations in a single Apify run.

### What it extracts

- Property name, Booking.com URL, image, location, and price fields
- Review score, review label, and review count when Booking.com renders them
- Request context for destination, check-in/check-out dates, adults, children, rooms, language, currency, and batch search index

### Example input

This dated Paris request is the recommended smoke-test shape. Replace the dates with real future dates when you need a different stay window.

```json
{
  "ss": "Paris",
  "checkin": "2026-07-01",
  "checkout": "2026-07-03",
  "group_adults": 2,
  "group_children": 0,
  "no_rooms": 1,
  "lang": "en-us",
  "currency": "EUR"
}
````

### Batch input

Use `searches` to run multiple Booking.com searches in one actor run. The actor calls Scrappa once per search and still pushes one dataset item per returned property.

Each batch item should include real future dates for best result-card coverage.

```json
{
  "searches": [
    {
      "ss": "Paris",
      "checkin": "2026-07-01",
      "checkout": "2026-07-03",
      "group_adults": 2,
      "no_rooms": 1,
      "currency": "EUR"
    },
    {
      "ss": "Berlin",
      "checkin": "2026-07-10",
      "checkout": "2026-07-12",
      "group_adults": 1,
      "no_rooms": 1,
      "currency": "EUR"
    }
  ]
}
```

### Notes

Booking.com often needs `checkin` and `checkout` dates to render property cards. Destination-only searches may return fewer fields or no property results.

### Output

Dataset items contain the full Scrappa property card plus normalized top-level fields for common analysis:

```json
{
  "name": "Hotel Example Paris",
  "url": "https://www.booking.com/hotel/fr/example.html",
  "image": "https://cf.bstatic.com/example.jpg",
  "review_score": 8.7,
  "review_score_word": "Excellent",
  "review_count": 1240,
  "location": "1st arr., Paris",
  "price": "EUR 420",
  "currency": "EUR",
  "request_search_index": 0,
  "request_ss": "Paris",
  "request_checkin": "2026-07-01",
  "request_checkout": "2026-07-03"
}
```

For higher-volume Booking.com travel data use cases, use Scrappa directly at `https://scrappa.co`.

# Actor input Schema

## `ss` (type: `string`):

Booking.com destination search, such as Paris, New York, or Berlin. Required for single-search runs; use Batch Searches instead for multi-search runs.

## `checkin` (type: `string`):

Check-in date in YYYY-MM-DD format. Provide with Check-out Date for property cards.

## `checkout` (type: `string`):

Check-out date in YYYY-MM-DD format. Must be after Check-in Date.

## `group_adults` (type: `integer`):

Number of adults, from 1 to 30.

## `group_children` (type: `integer`):

Number of children, from 0 to 20.

## `no_rooms` (type: `integer`):

Number of rooms, from 1 to 30.

## `lang` (type: `string`):

Booking.com UI language hint, such as en-us, en, de, or fr.

## `currency` (type: `string`):

Three-letter currency code such as USD, EUR, or GBP.

## `searches` (type: `array`):

Optional list of Booking.com searches to run in one actor run. When provided, these searches are used instead of the single-search fields above.

## Actor input object example

```json
{
  "ss": "Paris",
  "checkin": "2026-07-01",
  "checkout": "2026-07-03",
  "group_adults": 2,
  "group_children": 0,
  "no_rooms": 1,
  "lang": "en-us",
  "currency": "USD"
}
```

# 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 = {
    "ss": "Paris",
    "checkin": "2026-07-01",
    "checkout": "2026-07-03"
};

// Run the Actor and wait for it to finish
const run = await client.actor("thescrappa/booking-search-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 = {
    "ss": "Paris",
    "checkin": "2026-07-01",
    "checkout": "2026-07-03",
}

# Run the Actor and wait for it to finish
run = client.actor("thescrappa/booking-search-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 '{
  "ss": "Paris",
  "checkin": "2026-07-01",
  "checkout": "2026-07-03"
}' |
apify call thescrappa/booking-search-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Booking.com Search Scraper",
        "description": "Scrape Booking.com search results with property names, URLs, images, review scores, locations, prices, dates, guests, and rooms.",
        "version": "1.0",
        "x-build-id": "NR534OiXB7Rb8wB3r"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/thescrappa~booking-search-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-thescrappa-booking-search-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/thescrappa~booking-search-scraper/runs": {
            "post": {
                "operationId": "runs-sync-thescrappa-booking-search-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/thescrappa~booking-search-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-thescrappa-booking-search-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",
                "properties": {
                    "ss": {
                        "title": "Destination",
                        "type": "string",
                        "description": "Booking.com destination search, such as Paris, New York, or Berlin. Required for single-search runs; use Batch Searches instead for multi-search runs."
                    },
                    "checkin": {
                        "title": "Check-in Date",
                        "type": "string",
                        "description": "Check-in date in YYYY-MM-DD format. Provide with Check-out Date for property cards."
                    },
                    "checkout": {
                        "title": "Check-out Date",
                        "type": "string",
                        "description": "Check-out date in YYYY-MM-DD format. Must be after Check-in Date."
                    },
                    "group_adults": {
                        "title": "Adults",
                        "minimum": 1,
                        "maximum": 30,
                        "type": "integer",
                        "description": "Number of adults, from 1 to 30.",
                        "default": 2
                    },
                    "group_children": {
                        "title": "Children",
                        "minimum": 0,
                        "maximum": 20,
                        "type": "integer",
                        "description": "Number of children, from 0 to 20.",
                        "default": 0
                    },
                    "no_rooms": {
                        "title": "Rooms",
                        "minimum": 1,
                        "maximum": 30,
                        "type": "integer",
                        "description": "Number of rooms, from 1 to 30.",
                        "default": 1
                    },
                    "lang": {
                        "title": "Language",
                        "type": "string",
                        "description": "Booking.com UI language hint, such as en-us, en, de, or fr.",
                        "default": "en-us"
                    },
                    "currency": {
                        "title": "Currency",
                        "pattern": "^[A-Za-z]{3}$",
                        "minLength": 3,
                        "maxLength": 3,
                        "type": "string",
                        "description": "Three-letter currency code such as USD, EUR, or GBP.",
                        "default": "USD"
                    },
                    "searches": {
                        "title": "Batch Searches",
                        "maxItems": 25,
                        "type": "array",
                        "description": "Optional list of Booking.com searches to run in one actor run. When provided, these searches are used instead of the single-search fields above.",
                        "items": {
                            "type": "object",
                            "required": [
                                "ss"
                            ],
                            "properties": {
                                "ss": {
                                    "title": "Destination",
                                    "description": "Booking.com destination search.",
                                    "type": "string"
                                },
                                "checkin": {
                                    "title": "Check-in Date",
                                    "description": "Check-in date in YYYY-MM-DD format.",
                                    "type": "string"
                                },
                                "checkout": {
                                    "title": "Check-out Date",
                                    "description": "Check-out date in YYYY-MM-DD format.",
                                    "type": "string"
                                },
                                "group_adults": {
                                    "title": "Adults",
                                    "description": "Number of adults.",
                                    "type": "integer",
                                    "minimum": 1,
                                    "maximum": 30
                                },
                                "group_children": {
                                    "title": "Children",
                                    "description": "Number of children.",
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 20
                                },
                                "no_rooms": {
                                    "title": "Rooms",
                                    "description": "Number of rooms.",
                                    "type": "integer",
                                    "minimum": 1,
                                    "maximum": 30
                                },
                                "lang": {
                                    "title": "Language",
                                    "description": "Booking.com UI language hint.",
                                    "type": "string"
                                },
                                "currency": {
                                    "title": "Currency",
                                    "description": "Three-letter currency code.",
                                    "type": "string",
                                    "minLength": 3,
                                    "maxLength": 3,
                                    "pattern": "^[A-Za-z]{3}$"
                                }
                            }
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
