# Booking Scraper (`hello.datawizards/booking-scraper`) Actor

The Booking-Scraper Apify Actor extracts detailed hotel data from Booking.com in structured JSON, including names, addresses, reviews, and room details. Ideal for travel planning and market research, it supports proxy use and customizable limits. Built by DataWizards for scalable, data extraction.

- **URL**: https://apify.com/hello.datawizards/booking-scraper.md
- **Developed by:** [datawizards](https://apify.com/hello.datawizards) (community)
- **Categories:** Agents, Automation, Lead generation
- **Stats:** 25 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.005 / actor start

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

### 🏨 Booking-Scraper · Apify Actor

Scrape **detailed hotel data** from Booking.com with structured JSON output – perfect for travel planning, market research, or price comparison.\
Built and maintained by [DataWizards](https://linkedin.com/in/data-wizards-aa8080342).

***

### 📌 What Is `Booking-Scraper`?

The `Booking-Scraper` Apify Actor enables you to **extract comprehensive hotel information** from Booking.com based on search queries, check-in, and check-out dates. Retrieve details like hotel names, addresses, review scores, room availability, and descriptions without manual browsing or login.

Ideal for travel agencies, analysts, developers, and businesses seeking actionable insights from Booking.com data.

***

### 🧠 Key Features

- ✅ **Structured Hotel Data** in JSON
- ✅ Extracts hotel name, address, review scores, room details, and descriptions
- ✅ Supports **location-based search** with check-in/check-out dates
- ✅ Proxy support via Apify Proxy (incl. **RESIDENTIAL IPs**)
- ✅ Configurable item limits for scalable scraping
- ✅ Fast, reliable, and easy to integrate

***

### 🛠️ Input Schema

To use the actor, provide the following input:

```json
{
  "item_limit": 10,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  },
  "search_query": "melbourne",
  "check_in": "2023-10-01",
  "check_out": "2023-10-05"
}
```

#### Input Fields

- **`item_limit`**: Number of hotels to scrape (e.g., `10`).
- **`proxyConfiguration.useApifyProxy`**: Set to `true` (required).
- **`proxyConfiguration.apifyProxyGroups`**: Use `"RESIDENTIAL"` for reliable results and minimal blocking (optional).
- **`search_query`**: Location or hotel name to search (e.g., `"melbourne"`).
- **`check_in`**: Check-in date in `YYYY-MM-DD` format (e.g., `"2023-10-01"`).
- **`check_out`**: Check-out date in `YYYY-MM-DD` format (e.g., `"2023-10-05"`).

***

### 📤 Output Example

Here’s a sample of the structured JSON output:

```json
[
  {
    "DISPLAY_NAME": "Radisson On Flagstaff Gardens Melbourne",
    "ADDRESS": "380 William Street, Melbourne, Victoria 3000, Australia",
    "CHECKIN": "2023-10-01",
    "CHECKOUT": "2023-10-05",
    "REVIEW_COUNT": 3218,
    "REVIEW_SCORE": 8.3,
    "ROOM_DETAILS": [
      {
        "FREE_CANCELLATION": false
      },
      {
        "NO_PRE_PAYMENT": false
      }
    ],
    "description": "Radisson on Flagstaff Gardens Melbourne is a 4 star hotel conveniently located in the central business district opposite Flagstaff Gardens, Melbourne’s..."
  }
]
```

***

### 🚀 Use Cases

- 🏖️ **Travel Planning** – Gather hotel details for itinerary creation.
- 📈 **Market Research** – Analyze hotel ratings, pricing, and availability trends.
- 🛒 **Price Comparison** – Feed data into tools for competitive pricing analysis.
- 📊 **Data Aggregation** – Build travel dashboards or recommendation systems.
- 🏢 **Hospitality Insights** – Monitor customer feedback and hotel offerings.

***

### ✅ Best Practices

- **Set Reasonable Item Limits**: Start with a small `item_limit` (e.g., `10`) to test, then scale up.
- **Use Residential Proxies**: Configure `"RESIDENTIAL"` in `apifyProxyGroups` to minimize blocks and ensure reliability.
- **Validate Date Formats**: Ensure `check_in` and `check_out` dates follow `YYYY-MM-DD` format.
- **Refine Search Queries**: Use specific locations (e.g., `"melbourne"`) for accurate results.
- **Respect Platform Terms**: Adhere to Booking.com’s terms of service and scrape ethically.
- **Monitor API Quotas**: Avoid excessive calls to stay within Apify’s usage limits.

***

### 🤝 Support

Need custom fields, specific formats, or integration help?

**DataWizards are here for you!**

📩 Email: <hello.datawizard@gmail.com>\
✉️ **Subject**: `Booking-Scraper Actor – Support Request`\
🔗 Connect: [linkedin.com/in/data-wizards-aa8080342](https://linkedin.com/in/data-wizards-aa8080342)

***

### 🧰 Need Something More?

Whether you need a custom scraper, API integration, or simplified data outputs, DataWizards can deliver tailored solutions to meet your needs.

**Contact us for bespoke data extraction services.**\
💡 *DataWizards = Smart, fast, and scalable data solutions.*

***

### 💬 Feedback & Bugs

Spotted a bug or have a feature request?

📧 Email: <hello.datawizard@gmail.com>\
🛠️ **Subject**: `Bug Report – Booking-Scraper Actor`\
Or open an issue directly on [Apify](https://apify.com).

***

### 🔍 Keywords (SEO)

`Booking.com scraper`, `hotel data scraper`, `Apify Booking actor`, `travel data extraction`, `hotel review scraper`, `price comparison API`, `travel market research`, `structured JSON hotels`, `Booking.com data API`, `hospitality analytics`

***

#### 🏁 Start scraping smarter with `Booking-Scraper` — your go-to solution for extracting hotel data from Booking.com like a pro.

# Actor input Schema

## `search_query` (type: `string`):

Search query is required

## `check_in` (type: `string`):

Check-in date in YYYY-MM-DD format (optional)

## `check_out` (type: `string`):

Check-out date in YYYY-MM-DD format (optional)

## `item_limit` (type: `integer`):

Specifies the maximum number of items to process.

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

Specifies proxy servers that will be used by the scraper in order to hide its origin.

## Actor input object example

```json
{
  "search_query": "melbourne",
  "check_in": "2025-07-21",
  "check_out": "2025-07-28",
  "item_limit": 10,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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_query": "melbourne",
    "check_in": "2025-07-21",
    "check_out": "2025-07-28",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("hello.datawizards/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_query": "melbourne",
    "check_in": "2025-07-21",
    "check_out": "2025-07-28",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("hello.datawizards/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_query": "melbourne",
  "check_in": "2025-07-21",
  "check_out": "2025-07-28",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call hello.datawizards/booking-scraper --silent --output-dataset

```

## MCP server setup

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