# Booking.com Scraper — Hotel Prices & Availability (`junipr/booking-scraper`) Actor

Extract public Booking.com hotel/property prices, availability, ratings, amenities, room details, reviews, and destination search data.

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

## Pricing

from $9.80 / 1,000 property page checkeds

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/platform/actors/running/actors-in-store#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.com Scraper — Hotel Prices & Availability

Extract public Booking.com hotel/property prices, availability, ratings, amenities, room details, reviews, and destination search data.

### What this actor does

Extract public Booking.com hotel/property prices, availability, ratings, amenities, room details, reviews, and destination search data. The actor is configured for public or user-supplied sources, evidence-backed output rows, capped runs, and KVS summaries for blocked, empty, duplicate, or capped work.

### What you can use it for

- Build repeatable booking scraper datasets for analysis and automation.
- Export records with source URLs, evidence fields, and run summaries.
- Run buyer-ready tasks for: Scrape one Booking.com property page; Collect hotel price and availability data; Export destination hotel search results.

Search-intent terms: booking.com scraper, hotel price scraper, accommodation data, travel scraper, hotel availability, room rates.

### Inputs

The input schema supports the actor's source fields plus cost and quality controls. Important caps include `propertyUrls`, `destination`, `checkIn`, `checkOut`, `maxProperties`, `maxReviews`, `proxyConfiguration`. Public task examples below provide small, safe starting inputs.

### Outputs

Paid dataset rows and paid KVS artifacts are written only after the configured PPE charge succeeds. Rows include source/evidence fields where the actor can determine them and avoid fabricated values.

### Key-value store reports

Every run writes `SUMMARY.md` and `SUMMARY.json`. Diagnostic CSV or JSON reports are used for blocked pages, no-result pages, duplicates, unsupported inputs, and capped runs instead of paid dataset rows.

### Pricing

This actor uses pay-per-event pricing with Apify platform usage included in the event prices. Store discount tiers are configured for FREE, BRONZE, SILVER, and GOLD users.

| Event | Unit | FREE | BRONZE | SILVER | GOLD |
|---|---:|---:|---:|---:|---:|
| `actor-start` | run | $0.05000 | $0.05000 | $0.04500 | $0.04000 |
| `property-page-checked` | page | $0.00980 | $0.00980 | $0.00882 | $0.00784 |

Primary paid output event: `property-page-checked`. Runtime-paid dataset rows and runtime-paid artifacts use this active paid-output event unless a future pricing revision adds an actor-specific artifact boundary with matching code.

### Cost controls and max-charge behavior

Default max charge: $100.00. When the run reaches the max charge or an event-charge limit, it stops gracefully and writes free summary diagnostics without adding unpaid dataset rows.

### Platform usage / proxy / browser / API notes

The configured model is fixed-inclusive PPE: platform usage is included in event prices and the platform-usage pass-through toggle is off. Features that require browser rendering, proxies, provider APIs, or additional fetches are bounded by the input caps and priced through explicit events.

### Reliability notes and limitations

The actor processes public or permissioned inputs only. Blocked pages, login walls, unsupported formats, empty results, and provider errors are recorded as diagnostics. The actor does not fabricate rankings, prices, reviews, sentiment, traffic, compliance status, or private contact data when source evidence is unavailable.

### Example inputs

```json
{
  "searchQuery": "Scrape one Booking.com property page",
  "propertyUrls": [],
  "locationLatitude": 0,
  "locationLongitude": 0,
  "locationRadiusKm": 5,
  "checkIn": "",
  "checkOut": "",
  "adults": 2,
  "children": 0,
  "rooms": 1,
  "maxProperties": 1,
  "includeReviews": false,
  "maxReviews": 25,
  "includeRoomTypes": false,
  "includePhotos": false,
  "currency": "USD",
  "language": "en-us",
  "sortBy": "popularity",
  "starFilter": [],
  "minPrice": 0,
  "maxPrice": 0,
  "propertyType": [],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "maxChargeUsd": 10,
  "debugMode": false,
  "saveRawHtmlToKvs": false,
  "requestTimeout": 30000,
  "maxRetries": 1,
  "maxConcurrency": 1,
  "destination": "booking scraper",
  "sourceMode": "livePublic",
  "suppliedSnapshotHtml": "booking scraper",
  "suppliedSnapshotJson": "booking scraper",
  "suppliedSnapshotText": "booking scraper"
}
```

### Public task examples

- Scrape one Booking.com property page: Dataset rows matching the scrape one booking.com property page use case, plus SUMMARY.md and SUMMARY.json reports in the key-value store.
- Collect hotel price and availability data: Dataset rows matching the collect hotel price and availability data use case, plus SUMMARY.md and SUMMARY.json reports in the key-value store.
- Export destination hotel search results: Dataset rows matching the export destination hotel search results use case, plus SUMMARY.md and SUMMARY.json reports in the key-value store.

### Ethical/allowed-use notes

Use this actor only for public data, owned files, or sources you have permission to process. Respect source terms, privacy expectations, robots guidance, and applicable laws. Do not use the actor to collect secrets, bypass access controls, or make unsupported legal, financial, medical, or compliance decisions.

# Actor input Schema

## `searchQuery` (type: `string`):

Location or hotel name to search on Booking.com (e.g. 'Paris, France', 'Hilton London'). At least one of searchQuery, propertyUrls, or location is required.

