Booking.com Scraper Pro
Try for free
1 day trial then $40.00/month - No credit card required now
View all Actors
Booking.com Scraper Pro
caprolok/booking-com-scraper-pro
Try for free
1 day trial then $40.00/month - No credit card required now
Booking.com Scraper is a robust tool for extracting detailed data from Booking.com listings. Ideal for market research, competitive analysis, and data-driven decisions, it offers insights in JSON, CSV, and Excel formats. Discover trends, analyze performance, and drive success! 🏨📊💡
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 more
1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7 "searchUrls": [
8 {
9 "url": "https://www.booking.com/searchresults.en-gb.html?ss=Bangalore&ssne=Bangalore&ssne_untouched=Bangalore&lang=en-gb&sb=1&src_elem=sb&src=searchresults&checkin=2024-07-16&checkout=2024-07-25&group_adults=2&no_rooms=1&group_children=0"
10 }
11 ],
12 "searchLocations": [
13 "Bangalore",
14 "Mysore"
15 ]
16}
17EOF
18
19# Run the Actor using an HTTP API
20# See the full API reference at https://docs.apify.com/api/v2
21curl "https://api.apify.com/v2/acts/caprolok~booking-com-scraper-pro/runs?token=$API_TOKEN" \
22 -X POST \
23 -d @input.json \
24 -H 'Content-Type: application/json'