TripAdvisor Scraper avatar
TripAdvisor Scraper
Try for free

1 day trial then $20.00/month - No credit card required now

View all Actors
TripAdvisor Scraper

TripAdvisor Scraper

epctex/tripadvisor-scraper
Try for free

1 day trial then $20.00/month - No credit card required now

Explore with our Trip Advisor Scraper: an easy search for hotels, restaurants, attractions, and more by keywords or start URL. Enter check-in/out dates, and select currency and language. Promote locations, capture details, and retrieve emails and phone numbers if shared.

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  "search": "New York",
8  "checkInDate": "2025-01-01",
9  "checkOutDate": "2025-10-01",
10  "startUrls": [
11    "https://www.tripadvisor.com/Hotel_Review-g35805-d236299-Reviews-Sofitel_Chicago_Magnificent_Mile-Chicago_Illinois.html",
12    "https://www.tripadvisor.com/Hotels-g294200-Egypt-Hotels.html",
13    "https://www.tripadvisor.com/FindRestaurants?geo=32655&establishmentTypes=10591&mealTypes=10606&priceTypes=10955&broadened=false",
14    "https://www.tripadvisor.com/Tourism-g60763-New_York_City_New_York-Vacations.html",
15    "https://www.tripadvisor.com/Trips/122547544"
16  ],
17  "language": "en",
18  "currency": "USD",
19  "maxItems": 20,
20  "endPage": 1,
21  "extendOutputFunction": "($) => { return {} }",
22  "customMapFunction": "(object) => { return {...object} }",
23  "proxy": {
24    "useApifyProxy": true
25  }
26}
27EOF
28
29# Run the Actor using an HTTP API
30# See the full API reference at https://docs.apify.com/api/v2
31curl "https://api.apify.com/v2/acts/epctex~tripadvisor-scraper/runs?token=$API_TOKEN" \
32  -X POST \
33  -d @input.json \
34  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 28 monthly users
  • 2 stars
  • 99.9% runs succeeded
  • 2.5 days response time
  • Created in Feb 2024
  • Modified 2 days ago