Actor picture

Booking Scraper

dtrungtin/booking-scraper

Scrape Booking with this free hotels scraper and get data about accommodation on Booking.com. You can crawl by keywords or URLs for hotel prices, ratings, reviews, stars, and scrape data from Booking.com with one click.

No credit card required

Author's avatarTin Duong
  • Modified
  • Users1,907
  • Runs188,367

Maximum number of result pages

maxPages

Optional

integer

This is the maximum number of result pages you are going to extract. The higher the number, the longer the run will take. If you do not set a maximum number, it could take forever for the actor to finish its run.

Extract only basic information

simple

Optional

boolean

Basic information includes property name and location. It does not include the property address and reviews.

Get more than 1000 results

useFilters

Optional

boolean

Booking.com has a limit of 1,000 results. Select to overcome this limit, but keep in mind the run will take much longer.

Insert Booking.com URL

startUrls

Optional

array

These are the Booking.com URLs you can scrape instead of the search term. It is better to use a simple URL and filter other options in filters here.

Destination type

destType

Optional

string

Choose type of destination

Options:

"city", "region"

Property type

propertyType

Optional

string

Choose type of property

Options:

"none", "Hotels", "Apartments", "Hostels", "Guest houses", "Homestays", "Bed and breakfasts", "Holiday homes", "Boats", "Villas", "Motels", "Holiday parks", "Campsites", "Luxury tents"

Order results by

sortBy

Optional

string

Hotel attribute by which the results will be ordered

Options:

"upsort_bh", "price", "closest_ski_lift_distance", "class", "class_asc", "class_and_price", "distance_from_search", "bayesian_review_score"

Minimum rating

minScore

Optional

string

Minimum rating of a hotel in "8.4" format

Preferred currency

currency

Optional

string

Currency to be set on the website

Options:

"ARS", "AUD", "AZN", "BHD", "BRL", "BGN", "CAD", "XOF", "CLP", "CNY", "COP", "CZK", "DKK", "EGP", "EUR", "FJD", "GEL", "HKD", "HUF", "INR", "IDR", "ILS", "JPY", "JOD", "KZT", "KRW", "KWD", "MYR", "MXN", "MDL", "NAD", "TWD", "NZD", "NOK", "OMR", "PLN", "GBP", "QAR", "RON", "RUB", "SAR", "SGD", "ZAR", "SEK", "CHF", "THB", "TRY", "AED", "USD", "UAH"

Language

language

Optional

string

Language to be set on the website (does not apply to reviews)

Options:

"en-gb", "en-us", "de", "nl", "fr", "es", "es-ar", "ca", "it", "pt-pt", "pt-br", "no", "fi", "sv", "da", "cs", "hu", "ro", "ja", "zh-cn", "zh-tw", "pl", "el", "ru", "tr", "bg", "ar", "ko", "he", "lv", "uk", "id", "ms", "th", "et", "hr", "lt", "sk", "sr", "sl", "vi", "tl", "is"

Check-in date (yyyy-mm-dd)

checkIn

Optional

string

Check-in date

Check-out date (yyyy-mm-dd)

checkOut

Optional

string

Check-out date

Number of rooms

rooms

Optional

integer

Number of adults

adults

Optional

integer

Number of children

children

Optional

integer

Price range

minMaxPrice

Optional

string

Insert the minimum and maximum price per night, e.g. 100-150.

Maximum reviews

maxReviews

Optional

integer

Number of reviews to be scraped for each detail page. You can scrape up to 10 reviews without using any extra credits.

Include reviewer name

scrapeReviewerName

Optional

boolean

Extract reviewer name only if you have a legitimate reason to do so.

Proxy configuration

proxyConfig

Required

object

Select the proxies you want to use (automatic Apify proxies/Residentials/your own).

Test proxies (useful for proxy groups with many blocked IPs, experimental)

testProxy

Optional

boolean

Before the run, the crawler will try to find a proxy that's not blocked by Booking.com

Extend output function

extendOutputFunction

Optional

string

Function that takes a JQuery handle ($) as argument and returns data that will be merged with the default output

Debugging mode

debug

Optional

boolean

Select if you want to display debug logs.