Skip to content
//Booking Scraper example\\

Rates for 2 hotels, 3 check-in dates, 1 and 2 nights

One row per hotel, check-in date and length of stay, priced for guests from Germany.

Updated November 10, 2026

What this example returns

The dataset’s “Rates” view shows 14 columns: Hotel, Check-in, Check-out, Nights, Adults, Available, Price, Total with taxes, Currency, Room, Free cancellation, Rooms left, Source, and Fetched. See every output field.

What each setting does

The input this example runs Booking Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

Currency currency

Euro

Currency for prices.

Default: US dollar → this example uses Euro

What to collect mode

Rates (rate shopping)

Properties: the destination search and start URLs above. Rates: one row per hotel, check-in date, length of stay and guest count for the hotels below (rate shopping).

Default: Properties → this example uses Rates (rate shopping)

Hotels hotels

https://www.booking.com/hotel/de/hilton-berlin.html, 72308

Rates mode: Booking.com hotel URLs (such as https://www.booking.com/hotel/nl/ruby-emma.html) or Booking hotel ids. One row per hotel, check-in date, length of stay and guest count.

First check-in date checkInFrom

30 days

Rates mode: first check-in date, YYYY-MM-DD or relative such as 1 day. Defaults to today.

Last check-in date checkInTo

32 days

Rates mode: last check-in date, YYYY-MM-DD or relative such as 365 days. Every day from the first to the last date is read. Defaults to 29 days after the first date. Booking takes reservations about 16 months ahead; later dates are skipped.

Lengths of stay (nights) lengthsOfStay

1, 2

Rates mode: stay lengths in nights, for example [1, 2, 3]. Defaults to [1].

Guest counts (adults) guestCounts

2

Rates mode: adults per search, for example [1, 2, 3]. Defaults to the Adults setting. Rooms, children and currency come from the settings above.

Market (country of the guest) marketCountry

DE

Rates mode: two-letter country code such as DE or US. Booking shows prices the way it shows them to guests from that country (for example with taxes included for Germany, before taxes for the United States), so requests are sent from that country through Scrape.ly residential proxies. Empty: the proxy settings below…

Fast one-night prices from Booking's calendar calendarPrices

Yes

Rates mode: one-night stays come from Booking's price calendar, 61 check-in dates per request, instead of one search per stay. Calendar prices are whole currency units before Booking's deal discounts and carry no room, meal plan or cancellation details. Off: every row is the exact lowest bookable offer.

Default: No → this example uses Yes

.json
{
  "mode": "rates",
  "hotels": [
    "https://www.booking.com/hotel/de/hilton-berlin.html",
    "72308"
  ],
  "checkInFrom": "30 days",
  "checkInTo": "32 days",
  "lengthsOfStay": [
    1,
    2
  ],
  "guestCounts": [
    2
  ],
  "currency": "EUR",
  "marketCountry": "DE",
  "calendarPrices": true
}

What it costs

You pay for the events the actor reports, such as each result or page it produces. Platform usage is included in the event prices: compute, proxies, browser and storage cost nothing extra.

  • Resultfrom $0.0017One Booking.com property saved to the dataset.
  • Ratefrom $0.0017One rate row: a hotel, check-in date, length of stay and guest count, saved to the dataset.

Full pricing

When to use this example

From the Booking Scraper readme:

Known limit

📈 Rate shopping returns the lowest offer per stay, not every room and rate plan. Calendar prices (calendarPrices) are whole currency units before deal discounts.

Known limit

🗓️ Hotels often show nothing bookable more than about a year ahead; those dates come back with available: false.

Other ways to run Booking Scraper

All examples of Booking Scraper

About Booking Scraper

Scrape public Booking.com hotels and search results: names, prices, ratings, rooms, facilities, and photos.

Price:
from $1.70 / 1,000 results
Developer:
Roam & Roof
Category:
Travel

Booking Scraper pageOutput fieldsPricing

Related actors

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.