
Booking Scraper
voyager/booking-scraper
Scrape Booking with this hotels scraper and get data about accommodation on Booking.com. You can crawl by keywords or URLs for hotel prices, ratings, addresses, number of reviews, stars. You can also download all that room and hotel data from Booking.com with a few clicks: CSV, JSON, HTML, and Excel
The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn mode
# Set API token
API_TOKEN=<YOUR_API_TOKEN>
# Prepare Actor input
cat > input.json <<'EOF'
{
"search": "New York",
"maxItems": 10,
"sortBy": "distance_from_search",
"starsCountFilter": "any",
"currency": "USD",
"language": "en-gb",
"minMaxPrice": "0-999999"
}
EOF
# Run the Actor
curl "https://api.apify.com/v2/acts/voyager~booking-scraper/runs?token=$API_TOKEN" \
-X POST \
-d @input.json \
-H 'Content-Type: application/json'