
Fast Booking Scraper
- voyager/fast-booking-scraper
- Modified
- Users 9
- Runs 53
- Created by
Voyager
Scrape Booking with this hotel scraper and get data about accommodation on Booking.com. Extract data by keywords or URLs for hotel prices, ratings, location, number of reviews, stars. Scrape and download data from Booking.com in JSON, Excel, HTML ,and CSV.
To run the code examples, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token. For a more detailed explanation, please read about running Actors via the API in Apify Docs.
# 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~fast-booking-scraper/runs?token=$API_TOKEN" \
-X POST \
-d @input.json \
-H 'Content-Type: application/json'