# Booking.com Hotel Scraper: Prices, Calendar & Monitor ($2/1K) (`hydedata/booking-scraper`) Actor

$2 per 1,000 Booking.com hotels with total price, taxes, discount, free cancellation, rooms left and a deal rating. Search cities or paste search and hotel URLs. Add hotel details, a 365-night price calendar, cheapest dates and a rate monitor with Slack, Discord and Telegram alerts.

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

## Pricing

from $1.40 / 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, Calendar & Rate Monitor

Get Booking.com hotels with live prices and availability for your dates. Search a destination or
paste Booking.com search and hotel URLs. Every hotel comes with the total for the stay, the price
per night, taxes and fees, the discount, free cancellation, the offered room and how its price
compares with similar hotels. Add hotel details, a price calendar for up to 365 nights, a
cheapest-dates finder, or run it on a schedule as a rate monitor that only returns what changed.

No browser, no login, no cookies. 1,000 hotels in about 11 seconds.

### What you get

- **Prices that add up.** The total Booking.com displays for the whole stay and every room, the
  price per night, the taxes and fees it lists as excluded, and the all-in price. Each with one
  currency, stated on the row.
- **The offer behind the price.** Room name, meal plan, free cancellation and its deadline,
  prepayment, rooms left at that price, price before discount, discount percent and deal badges.
- **The hotel.** ID, name, URL, type, stars, address, city, district, coordinates, distance from the
  center as text and in km, review score with its label and review count, photo.
- **A deal rating.** Each hotel's nightly price against the median of comparable hotels in the same
  search: same star class and review band.
- **Families priced right.** Children by age, several rooms, any currency Booking.com offers, any
  of its languages.
- **Past 1,000 results.** Booking.com stops paging a search at about 1,000 hotels. A destination
  with more is read in price bands from the cheapest up.
- **Hotel details** (add-on). Description, every facility, check-in and check-out times, pet policy,
  review sub-scores, photos and every room type with beds, occupancy and amenities.
- **Price calendar** (add-on). The cheapest price per night for up to 365 nights, with availability
  and minimum stay, the cheapest date and the weekend premium.
- **Flexible dates.** The cheapest check-in dates for a destination or a hotel, ranked.
- **Rate monitor.** Price drops and rises with the amount, newly sold out and back in stock, for a
  stay or for every night of a calendar. Alerts to Slack, Discord or Telegram.
- **Honest runs.** Every run ends with a sentence saying what it delivered and why it stopped, and a
  summary record that says, per destination, how many hotels Booking.com has and how many were read.

#### Sample output

One hotel row (search for Lisbon, 2 nights, 2 adults):

```json
{
  "rowType": "hotel",
  "status": "ok",
  "hotelId": 10131840,
  "name": "MASA Hotel & Spa Campo Grande Collection",
  "url": "https://www.booking.com/hotel/pt/masa-campo-grande.html",
  "urlWithDates": "https://www.booking.com/hotel/pt/masa-campo-grande.html?checkin=2027-01-12&checkout=2027-01-14&group_adults=2&no_rooms=1&group_children=0&selected_currency=USD",
  "pageName": "masa-campo-grande",
  "countryCode": "pt",
  "propertyType": "Hotel",
  "stars": 4,
  "address": "Campo Grande 56",
  "city": "Lisboa",
  "district": "Alvalade",
  "latitude": 38.750851,
  "longitude": -9.148746,
  "distanceFromCenter": "2.6 miles from downtown",
  "distanceFromCenterKm": 4.18,
  "publicTransport": "Alvalade station is within 550 yards",
  "reviewScore": 8.5,
  "reviewScoreWord": "Very Good",
  "reviewCount": 11666,
  "photo": "https://cf.bstatic.com/xdata/images/hotel/square600/535564893.webp?k=5763e8...",
  "checkIn": "2027-01-12",
  "checkOut": "2027-01-14",
  "nights": 2,
  "adults": 2,
  "children": 0,
  "rooms": 1,
  "currency": "USD",
  "priceTotal": 166.12,
  "pricePerNight": 83.06,
  "priceText": "$166.12",
  "taxesAndFees": 27.4,
  "priceWithTaxes": 193.52,
  "priceBeforeDiscount": 207.65,
  "discountPercent": 20,
  "discounts": [{ "name": "Bonus savings", "amount": 41.53 }],
  "hotelCurrency": "EUR",
  "priceTotalHotelCurrency": 152.45,
  "freeCancellation": true,
  "freeCancellationUntil": "2027-01-07T00:00:00Z",
  "noPrepayment": false,
  "mealPlan": "Breakfast included",
  "breakfastIncluded": true,
  "roomName": "Standard Double or Twin Room",
  "roomId": "1013184001",
  "beds": 3,
  "roomsLeft": null,
  "soldOut": false,
  "isPreferred": false,
  "isSponsored": false,
  "marketPrice": 91.37,
  "comparableCount": 6,
  "priceVsMarket": -0.09,
  "dealRating": "good",
  "searchInput": "Lisbon",
  "destination": "Lisbon",
  "destinationId": -2167973,
  "destinationType": "CITY",
  "position": 2,
  "scrapedAt": "2026-11-24T17:20:11.482Z"
}
```

