Booking scraper ✅ Free
Try for free
No credit card required
View all Actors
Booking scraper ✅ Free
curious_coder/booking-scraper
Try for free
No credit card required
Looking for scraping booking.com ? This scraper can extract stays, hotels, attractions and get information like price, location, photos, reviews, deals etc.
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 "scrapeStays.searchUrl": "https://www.booking.com/searchresults.en-gb.html?label=en-in-booking-desktop-CmH43mrsjzqEEFQPgVycoAS652796016141%3Apl%3Ata%3Ap1%3Ap2%3Aac%3Aap%3Aneg%3Afi%3Atikwd-65526620%3Alp1007772%3Ali%3Adec%3Adm&aid=2311236&ss=Lonavala%2C+India&lang=en-gb&sb=1&src_elem=sb&src=index&dest_id=-2102774&dest_type=city&checkin=2023-08-12&checkout=2023-09-01&group_adults=2&no_rooms=1&group_children=0&sb_travel_purpose=leisure&offset=0",
8 "startPage": 1,
9 "count": 100,
10 "proxy": {
11 "useApifyProxy": true
12 }
13}
14EOF
15
16# Run the Actor using an HTTP API
17# See the full API reference at https://docs.apify.com/api/v2
18curl "https://api.apify.com/v2/acts/curious_coder~booking-scraper/runs?token=$API_TOKEN" \
19 -X POST \
20 -d @input.json \
21 -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
- 18 monthly users
- 1 star
- 77.5% runs succeeded
- 1.4 days response time
- Created in Aug 2023
- Modified 11 days ago
Categories