# 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:** 2 total users, 1 monthly users, 0.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 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.

## `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": "St. Julian's, Malta",
  "nightsPerStay": 1,
  "adults": 2,
  "children": 0,
  "targetHotels": [],
  "maxRequestsPerCrawl": 100,
  "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": "St. Julian's, Malta",
    "targetHotels": [],
    "maxRequestsPerCrawl": 100,
    "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": "St. Julian's, Malta",
    "targetHotels": [],
    "maxRequestsPerCrawl": 100,
    "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("💾 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 '{
  "location": "St. Julian'\''s, Malta",
  "targetHotels": [],
  "maxRequestsPerCrawl": 100,
  "proxyConfigurationOptions": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call scrapyspider/booking-com-hotel-price-tracker --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Booking.com Hotel Price Tracker",
        "description": "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.",
        "version": "1.0",
        "x-build-id": "e7nBqtpfagGCSIYfG"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scrapyspider~booking-com-hotel-price-tracker/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scrapyspider-booking-com-hotel-price-tracker",
                "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/scrapyspider~booking-com-hotel-price-tracker/runs": {
            "post": {
                "operationId": "runs-sync-scrapyspider-booking-com-hotel-price-tracker",
                "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/scrapyspider~booking-com-hotel-price-tracker/run-sync": {
            "post": {
                "operationId": "run-sync-scrapyspider-booking-com-hotel-price-tracker",
                "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",
                "required": [
                    "location"
                ],
                "properties": {
                    "location": {
                        "title": "Location",
                        "type": "string",
                        "description": "City, region, or destination to search on Booking.com (e.g. 'St. Julian's, Malta', 'Paris, France', 'New York').",
                        "default": "St. Julian's, Malta"
                    },
                    "startDate": {
                        "title": "Start Date",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                        "type": "string",
                        "description": "First check-in date to track (YYYY-MM-DD). Defaults to today."
                    },
                    "endDate": {
                        "title": "End Date",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                        "type": "string",
                        "description": "Last check-in date to track (YYYY-MM-DD). Defaults to 6 months from today."
                    },
                    "nightsPerStay": {
                        "title": "Nights Per Stay",
                        "minimum": 1,
                        "maximum": 30,
                        "type": "integer",
                        "description": "Number of nights for each stay (checkout = checkin + nightsPerStay). Default: 1.",
                        "default": 1
                    },
                    "adults": {
                        "title": "Number of Adults",
                        "minimum": 1,
                        "maximum": 30,
                        "type": "integer",
                        "description": "Number of adult guests to include in the search. Default: 2.",
                        "default": 2
                    },
                    "children": {
                        "title": "Number of Children",
                        "minimum": 0,
                        "maximum": 10,
                        "type": "integer",
                        "description": "Number of child guests to include in the search. Default: 0.",
                        "default": 0
                    },
                    "targetHotels": {
                        "title": "Target Hotels (optional filter)",
                        "type": "array",
                        "description": "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.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxRequestsPerCrawl": {
                        "title": "Max Requests Per Run",
                        "minimum": 1,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Maximum number of Booking.com search pages to process. One page is generated per check-in date. Default: 200.",
                        "default": 200
                    },
                    "proxyConfigurationOptions": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Proxy settings to avoid IP blocks from Booking.com. Apify Proxy residential is recommended for best results.",
                        "default": {
                            "useApifyProxy": false
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