The full row has a few more fields (badges, flags, alternative dates). All of them are described in
the Output tab.

### Ready-made examples

Open one, change the input to yours, and run it:

- [Booking.com hotel prices by city](https://apify.com/hydedata/booking-scraper/examples/booking-hotel-prices-by-city)
- [Hotel deals finder: 4 and 5 star hotels priced under comparable ones](https://apify.com/hydedata/booking-scraper/examples/booking-hotel-deals-finder)
- [Hotel price tracker with price drop alerts](https://apify.com/hydedata/booking-scraper/examples/booking-hotel-price-tracker)
- [Competitor rate calendar, one row per hotel and night](https://apify.com/hydedata/booking-scraper/examples/booking-competitor-rate-calendar)
- [Cheapest dates for a stay in a city](https://apify.com/hydedata/booking-scraper/examples/booking-cheapest-dates-finder)
- [All hotels in a city, past 1,000 results](https://apify.com/hydedata/booking-scraper/examples/booking-all-hotels-in-a-city)
- [Family apartments with a kitchen, priced for the children's ages](https://apify.com/hydedata/booking-scraper/examples/booking-family-apartments-with-kitchen)

### How to use it

#### Search a destination

Type destinations the way you'd type them into Booking.com. Each one is searched for the same stay.

```json
{
  "destinations": ["Lisbon", "Porto, Portugal"],
  "checkIn": "2027-03-14",
  "nights": 3,
  "adults": 2,
  "maxResults": 200
}
```

A place name that could mean several places goes to whatever Booking.com makes of it. The row's
`destination` and `destinationType` say what that was. Adding the country ("Porto, Portugal") settles
it.

#### Paste a Booking.com search URL

Set up the search on Booking.com, copy the address and paste it. The destination, dates, guests,
children's ages, rooms, currency, language, sort order and every sidebar filter in the URL are kept.
Dates, currency, language, sort order and filters you set in the input win over the URL's; guests
and rooms come from the URL.

```json
{
  "destinations": [
    "https://www.booking.com/searchresults.html?ss=Amsterdam&checkin=2027-04-10&checkout=2027-04-12&group_adults=2&no_rooms=1&nflt=class%3D4%3Bfc%3D2&order=price"
  ]
}
```

#### Price hotels you name

A hotel can be its Booking.com URL, its country and page name, its numeric ID or its name. Query
parameters on a URL are ignored; the stay comes from the input.

```json
{
  "hotels": [
    "https://www.booking.com/hotel/pt/masa-campo-grande.html",
    "pt/palacio-das-especiarias",
    "39446",
    "Hotel Avenida Palace Lisbon"
  ],
  "checkIn": "2027-01-12",
  "checkOut": "2027-01-14"
}
```

A sold-out hotel comes back with `status` "sold_out" and no price. A hotel that isn't on
Booking.com, or a name Booking.com reads as a place, comes back as a free row with `status`
"not_found" and the reason in `error`, so a list of 200 maps back to its input.

Hotels in one run are rated against each other: `marketPrice` is the median nightly price of the
others, which is what a competitor set needs. It takes at least 6 hotels.

#### Dates and guests

- `checkIn` and `checkOut` take a date (2027-03-14) or a date relative to the day of the run
  ("30 days", "2 weeks", "1 month"). Leave `checkOut` empty to use `nights`.
- Leave both empty and the stay is one night, 30 days from today.
- `childrenAges` takes one age per child. Booking.com prices children by age.
- `rooms` is the number of rooms. `priceTotal` covers all of them.
- `currency` is any three-letter code Booking.com offers. `language` is a Booking.com language code
  (en-us, de, fr, es, pt-br, ja and so on) and changes room names, labels and distances.

#### Filters

Filters apply to destinations. They're sent to Booking.com where its search has the filter and
checked again on every hotel before you're charged, so a minimum score of 8.4 means 8.4, not
Booking.com's "8 and up".

```json
{
  "destinations": ["Barcelona"],
  "checkIn": "45 days",
  "nights": 2,
  "stars": ["4", "5"],
  "minReviewScore": 8.5,
  "maxPricePerNight": 250,
  "freeCancellationOnly": true,
  "propertyTypes": ["hotel"],
  "facilities": ["swimming_pool"],
  "maxDistanceFromCenterKm": 2
}
```

`rawFilters` takes any other sidebar filter in Booking.com's own form, the part after `nflt=` in a
search URL (e.g. `di=1945` for a district).

#### More than 1,000 hotels

Booking.com pages a search to about 1,100 hotels and then repeats itself. When a destination has
more and your limit asks for them, the Actor reads the first 1,100 in your sort order and continues
in price bands from the cheapest up. A hotel is delivered once. Past the first 1,100, rows arrive
cheapest first, and more slowly: about 45 seconds per 1,000 hotels, against 11 seconds for the first
1,000.

A whole country, or a region with tens of thousands of properties, can have more than 1,100 hotels
at a single nightly price. Those can't be told apart by price, so such a search is reported as
incomplete in the status message and the run summary. Searching its cities or districts one by one
gets all of it.

#### Deals

`dealRating` compares a hotel's nightly price with `marketPrice`, the median of comparable hotels in
the same search: same star class and review band when there are at least 5, then the same star
class, then the same property type, then every hotel in the search.

| Rating | Meaning |
| --- | --- |
| great | 20% or more below the market price |
| good | 8% or more below |
| fair | up to 10% above |
| high | more than 10% above |

Set `dealsOnly` to "good" or "great" to keep only those. The more hotels a search reads, the better
the comparison: with `maxResults` 20 there are few comparables.

#### Hotel details add-on

`includeDetails` adds to each hotel: `description`, `summary`, `finePrint`, `facilities` (and
`facilitiesByGroup`), `checkInFrom`, `checkInUntil`, `checkOutFrom`, `checkOutUntil`, `petsAllowed`,
`reviewScores` (staff, facilities, cleanliness, comfort, valueForMoney, location, freeWifi,
breakfast), `photos` and `roomTypes` with each room's name, description, bed options, occupancy,
amenities and photos.

Set "One row per" to "Room type" to get one row per room type instead.

#### Price calendar add-on

`includeCalendar` adds a `calendar` to each hotel: one entry per night with `date`, `available`,
`pricePerNight` and `minNights`, for `calendarDays` nights (up to 365) from today or from
`calendarStartDate`. Also `cheapestDate`, `cheapestPricePerNight`, `averagePricePerNight`,
`weekdayAveragePrice`, `weekendAveragePrice` and `weekendPremiumPercent`.

Set "One row per" to "Night (price calendar)" to get one row per hotel and night, which is the shape
a spreadsheet or a pricing model wants:

```json
{
  "hotels": ["pt/palacio-das-especiarias", "pt/masa-campo-grande"],
  "outputRows": "nights",
  "calendarDays": 90
}
```

A calendar price is the cheapest price for one night starting that day, as Booking.com's date
picker shows it. It's indicative: a real search for the same night, and above all for a longer stay,
can come out lower or higher. For exact prices use the hotel rows or flexible dates.

#### Flexible dates

`flexibleDates` prices the stay for every check-in date in a window that starts at `checkIn` and is
`flexWindowDays` long, and ranks the dates.

```json
{
  "destinations": ["Sintra, Portugal"],
  "checkIn": "2027-02-01",
  "nights": 2,
  "flexibleDates": true,
  "flexWindowDays": 14,
  "stars": ["4", "5"]
}
```

- For a destination, every date is a real search. Each row has `availableHotels`, `cheapestTotal`,
  `cheapestHotel`, `medianPerNight` (the median of the 25 cheapest hotels that pass your filters)
  and the three cheapest hotels. Use filters, or the cheapest hotel is a hostel bed.
- For a hotel, the dates come from its price calendar (`estimatedTotal`), and the three cheapest are
  priced again by a real search (`confirmedTotal`).

`rank` 1 and `isCheapest` mark the cheapest dates.

#### Rate monitor

Turn on `monitorMode` and run the same input on a schedule. The first run records every price.
Later runs deliver only hotels whose price or availability changed:

```json
{
  "hotels": ["pt/palacio-das-especiarias", "pt/masa-campo-grande", "39446"],
  "checkIn": "2027-01-12",
  "checkOut": "2027-01-14",
  "monitorMode": true,
  "minPriceChangePercent": 2,
  "notifyWebhookUrl": "https://hooks.slack.com/services/..."
}
```

A changed row carries `monitorStatus` "changed", `previousPrice`, `priceChange`,
`priceChangePercent`, `availabilityChange` ("sold-out" or "back-in-stock"), `lowestPriceSeen` and
`highestPriceSeen`.

- To watch a stay, use fixed dates. A relative check-in ("30 days") prices a new stay every day, so
  every run is a first sighting.
- To watch rates across the coming weeks, set "One row per" to "Night (price calendar)". Every night
  of the calendar is compared with the last run, and only the nights that changed come back. This is
  the setup for watching a competitor set.
- It works for destinations too: a scheduled search reports the hotels whose price moved.
- `minPriceChangePercent` ignores small moves. They add up: the comparison is always with the last
  price that was reported.
- "One row per: History" returns every stored price of the stays you watch, with the day it was
  seen. It reads stored data only and has no charge.

#### Alerts in Slack, Discord or Telegram

`notifyWebhookUrl` takes a Slack or Discord webhook URL and posts a formatted message per run, or
any other URL, which gets the rows as JSON. `telegramBotToken` and `telegramChatId` send the same to
Telegram. In monitor mode only changes are sent, so a quiet run sends nothing. Up to 100 rows per
run.

#### Output formats

- **Full**: every field, nulls included, so the columns are the same on every run.
- **Compact**: the fields a decision needs, with empty fields left out. About a fifth the size.

#### Coming from another Booking.com scraper

Input written for the other Booking.com Actors works as is. `search`, `destination`, `location`,
`locationQuery`, `searchQueries` and `startUrls` are read as destinations; `hotelUrls`, `hotelIds`,
`hotel_ids`, `hotelNames` and hotel URLs in `startUrls` as hotels. `checkin`, `checkout`,
`checkInDate`, `stayNights`, `maxItems`, `maxHotelsPerQuery`, `minScore`, `minReviewScore` out of
100, `starsCountFilter`, `starsFilter`, `minStars`, `propertyType` in any spelling, `minMaxPrice`,
`minPrice`, `maxPrice`, `amenities`, `includeHotelDetails`, `extractAdditionalHotelData`,
`includeAvailabilityCalendar` and every sort name (`price_low`, `stars_desc`, `top_picks`,
`distance_from_search` and so on) are understood. `maxItems` counts hotels for the whole run, and
`minPrice` and `maxPrice` are per night.

Rows from this Actor can be fed back in: put them, or their `url` or `hotelId`, under `hotels`.

### Use it from AI agents (MCP)

This Actor works as a tool in Claude, Cursor, VS Code and any other MCP client through
[Apify's MCP server](https://docs.apify.com/mcp). Connect your client to the server with your Apify
account and add this Actor, `hydedata/booking-scraper`, to its tools. With the hosted server it's
the Actor's name in the `tools` parameter:

```
https://mcp.apify.com?tools=hydedata/booking-scraper
```

The agent only needs a destination or a hotel to get an answer. Ask for the compact format so a
hotel costs about 200 tokens and not 1,000:

```json
{
  "destinations": ["Lisbon"],
  "checkIn": "2027-01-12",
  "nights": 2,
  "maxResults": 20,
  "sortBy": "review_score_and_price",
  "outputFormat": "compact"
}
```

A compact row:

```json
{
  "rowType": "hotel",
  "status": "ok",
  "hotelId": 10131840,
  "name": "MASA Hotel & Spa Campo Grande Collection",
  "url": "https://www.booking.com/hotel/pt/masa-campo-grande.html",
  "propertyType": "Hotel",
  "stars": 4,
  "city": "Lisboa",
  "district": "Alvalade",
  "distanceFromCenterKm": 4.18,
  "reviewScore": 8.5,
  "reviewCount": 11666,
  "checkIn": "2027-01-12",
  "checkOut": "2027-01-14",
  "nights": 2,
  "currency": "USD",
  "priceTotal": 166.12,
  "pricePerNight": 83.06,
  "priceWithTaxes": 193.52,
  "discountPercent": 20,
  "freeCancellation": true,
  "freeCancellationUntil": "2027-01-07T00:00:00Z",
  "breakfastIncluded": true,
  "roomName": "Standard Double or Twin Room",
  "dealRating": "good",
  "priceVsMarket": -0.09,
  "searchInput": "Lisbon"
}
```

Prompts that work well:

- "Find 4-star hotels in Lisbon for January 12 to 14 under $150 a night with free cancellation and
  a review score of 8.5 or more. Give me the five best deals."
- "What does the Hotel Avenida Palace in Lisbon cost for two adults and a 6-year-old next weekend,
  all in?"
- "When is the cheapest week to stay three nights in Sintra in February?"
- "Compare prices of these three hotels for every night in March and tell me which is cheapest on
  weekends."

The run's status message says in one sentence what came back and why, e.g. "Delivered 20 hotels
from 1 of 1 search. Stopped at the limit of 20 hotels."

### Pricing

Pay per result. Platform usage is included.

| Event | Price |
| --- | --- |
| Hotel | $0.002 ($2 per 1,000) |
| Hotel details add-on, per hotel | $0.002 |
| Price calendar add-on, per hotel and 61 nights | $0.004 |
| Flexible dates for a destination, per check-in date | $0.004 |
| Monitor check of a hotel with no change | $0.001 |

On Apify's Starter, Scale and Business plans a hotel costs $0.0018, $0.0016 and $0.0014.

How the outputs are billed:

- **Room type rows**: one Hotel and one Hotel details charge per hotel, however many room types it
  has.
- **Night rows**: one Price calendar charge per hotel and 61 nights, and no Hotel charge. A 365-night
  calendar is 6 charges, $0.024 per hotel.
- **Flexible dates for a hotel**: the Price calendar charge for the window. The date rows and the
  three confirmed prices are included.
- **Monitor mode**: a hotel that changed is charged as a Hotel (or as its calendar, for night rows).
  A hotel with nothing to report costs the check fee and gets no row.
- **History output**: no charge.

You're never charged for:

- Hotels your filters drop, and sold-out hotels in a destination unless you ask for them.
- Hotels that weren't found or couldn't be read. They come back as rows with `status` and `error`.
- The same hotel twice in one run.
- Check-in dates with no hotel available, in flexible dates.
- Requests that Booking.com blocked.

A hotel you name that is sold out for the dates is delivered and charged as a hotel: that it's sold
out is the answer.

With a spending limit, the run stops at the limit and never goes over it.

### Output

Results go to the dataset, one row per hotel, room type, night, check-in date or stored price,
depending on "One row per". The Output tab describes every field. The key-value store's
`RUN_SUMMARY` record lists every destination and hotel of the input with how many hotels Booking.com
has for it, how many were read and delivered, and whether the search was read in full.

### Limits

- **One offer per hotel.** A search shows the offer Booking.com picks for your party, which is
  almost always its cheapest that fits. Room types come from the details add-on with beds, occupancy
  and amenities, but only the offered room carries a price. A full rate table per room isn't
  available without loading pages this Actor doesn't load.
- **Calendar prices are indicative.** They're one-night prices from the date picker and can be off
  from a real search, more so for longer stays. Flexible dates confirms the cheapest three.
- **No member prices.** Genius and other signed-in prices need a login. `geniusRateAvailable` says
  when one exists.
- **No guest reviews and no host contacts.** Review scores, sub-scores and counts are included. Review
  text, reviewer names and owner or host details are not collected.
- **Prices follow the visitor's country.** The default proxy is in the United States, where
  Booking.com shows prices before taxes and lists them separately; `priceWithTaxes` adds them. Pick
  the RESIDENTIAL proxy with a country to see what a visitor from there sees.
- **Counts move.** Booking.com's count of hotels for a search changes by a percent or so from one
  request to the next. A search counts as read in full at 97% of it.
- **Very large searches.** See "More than 1,000 hotels" above.
- **Dates.** Stays of up to 90 nights, check-in from today on.

### Tips

- Add the country to a destination that shares its name with another place.
- For a competitor set, list the hotels by URL once, then keep the run on a schedule with monitor
  mode and night rows.
- For the best deal ratings, let a search read at least 100 hotels.
- `sortBy` "review_score_and_price" with a small `maxResults` is a quick shortlist.
- Use fixed dates in monitor mode unless you mean to watch a rolling date.

### FAQ

#### Is there a Booking.com API for hotel prices?

Booking.com's own API is for affiliate partners and needs approval. This Actor gives you the public
prices any visitor sees, as JSON, CSV or Excel, through Apify's API, on a schedule or from an AI
agent.

#### How do I get Booking.com prices for a list of hotels?

Put the hotels' Booking.com URLs under `hotels` and set the dates. Each hotel comes back as one row
with its price, or with a status saying it's sold out or wasn't found.

#### How do I track a hotel's price on Booking.com?

Turn on monitor mode with fixed dates and schedule the run. You only get a row, and an alert, when
the price or the availability changes. The history output gives you every stored price.

#### How do I monitor competitor hotel rates?

List your competitors under `hotels`, choose one row per night, set the calendar length and turn on
monitor mode. Each scheduled run returns the nights whose price or availability changed for each
hotel.

#### Can I get more than 1,000 results from a Booking.com search?

Yes. Set `maxResults` to what you need, or to 0 for all. The Actor splits the search by price and
tells you when a search still couldn't be read in full.

#### Does it need a Booking.com account, cookies or a proxy of my own?

No. It reads what a logged-out visitor sees and runs on Apify's proxies, which are included.

#### Why is the price different from what I see on Booking.com?

Check four things: the dates and guests, the currency, whether you're signed in (member prices aren't
read), and the country you browse from, which decides whether taxes are in the displayed price.
`priceWithTaxes` is the all-in figure to compare.

#### Is it legal to scrape Booking.com?

The Actor collects publicly visible listing and price data, without logging in and without personal
data. How you use the data is up to you and the laws that apply to you; check Booking.com's terms and
get advice if you're unsure.

# Changelog

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

# Actor input Schema

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

One per line: a city, region, district, landmark or airport as you'd type it into Booking.com (Lisbon, Lake Como, Shibuya), or a Booking.com search URL. A pasted URL keeps its destination, dates, guests, rooms, currency, language, sort order and every sidebar filter. Dates, currency, language, sort order and filters you set below win over the URL's.

## `hotels` (type: `array`):

Price these hotels: a Booking.com hotel URL (https://www.booking.com/hotel/pt/lisboa-plaza.html), its country and page name (pt/lisboa-plaza), a numeric hotel ID, or the hotel's name. Hotels listed together are also compared with each other, which makes a competitor set. A hotel that isn't found gets a free row saying why.

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

A date (2027-03-14) or a date relative to the day of the run (30 days, 2 weeks, 1 month), which keeps a scheduled run looking the same distance ahead.

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

A date or a relative date. Leave empty to use the number of nights.

## `nights` (type: `integer`):

Length of the stay when no check-out is set.

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

Adults in the party, across all rooms.

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

One age per child, 0 to 17 (e.g. 5 and 9). Booking.com prices children by age, so ages matter more than the count.

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

Rooms to book. The price covers all of them.

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

Three-letter code of any currency Booking.com offers (USD, EUR, GBP, JPY, IDR, BRL and so on). Empty means USD, or the currency of a pasted search URL.

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

Booking.com language code for names, room types and labels: en-us, en-gb, de, fr, es, it, nl, pt-pt, pt-br, ja, zh-cn and so on. Empty means en-us, or the language of a pasted search URL.

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

Order of a destination's results. Empty means top picks, or the order of a pasted search URL. Booking.com pages through 1,100 results in any order; past that, hotels arrive cheapest first.

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

Most hotels the run delivers, across all destinations and hotels. You're never charged for more. With one destination this is that destination's limit. 0 means no limit.

## `maxResultsPerDestination` (type: `integer`):

Most hotels one destination delivers. Empty means 100 per destination, or the whole-run limit when there's a single destination. 0 means no limit.

## `minPricePerNight` (type: `number`):

In the run's currency.

## `maxPricePerNight` (type: `number`):

In the run's currency.

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

Keep these star classes. Apartments and homes carry Booking.com's own quality rating on the same scale.

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

Out of 10, any value (e.g. 8.4). Hotels without reviews don't pass.

## `minReviewCount` (type: `integer`):

Keep hotels with at least this many guest reviews.

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

Keep these kinds of property.

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

Keep hotels whose offer can be cancelled for free.

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

Keep hotels whose price includes breakfast.

## `maxDistanceFromCenterKm` (type: `number`):

Keep hotels within this distance of the destination's center.

## `facilities` (type: `array`):

Keep hotels that have all of these.

## `rawFilters` (type: `string`):

Any sidebar filter in Booking.com's own form, as it appears after nflt= in a search URL, separated by semicolons (e.g. roomfacility=38;di=1945 for private bathroom in one district).

## `includeSoldOut` (type: `boolean`):

Also deliver a destination's hotels that have no availability for the dates, without a price. Hotels you name are always delivered, sold out or not.

## `dealsOnly` (type: `string`):

Keep hotels priced under the median of comparable hotels in the same search (same star class and review band). Good: 8% or more below. Great: 20% or more below.

## `includeDetails` (type: `boolean`):

Description, every facility, check-in and check-out times, pet policy, review sub-scores (staff, cleanliness, comfort, value, location, WiFi), up to 30 photos and every room type with beds, size, occupancy and amenities.

## `includeCalendar` (type: `boolean`):

The cheapest price for every night ahead, with availability and minimum stay, plus the cheapest date and the weekend against the weekday average.

## `calendarDays` (type: `integer`):

Nights the price calendar covers. Charged per hotel for every 61 nights started.

## `calendarStartDate` (type: `string`):

First night of the price calendar. Empty means today.

## `flexibleDates` (type: `boolean`):

Prices the stay for every check-in date in a window that starts at the check-in above. For a destination each date is searched and charged as a date; filters apply. For a hotel the dates come from its price calendar, and the three cheapest are confirmed by a real search.

## `flexWindowDays` (type: `integer`):

How many check-in dates to try, starting at the check-in date.

## `outputRows` (type: `string`):

Hotel: one row per hotel with its price for the stay. Room type: one row per room type of each hotel, with the details add-on. Night: one row per night of each hotel's price calendar. History: the prices monitor mode has stored for each watched stay; it reads stored data only, so it makes no requests and has no charge.

## `outputFormat` (type: `string`):

Full: every field. Compact: the fields a decision needs, with empty fields left out, for AI agents and LLM pipelines where every field costs tokens.

## `monitorMode` (type: `boolean`):

Only deliver hotels whose price or availability changed since the last run: price drops and rises with the amount, newly sold out, back in stock. With one row per night, each night of the calendar is watched. A hotel with nothing to report costs a price check and no row. Use fixed dates to watch a stay; a relative check-in watches a new stay each day.

## `minPriceChangePercent` (type: `number`):

A price move smaller than this isn't reported. Small moves add up: the comparison is always with the last price that was reported.

## `includeUnchanged` (type: `boolean`):

Deliver every hotel on every run, marked changed or unchanged. Unchanged hotels are then charged as hotels.

## `stateStoreName` (type: `string`):

Named key-value store that keeps prices between runs. Use different names to run independent monitors.

## `stateRetentionDays` (type: `integer`):

Stays and calendars not checked for this many days are dropped from monitor memory.

## `notifyWebhookUrl` (type: `string`):

A Discord or Slack webhook URL gets a formatted message. Any other URL gets the rows as JSON. Up to 100 rows per run.

## `telegramBotToken` (type: `string`):

Also send alerts to Telegram. Create a bot with @BotFather and paste its token here.

## `telegramChatId` (type: `string`):

The chat, group or channel to post to, e.g. 123456789 or -1001234567890 or @yourchannel. The bot has to be a member of it.

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

How many requests run side by side. The default is gentle and fast enough: about 1,000 hotels in 15 seconds.

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

Apify datacenter proxies work. If they get blocked, the run moves to residential by itself when you leave this at the default. Prices and tax display follow the proxy's country: pick RESIDENTIAL with a country to see what visitors from there see.

## Actor input object example

```json
{
  "destinations": [
    "Lisbon"
  ],
  "nights": 1,
  "adults": 2,
  "rooms": 1,
  "maxResults": 50,
  "freeCancellationOnly": false,
  "breakfastIncluded": false,
  "includeSoldOut": false,
  "dealsOnly": "all",
  "includeDetails": false,
  "includeCalendar": false,
  "calendarDays": 61,
  "flexibleDates": false,
  "flexWindowDays": 14,
  "outputRows": "hotels",
  "outputFormat": "full",
  "monitorMode": false,
  "minPriceChangePercent": 1,
  "includeUnchanged": false,
  "stateStoreName": "booking-rate-monitor",
  "stateRetentionDays": 180,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Dataset items: one per hotel, or per room type, calendar night, check-in date or stored price. Field meanings are in the dataset schema.

## `runSummary` (type: `string`):

What each destination and hotel in the input came to: how many hotels Booking.com has for it, how many were read and delivered, and whether the search was read in full. Also the stay, the counters behind the status message and the traffic.

# 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": [
        "Lisbon"
    ],
    "maxResults": 50,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("hydedata/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": ["Lisbon"],
    "maxResults": 50,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("hydedata/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": [
    "Lisbon"
  ],
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call hydedata/booking-scraper --silent --output-dataset

```

## MCP server setup

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