## `propertyUrls` (type: `array`):

Direct Booking.com property URLs to scrape. Each URL must be a valid booking.com hotel page. Max 500 URLs.

## `locationLatitude` (type: `number`):

Center latitude for location-based search. Use with locationLongitude and locationRadiusKm. Range: -90 to 90.

## `locationLongitude` (type: `number`):

Center longitude for location-based search. Use with locationLatitude and locationRadiusKm. Range: -180 to 180.

## `locationRadiusKm` (type: `integer`):

Search radius in kilometers for location-based search. Range: 1-50.

## `checkIn` (type: `string`):

Check-in date in YYYY-MM-DD format. Must be today or a future date. Defaults to tomorrow if not set.

## `checkOut` (type: `string`):

Check-out date in YYYY-MM-DD format. Must be after check-in date. Defaults to the day after check-in.

## `adults` (type: `integer`):

Number of adults for the booking search. Range: 1-30.

## `children` (type: `integer`):

Number of children for the booking search. Range: 0-10.

## `rooms` (type: `integer`):

Number of rooms needed. Range: 1-30.

## `maxProperties` (type: `integer`):

Maximum number of properties to extract. Range: 1-5000.

## `includeReviews` (type: `boolean`):

Extract guest reviews for each property. Each property can have up to maxReviews reviews extracted.

## `maxReviews` (type: `integer`):

Maximum number of reviews to extract per property. Range: 0-100.

## `includeRoomTypes` (type: `boolean`):

Extract all available room types with pricing and amenities for each property.

## `includePhotos` (type: `boolean`):

Extract photo URLs for each property.

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

Display currency for prices. ISO 4217 code (e.g. USD, EUR, GBP).

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

Language for content. BCP 47 code (e.g. en-us, fr, de, es).

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

Sort order for search results.

## `starFilter` (type: `array`):

Filter properties by star rating. Leave empty for all ratings. Example: \[4, 5] for 4 and 5 star properties.

## `minPrice` (type: `number`):

Minimum price per night filter. Leave at 0 for no minimum.

## `maxPrice` (type: `number`):

Maximum price per night filter. Leave at 0 for no maximum.

## `propertyType` (type: `array`):

Filter by property type. Leave empty for all types. Valid values: hotel, apartment, hostel, resort, villa, guesthouse, b\&b.

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

Residential proxy is recommended — Booking.com blocks datacenter IPs. Defaults to Apify residential proxy (requires paid Apify plan). Free-plan users can provide their own residential proxy URL.

## `maxChargeUsd` (type: `number`):

Stop before paid output would exceed the configured max charge.

## `debugMode` (type: `boolean`):

Write extra free diagnostics to the key-value store.

## `saveRawHtmlToKvs` (type: `boolean`):

Save raw snapshots as free debug artifacts when enabled.

## `requestTimeout` (type: `integer`):

Maximum time to wait for a request or page load.

## `maxRetries` (type: `integer`):

Maximum retry attempts per source.

## `maxConcurrency` (type: `integer`):

Maximum concurrent requests. High-risk marketplace and SERP actors default to a low value.

## `destination` (type: `string`):

Run setting used to control cost, runtime, and output size.

## `sourceMode` (type: `string`):

Use public live targets, supplied snapshots, or provider-backed source data when supported.

## `suppliedSnapshotHtml` (type: `string`):

Optional HTML snapshot for deterministic public-data extraction tests or controlled source capture.

## `suppliedSnapshotJson` (type: `string`):

Optional JSON snapshot/provider response for deterministic public-data extraction tests or controlled source capture.

## `suppliedSnapshotText` (type: `string`):

Optional plain text snapshot for text-analysis actors.

## Actor input object example

```json
{
  "searchQuery": "Austin, TX",
  "propertyUrls": [],
  "locationLatitude": 0,
  "locationLongitude": 0,
  "locationRadiusKm": 5,
  "checkIn": "",
  "checkOut": "",
  "adults": 2,
  "children": 0,
  "rooms": 1,
  "maxProperties": 1,
  "includeReviews": false,
  "maxReviews": 0,
  "includeRoomTypes": false,
  "includePhotos": false,
  "currency": "USD",
  "language": "en-us",
  "sortBy": "popularity",
  "starFilter": [],
  "minPrice": 0,
  "maxPrice": 0,
  "propertyType": [],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "maxChargeUsd": 100,
  "debugMode": false,
  "saveRawHtmlToKvs": false,
  "requestTimeout": 30000,
  "maxRetries": 1,
  "maxConcurrency": 1,
  "sourceMode": "livePublic"
}
```

# Actor output Schema

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

Hotel and accommodation property records scraped from Booking.com. Each record includes pricing, room types, reviews, amenities, photos, and location data.

## `summary` (type: `string`):

Billing, paid row, diagnostic, duplicate, and artifact summary.

## `runStatus` (type: `string`):

Free diagnostic run status, including no-result and blocked-page counters.

## `kvsArtifacts` (type: `string`):

Actor-specific CSV/JSON/Markdown report artifacts.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("junipr/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 = {}

# Run the Actor and wait for it to finish
run = client.actor("junipr/booking-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 '{}' |
apify call junipr/booking-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/q67Scy0PDppsCU5PO/builds/P8I6Ia6ngPkw8fg8K/openapi.json
