# Booking.com Hotel Price Tracker (`scrapyspider/booking-com-hotel-price-tracker`) Actor

Tracks and extracts hotel prices from Booking.com for any location across a configurable date range. Filter by hotel name, set stay duration, guests, and proxy options.

- **URL**: https://apify.com/scrapyspider/booking-com-hotel-price-tracker.md
- **Developed by:** [ScrapySpider](https://apify.com/scrapyspider) (community)
- **Categories:** Travel, Real estate
- **Stats:** 64 total users, 15 monthly users, 100.0% runs succeeded, 0 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/actors/running/actors-in-store.md#pay-per-usage

## 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 Hotel Price Tracker

Tracks hotel prices on Booking.com across a configurable date range for any destination — no account or login required — and returns structured JSON with hotel name, nightly price, check-in/check-out dates, and a direct hotel URL.

***

#### What you get

- Scrapes Booking.com search results for any city or destination
- Tracks daily nightly prices over a custom date range (days, weeks, or months)
- Configurable stay duration, number of adults, and children
- Optional hotel name filter — monitor specific properties or collect all results
- Outputs clean, structured JSON ready for analysis or export
- Uses stealth browser automation to handle JavaScript-rendered pages

***

#### What data does it extract?

Each result contains:

**Hotel info:** hotel name, direct Booking.com URL

**Pricing:** nightly price (EUR), price tier category

**Stay details:** check-in date, check-out date

**Metadata:** search results URL, scrape timestamp

***

#### Use cases

- **Price monitoring:** Track how a hotel's nightly rate changes week-over-week or month-over-month
- **Competitive analysis:** Compare pricing across all hotels in a destination for any date range
- **Travel planning:** Find the cheapest dates to stay at a specific hotel or in a city
- **Revenue management:** Monitor competitor pricing as part of a hotel revenue strategy
- **Market research:** Aggregate hotel pricing data across a destination for hospitality analysis

***

#### How to use

1. Click **Try for free** above
2. In the **Input** tab, enter a **Location** (e.g. `Paris, France` or `Miami Beach`)
3. Set a **Start Date** and **End Date** for the date range you want to track
4. Optionally set **Nights Per Stay**, **Adults**, **Children**
5. Optionally add hotel names to **Target Hotels** to filter results to specific properties
6. Click **Start** and wait for the run to complete
7. Download your results as JSON, CSV, or Excel from the **Output** tab

> **Tip:** For runs covering more than 30 days, enable **Apify Proxy (Residential)** in the proxy settings to reduce the chance of blocks.

***

#### Input parameters

| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| `location` | String | **Yes** | `"St. Julian's, Malta"` | City, region, or destination to search on Booking.com. Example: `"New York"`, `"Paris, France"` |
| `startDate` | String | No | Today | First check-in date to track (YYYY-MM-DD). |
| `endDate` | String | No | 6 months from today | Last check-in date to track (YYYY-MM-DD). |
| `nightsPerStay` | Integer | No | `1` | Number of nights per stay (1–30). Checkout = checkin + nightsPerStay. |
| `adults` | Integer | No | `2` | Number of adult guests (1–30). |
| `children` | Integer | No | `0` | Number of child guests (0–10). |
| `targetHotels` | Array of strings | No | `[]` (all hotels) | Hotel names to filter. Leave empty to return all hotels in the search results. Example: `["Hilton Garden Inn", "Marriott"]` |
| `maxRequestsPerCrawl` | Integer | No | `200` | Maximum search pages to process. One page per check-in date. |
| `proxyConfigurationOptions` | Object | No | No proxy | Proxy settings. Residential proxy is recommended for large date ranges. |

***

#### Output example

```json
{
  "title": "Grand Hotel Excelsior",
  "url": "https://www.booking.com/hotel/mt/grand-hotel-excelsior.html",
  "price": "$189",
  "checkinDate": "2025-07-15",
  "checkoutDate": "2025-07-16",
  "priceTier": "10-15",
  "searchUrl": "https://www.booking.com/searchresults.html?ss=Malta&checkin=2025-07-15&checkout=2025-07-16&group_adults=2&group_children=0",
  "timestamp": "2025-07-01T10:23:45.123Z"
}
```

**`priceTier` values:**

| Value | Price Range |
|---|---|
| `1-5` | Under €50/night |
| `5-10` | €50–€100/night |
| `10-15` | Over €100/night |
| `N/A` | Price could not be extracted |

***

#### Pricing

This Actor is **free to use** — you only pay for Apify platform compute time and proxy usage.

- A typical run covering **30 days** processes ~30 pages and costs approximately **$0.10–$0.30** in Apify credits
- A **6-month run** (180 pages) costs approximately **$0.50–$1.50** depending on proxy usage
- New Apify accounts receive **$5 in free credits** — enough for several full date-range runs

***

#### Technical notes

- **No account needed:** This Actor does not require a Booking.com login or cookies
- **Residential proxies:** Recommended for runs over 30 days to avoid rate limiting. Enable in the proxy settings
- **Hotels filter:** Booking.com results are filtered to hotels only (`ht_id=204`). Apartments and other accommodation types are excluded
- **Price currency:** Prices are extracted in EUR as displayed by Booking.com
- **JavaScript rendering:** Uses headless Chromium with stealth mode to handle Booking.com's dynamic content
- **Rate limits:** For very large runs (180+ pages), increase Actor memory to 2 GB and use residential proxies
- **Data freshness:** All data is scraped live — no cached results

***

#### Support

Have questions or found a bug? Reach out:

- **Email:** ScrapySpider@protonmail.com
- **Website:** [ScrapySpider.com](https://ScrapySpider.com)
- **Response time:** Within 24–48 hours on weekdays

# Actor input Schema

## `location` (type: `string`):

City, region, or destination to search on Booking.com (e.g. 'St. Julian's, Malta', 'Paris, France', 'New York').

## `startDate` (type: `string`):

First check-in date to track (YYYY-MM-DD). Defaults to today.

## `endDate` (type: `string`):

Last check-in date to track (YYYY-MM-DD). Defaults to 6 months from today.

## `nightsPerStay` (type: `integer`):

Number of nights for each stay (checkout = checkin + nightsPerStay). Default: 1.

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

Number of adult guests to include in the search. Default: 2.

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

Number of child guests to include in the search. Default: 0.

## `targetHotels` (type: `array`):

List of hotel names to filter results. Only hotels whose name matches any entry will be saved. Leave empty to return all hotels from the search results.

## `maxRequestsPerCrawl` (type: `integer`):

Maximum number of Booking.com search pages to process. One page is generated per check-in date. Default: 200.

## `maxResults` (type: `integer`):

Maximum total number of hotel results to collect across all date pages. The actor stops successfully once this limit is reached. Useful to avoid the 5-minute Apify timeout. Default: 10.

## `proxyConfigurationOptions` (type: `object`):

Proxy settings to avoid IP blocks from Booking.com. Apify Proxy residential is recommended for best results.

## Actor input object example

```json
{
  "location": "Le Morne, Mauritius West Coast, Mauritius",
  "startDate": "2026-05-31",
  "endDate": "2026-06-01",
  "nightsPerStay": 1,
  "adults": 30,
  "children": 9,
  "targetHotels": [],
  "maxRequestsPerCrawl": 100,
  "maxResults": 10,
  "proxyConfigurationOptions": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `snapshots` (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 = {
    "location": "Le Morne, Mauritius West Coast, Mauritius",
    "startDate": "2026-05-31",
    "endDate": "2026-06-01",
    "adults": 30,
    "children": 9,
    "targetHotels": [],
    "maxRequestsPerCrawl": 100,
    "maxResults": 10,
    "proxyConfigurationOptions": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapyspider/booking-com-hotel-price-tracker").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 = {
    "location": "Le Morne, Mauritius West Coast, Mauritius",
    "startDate": "2026-05-31",
    "endDate": "2026-06-01",
    "adults": 30,
    "children": 9,
    "targetHotels": [],
    "maxRequestsPerCrawl": 100,
    "maxResults": 10,
    "proxyConfigurationOptions": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapyspider/booking-com-hotel-price-tracker").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 '{
  "location": "Le Morne, Mauritius West Coast, Mauritius",
  "startDate": "2026-05-31",
  "endDate": "2026-06-01",
  "adults": 30,
  "children": 9,
  "targetHotels": [],
  "maxRequestsPerCrawl": 100,
  "maxResults": 10,
  "proxyConfigurationOptions": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call scrapyspider/booking-com-hotel-price-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapyspider/booking-com-hotel-price-tracker"
        }
    }
}

```

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/5rc6yDGn2DHw4W9mC/builds/dRlj2WDm1eQGC8JP4/openapi.json
