# Booking.com Hotel Scraper (Prices, Scores, Price Changes) (`locaihost/booking-scraper`) Actor

Booking.com hotel prices for any destination and dates: price per stay and per night, stars, guest score and count, location, free cancellation, breakfast and rooms left. Keeps price history and can return only new properties and price changes. No login.

- **URL**: https://apify.com/locaihost/booking-scraper.md
- **Developed by:** [locaihost data](https://apify.com/locaihost) (community)
- **Categories:** Travel, E-commerce, Agents
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.65 / 1,000 hotels

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Booking.com Hotel Scraper (Prices, Scores, Price Changes)

Search Booking.com like a traveller and get one row per property: the price for your whole stay and per night, the struck-through price when there is a deal, stars, guest score and number of reviews, location score, address, coordinates, distance from the centre, free cancellation and until when, breakfast, the room the price is for and how many are left. Type cities, areas or hotel names, or paste Booking.com links, for any dates and group. Every run remembers prices, so each row says what the property cost at your last run of the same search, and a switch returns only new properties and price changes. No login. The prefill (Paris, 25 properties, two weeks from today) finishes in well under a minute.

### How do I start?

Paste this into the input (JSON tab) and press Start:

```json
{
    "destinations": ["Paris"]
}
```

That reads Booking.com's top 25 properties in Paris for one night, two adults, 14 days from today, in US dollars. Want a family week in Lisbon, cheapest first, in euros, four stars and up with free cancellation?

```json
{
    "destinations": ["Lisbon"],
    "checkIn": "2026-12-20",
    "checkOut": "2026-12-27",
    "adults": 2,
    "childrenAges": ["5", "9"],
    "currency": "EUR",
    "sortBy": "price",
    "stars": ["4", "5"],
    "freeCancellationOnly": true,
    "maxHotels": 100
}
```

A hotel name ("Ritz Paris") returns that one property. So do a property link and a hotel id under Advanced.

### What does it return?

One row per property, always the same shape:

| Field | What it holds |
|---|---|
| `hotelId`, `name`, `url` | Booking.com property id, property name, and its page without tracking parameters |
| `propertyType`, `propertyTypeId` | Hotel, Apartment, Hostel, Guest house, ... and Booking.com's id for the type |
| `stars` | Star rating 1 to 5, `null` when the property has none |
| `reviewScore`, `reviewScoreWord`, `reviewCount` | Guest score out of 10, Booking.com's word for it (Superb, Very good, ...), and the number of reviews. No reviews means `null`, never a zero score |
| `locationScore` | Guests' score for the location, out of 10 |
| `address`, `district`, `city`, `countryCode` | Address as shown, neighbourhood, city and two-letter country code |
| `latitude`, `longitude` | Coordinates |
| `distanceFromCentre`, `distanceFromCentreKm`, `nearestStation` | Distance as shown ("1.2 km from downtown"), the same in kilometres, and the nearest stop when shown |
| `price`, `pricePerNight`, `currency` | Price for the whole stay (all guests and rooms) and per night, in your currency. `null` when sold out |
| `priceBeforeDiscount`, `discountPercent` | The struck-through earlier price and the discount, when there is a deal |
| `taxesIncluded`, `extraCharges` | Whether taxes and charges are in the price, and the amount added on top when shown |
| `freeCancellation`, `freeCancellationUntil`, `noPrepayment` | Free cancellation, the last moment to cancel for free, and whether no payment is needed in advance |
| `breakfastIncluded`, `mealPlan` | Breakfast in the price, and the meal plan text as shown |
| `roomName`, `roomsLeft`, `soldOut` | The room the price is for, rooms left at this price when Booking.com warns about it, and sold out for your dates |
| `preferredPartner`, `sponsored`, `newlyOpened`, `sustainabilityCertified` | Booking.com marks: Preferred Partner, ad placement, new to Booking.com, sustainability certification |
| `photo` | Main photo link |
| `checkIn`, `checkOut`, `nights`, `adults`, `children`, `rooms` | The stay that was priced |
| `searchedFor`, `rank` | The destination, link or hotel id the row came from, and its position in Booking.com's list |
| `previousPrice`, `priceChange`, `priceChangePercent` | Price at your last run of the same search, and the change. `null` on the first run |
| `lowestSeenPrice`, `lowestSeenAt`, `firstSeenAt` | Lowest price seen for the search across runs and when, and when the property first appeared |
| `type`, `scrapedAt` | `hotel` for these rows, and when the row was read |

Reviews appear only as scores and counts. No review text and nothing about the guests who wrote them.

### What do the free rows give me?

Every destination, link and hotel id adds one free row with `type` `summary`: `searchedFor`, `status` (`ok`, `empty`, `not-found`, `unmatched`, `blocked`, `late` or `stopped`), a plain `message`, the `destination` Booking.com matched, `propertiesFound` (how many it lists for your search), `returned`, `priceMin`, `priceMedian` and `priceMax` of the properties that came back, `averageReviewScore`, plus `currency`, `checkIn` and `checkOut`. A destination Booking.com does not know, or a search with nothing bookable, gets a free row saying so, never a failed run.

### What makes it different?

- **Price change since your last run.** The Actor remembers each search's prices between runs, so every row carries `previousPrice`, `priceChange`, `lowestSeenPrice` and `firstSeenAt`. A daily schedule turns any search into a rate tracker with no spreadsheet.
- **Only new properties and price changes.** Turn the switch on and each scheduled run returns just the properties that are new or whose price moved. Everything else is skipped and not charged.
- **Dates that move with the calendar.** Set check-in to "+30 days" and a daily schedule always prices the stay 30 days out, and compares it with the same distance ahead on the last run.
- **Free price spread per destination.** Lowest, median and highest price plus the average score for every destination, free, every run.
- **Each property once per run.** Overlapping destinations (a city and its districts) never return or charge a property twice.
- **The real price fields.** Whole stay and per night, the earlier price on deals, taxes included or added, free cancellation deadline, rooms left.

### How much does it cost?

You pay per property row: **$3.00 per 1,000 rows** on Free and Starter plans. Scale plans pay $2.25 and Business plans $1.65. Each property is returned and charged once per run, even when several of your destinations list it. Summary rows are never charged, and a destination that is unknown, empty or could not be read costs nothing.

The default input (25 properties) costs about $0.08.

**Free Apify plan:** up to 100 property rows per run. Any paid Apify plan removes the limit.

### Which inputs can I use?

| Input | What it does |
|---|---|
| `destinations` | Cities, areas, airports or hotel names, as you would type them into Booking.com. A hotel name returns that one property. Booking.com links work here too. |
| `checkIn`, `checkOut` | YYYY-MM-DD, or a date from today like "+14 days", "+2 weeks" or "+1 month" that moves with the calendar. Defaults: 14 days from today, one night. At most 90 nights. |
| `adults` | Adults staying, 1 to 30. Default 2. |
| `maxHotels` | Properties per destination, 1 to 1,000. Default 25. 100 come in one Booking.com request. |
| `currency` | Three-letter currency code for every price. Default USD. |
| `startUrls` | Booking.com search links (their filters, dates and guests are kept unless you set your own) or property links (one property each). |
| `hotelIds` | Booking.com property ids, from the `hotelId` column of an earlier run. The surest way to track the same properties. |
| `rooms` | Rooms needed, 1 to 30. Default 1. |
| `childrenAges` | One age (0 to 17) per child. |
| `sortBy` | Booking.com's top picks (default), price lowest first, guest score, stars either way, distance from the centre, or best scored and lowest priced. |
| `stars` | Only these star ratings. |
| `minReviewScore` | Only properties scored at least this (0 to 10, e.g. 8.5). |
| `propertyTypes` | Only these kinds: hotels, apartments, hostels, guest houses, bed and breakfasts, holiday homes, villas, aparthotels, resorts, motels, homestays, campsites, lodges, boats. |
| `freeCancellationOnly`, `breakfastIncluded` | Only offers with free cancellation, or with breakfast. |
| `minPrice`, `maxPrice` | Price range per night, in your currency. |
| `language` | Language of names and texts (en-us, en-gb, de, fr, ...). Default en-us. |
| `onlyPriceChanges` | Return a property only when it is new to the search or its price moved since the last run. The first run returns everything as the baseline. |

The search filters narrow destination searches. A property asked for by name, link or id is always returned.

Input names from other Booking.com tools work too, so a saved input runs unchanged:

| Their name | Read as |
|---|---|
| `search`, `destination`, `city`, `query`, `location` | `destinations` |
| `urls`, `url`, `searchUrls` | `startUrls` |
| `checkin`, `checkInDate`, `checkout`, `checkOutDate` | `checkIn`, `checkOut` |
| `group_adults`, `no_rooms`, `children` (a count, priced as age 8) | `adults`, `rooms`, `childrenAges` |
| `maxItems`, `maxResults`, `limit` | `maxHotels` |
| `starsCountFilter`, `minScore` (0 to 10 or 0 to 100), `propertyType`, `minMaxPrice` ("0-150") | `stars`, `minReviewScore`, `propertyTypes`, `minPrice`/`maxPrice` |
| `sort`, `order`, `lang`, `selected_currency`, `onlyChanged` | `sortBy`, `language`, `currency`, `onlyPriceChanges` |

### How do I track prices over time?

1. Save your input as a task. For a fixed trip, set the dates. For "always 30 days out", use "+30 days".
2. Add a daily schedule to the task.
3. Each run compares against the last run of the same search: `previousPrice`, `priceChange` and `lowestSeenPrice` do the tracking, and with `onlyPriceChanges` on you pay only for what moved. Hotel ids track the same properties most reliably.

### What happens when something goes wrong?

- Bad input (no destination, a date in the past, check-out before check-in, an unknown currency) ends the run with a message and charges nothing.
- A destination Booking.com does not recognise gets a free `not-found` row; the other destinations carry on.
- A property link that cannot be matched gets a free `unmatched` row asking for the hotel id.
- If Booking.com stops answering, the run keeps what it read, writes a free `blocked` row and says so in the status message.
- Near the run's time limit or your maximum charge, it stops early, saves everything and says which destinations were not finished.

### Can I call it from an agent or my own code?

Yes. It works through the Apify API, the Apify MCP server and the Apify client libraries, with the same input as above. The prefill returns in well under a minute.

### Is it legal to collect Booking.com data?

The Actor reads the search results anyone can see on Booking.com without signing in, and only property data: names, prices, scores and counts. No review text, no reviewer names and nothing else about people. You are responsible for how you use the data, including Booking.com's terms and the laws that apply to you.

### Questions or problems?

Open an issue on the Issues tab and we will answer within a day. If the Actor helped, a rating on the Store helps other people find it.

# Changelog

This Actor's version history is a separate document: https://apify.com/locaihost/booking-scraper/changelog.md

# Actor input Schema

## `destinations` (type: `array`):

Cities (Paris), areas (Shinjuku, Tokyo), airports or hotel names (Ritz Paris), as you would type them into Booking.com. A hotel name returns that one property. Booking.com links pasted here work too.

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

YYYY-MM-DD, or a date from today like "+14 days" that moves with the calendar on scheduled runs. Empty means 14 days from today.

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

Empty means one night after check-in. At most 90 nights.

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

Adults staying, 1 to 30. Prices are for the whole group.

## `maxHotels` (type: `integer`):

Properties returned per destination, 1 to 1,000. 100 come in one Booking.com request.

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

Three-letter code for every price: USD, EUR, GBP, JPY, AUD, SGD and so on.

## `startUrls` (type: `array`):

Search result links (their filters, dates and guests are kept unless you set your own) or property links (www.booking.com/hotel/fr/...). A property link returns that one property.

## `hotelIds` (type: `array`):

Booking.com property ids (the hotelId column of an earlier run). The surest way to track the same properties every day.

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

Rooms needed, 1 to 30.

## `childrenAges` (type: `array`):

One age (0 to 17) per child, e.g. 4 and 9. Booking.com prices children by age.

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

The order Booking.com lists properties in. Ranks in the output follow it.

## `stars` (type: `array`):

Only properties with these star ratings. Empty means any.

## `minReviewScore` (type: `number`):

Only properties with a guest score of at least this (0 to 10, e.g. 8.5). Properties without reviews are left out.

## `propertyTypes` (type: `array`):

Only these kinds of property. Empty means all.

## `freeCancellationOnly` (type: `boolean`):

Only offers you can cancel for free.

## `breakfastIncluded` (type: `boolean`):

Only offers with breakfast in the price.

## `minPrice` (type: `integer`):

Only properties at or above this price per night, in the currency above.

## `maxPrice` (type: `integer`):

Only properties at or below this price per night, in the currency above.

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

Language of names, room types and texts: en-us, en-gb, de, fr, es, it, ja and so on.

## `onlyPriceChanges` (type: `boolean`):

For scheduled runs: return a property only when it is new to the search or its price moved since the last run. Everything else is skipped and not charged. The first run returns everything as the baseline.

## Actor input object example

```json
{
  "destinations": [
    "Paris"
  ],
  "adults": 2,
  "maxHotels": 25,
  "currency": "USD",
  "rooms": 1,
  "sortBy": "popularity",
  "freeCancellationOnly": false,
  "breakfastIncluded": false,
  "language": "en-us",
  "onlyPriceChanges": false
}
```

# Actor output Schema

## `hotels` (type: `string`):

One row per property: price for the stay and per night, stars, guest score and count, location, free cancellation, breakfast, rooms left.

## `prices` (type: `string`):

The same rows with the price memory in front: previous price, change, lowest price seen and when.

## `summaries` (type: `string`):

One free row per destination, link or hotel id: what happened, properties found, and the lowest, median and highest price.

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

Destinations read, hotels returned, repeats and unchanged prices skipped, Booking.com requests and cost.

# 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 = {
    "destinations": [
        "Paris"
    ]
};

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

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

```

## MCP server setup

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