Hotels.com scraper avatar
Hotels.com scraper
Try for free

Pay $5.00 for 1,000 results

View all Actors
Hotels.com scraper

Hotels.com scraper

jeremy_frost/hotels-com-scraper
Try for free

Pay $5.00 for 1,000 results

Scrape hotel data with this scraper and gather information about accommodations on Hotels.com. You can filter your results by stars, dates, etc. Additionally, you can easily download all room and hotel data from Hotels.com in various formats. Similar scrapers: booking, tripadvisor, expedia, airbnb.

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

Node.js

Python

curl

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "place": "London",
8  "start_date": "2024-07-01",
9  "end_date": "2024-07-02",
10  "min_stars": "3"
11}
12EOF
13
14# Run the Actor using an HTTP API
15# See the full API reference at https://docs.apify.com/api/v2
16curl "https://api.apify.com/v2/acts/jeremy_frost~hotels-com-scraper/runs?token=$API_TOKEN" \
17  -X POST \
18  -d @input.json \
19  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 10 monthly users
  • 100.0% runs succeeded
  • 0.0 days response time
  • Created in Sep 2023
  • Modified 8 days ago