# Booking.com Stay Rooms Scraper (`nifty.codes/booking-stayrooms-scraper`) Actor

Extract Booking.com rooms. Works on property pages with rooms listed. Powered by Booking.com Scraper.

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

## Pricing

from $5.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/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

Extract Booking.com rooms with prices, discounts, deals, taxes and cancellation terms from property pages with rooms listed. Powered by Booking.com Scraper.

***

#### Want more from Booking.com?

The full **Booking.com Scraper** browser extension covers every option this site has, with unlimited personal use, real-time scraping with your logged-in sessions, CSV/Excel/JSON export, field customization, and scheduled monitoring.

**[Get the Booking.com Scraper extension](https://nifty.codes/e/booking-scraper?utm_source=apify\&utm_medium=actor_readme\&utm_content=booking-stayrooms-scraper)**

***

#### Data Fields

| Field Name | Description | Example |
| --- | --- | --- |
| Room Type ID | Booking.com's identifier for the room type | 9 |
| Room Name | The room as the property names it | Superior Double Room |
| Has Room Inventory | Whether rooms of this type are left for the dates | Yes |
| Max Guests | The most guests the room takes | 3 |
| Can Fit All Guests | How many of the searched guests the room can fit | 2 |
| Total Price | The full stay price as a raw number | 4820.51234567891 |
| Total Price Formatted | The full stay price as Booking.com displays it | $4,820.51 |
| Original Price | The price it was cut from, where a discount is showing | 6150.23456789123 |
| Original Price Formatted | That original price as displayed | $6,150.23 |
| Price Per Night | The average nightly price as a raw number | 160.683411244631 |
| Price Per Night Formatted | The nightly price as displayed | $161 |
| Price Per Night EUR | The nightly price converted to euros | 138.35 |
| Net Room Price | The room price before taxes and charges, as a raw number | 4015.42781234567 |
| Net Room Price Formatted | That net price as displayed | $4,015.43 |
| Hotel Currency Price | The stay price in the property's own currency | £3,562.80 |
| Currency | The symbol of the property's own currency | £ |
| Discount Percentage | How much was taken off, as a percentage | 21.6189452671843% |
| Discount Amount | How much was taken off, as a raw number | 1329.78223456789 |
| Discount Amount Formatted | That discount as displayed | $1,329.78 |
| Active Deals | The deal badges showing on the room | 22% off, Genius rewards |
| Deal Descriptions | What each deal gives, as Booking.com explains it | You're getting 22% off the original price. | You're getting a Genius discount at this property. |
| Included Taxes | Taxes already in the price, where Booking.com lists them | VAT, City tax |
| Total Taxes | Taxes added on top, as a raw number | 185.4 |
| Total Taxes Formatted | Those taxes as displayed | $185.40 |
| Excluded Charges | Charges not in the shown price, as a raw number | 342.158723456789 |
| Meal Plan | Meals included with the rate, where there are any | Breakfast included |
| Cancellation Type | The cancellation terms of the rate | free\_cancellation |
| Is Genius Rate | Whether it is a Genius member rate | No |
| Book Now Pay Later | Whether the rate can be paid for later, where stated | Yes |
| Is CFAR | Whether cancel for any reason cover is offered | No |
| Available Stays | How many rooms of this type can be booked | 3 |
| Number of Rate Options | How many rate choices the room offers | 2 |
| Block ID | Booking.com's identifier for this room and rate | 987654301\_312345678\_2\_1\_0 |

***

*Booking.com Stay Rooms Scraper*

# Actor input Schema

## `urls` (type: `array`):

URLs to scrape. Must match: booking.com

## `maxItems` (type: `integer`):

Maximum number of items to extract per URL

## `includeRaw` (type: `boolean`):

Add the unformatted extraction beside every row.

## Actor input object example

```json
{
  "urls": [
    "https://www.booking.com/hotel/gb/leicester-square-3rd-floor-studios.html?aid=304142&label=gen173nr-10CAEoggI46AdIM1gEaBiIAQGYATO4ARfIAQzYAQPoAQH4AQGIAgGoAgG4AuaKtcsGwAIB0gIkOWEwOGU4NWEtOGU0Mi00MDkyLTllMzUtZDQ0Y2U0Mzg0N2Yw2AIB4AIB&sid=44feebc52d36787f91d66470d41bf609&all_sr_blocks=1325970402_405214423_2_0_0&checkin=2026-11-01&checkout=2026-11-30&dest_id=-2601889&dest_type=city&dist=0&group_adults=1&group_children=0&hapos=1&highlighted_blocks=1325970402_405214423_2_0_0&hpos=1&matching_block_id=1325970402_405214423_2_0_0&no_rooms=1&req_adults=1&req_children=0&room1=A&sb_price_type=total&sr_order=popularity&sr_pri_blocks=1325970402_405214423_2_0_0__485982&srepoch=1768775832&srpvid=7b4f9f0195f00122&type=total&ucfs=1&#tab-main",
    "https://www.booking.com/hotel/tw/cho-hotel.html?label=gen173nr-10CAEoggI46AdIM1gEaBiIAQGYATO4ARfIAQzYAQPoAQH4AQGIAgGoAgG4Aq7X1c4GwAIB0gIkZjEyYjM1MjAtZTUxZS00YjY5LTk5ZjQtYjE4MDBmMmI0NTc32AIB4AIB&sid=80473833b2bda8705d80545fb4f1645a&aid=304142&ucfs=1&arphpl=1&checkin=2026-12-01&checkout=2026-12-31&dest_id=-2637882&dest_type=city&group_adults=1&req_adults=1&no_rooms=1&group_children=0&req_children=0&hpos=4&hapos=4&sr_order=popularity&srpvid=4a349490a79904ff&srepoch=1775596075&all_sr_blocks=103248620_382365301_0_0_0&highlighted_blocks=103248620_382365301_0_0_0&matching_block_id=103248620_382365301_0_0_0&sr_pri_blocks=103248620_382365301_0_0_0__8505456&from=searchresults",
    "https://www.booking.com/hotel/tw/relax-5.html?label=gen173nr-10CAEoggI46AdIM1gEaBiIAQGYATO4ARfIAQzYAQPoAQH4AQGIAgGoAgG4Aq7X1c4GwAIB0gIkZjEyYjM1MjAtZTUxZS00YjY5LTk5ZjQtYjE4MDBmMmI0NTc32AIB4AIB&sid=80473833b2bda8705d80545fb4f1645a&aid=304142&ucfs=1&arphpl=1&checkin=2026-12-01&checkout=2026-12-31&dest_id=-2637882&dest_type=city&group_adults=1&req_adults=1&no_rooms=1&group_children=0&req_children=0&hpos=1&hapos=1&sr_order=popularity&srpvid=4a349490a79904ff&srepoch=1775596070&all_sr_blocks=197195801_381987407_1_42_0_1112031&highlighted_blocks=197195801_381987407_1_42_0_1112031&matching_block_id=197195801_381987407_1_42_0_1112031&sr_pri_blocks=197195801_381987407_1_42_0_1112031_7721228&from=searchresults"
  ],
  "maxItems": 100,
  "includeRaw": false
}
```

# Actor output Schema

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

// Run the Actor and wait for it to finish
const run = await client.actor("nifty.codes/booking-stayrooms-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nifty.codes/booking-stayrooms-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/U6Th6gyVCE0w3vbPd/builds/JQdigu1onwNXnlJuG/openapi.json
