Tripadvisor Scraper avatar
Tripadvisor Scraper
Try for free

3 days trial then $25.00/month - No credit card required now

View all Actors
Tripadvisor Scraper

Tripadvisor Scraper

curious_coder/tripadvisor-scraper
Try for free

3 days trial then $25.00/month - No credit card required now

Scrape data from tripadvisor.com at fixed cost. Extract hotels, restaurants, attractions and vacation rentals from listing pages. Get contact number, email, rating, reviews, offers, amenities, 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  "url": "https://www.tripadvisor.com/Hotels-g188082-Jungfrau_Region_Bernese_Oberland_Canton_of_Bern-Hotels.html",
8  "count": 100,
9  "proxy": {
10    "useApifyProxy": true,
11    "apifyProxyGroups": [
12      "RESIDENTIAL"
13    ]
14  }
15}
16EOF
17
18# Run the Actor using an HTTP API
19# See the full API reference at https://docs.apify.com/api/v2
20curl "https://api.apify.com/v2/acts/curious_coder~tripadvisor-scraper/runs?token=$API_TOKEN" \
21  -X POST \
22  -d @input.json \
23  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 24 monthly users
  • 1 star
  • 65.3% runs succeeded
  • 7 days response time
  • Created in Aug 2023
  • Modified 16 days ago
Categories