Tripadvisor Scraper

This unofficial Tripadvisor API is a data extraction tool able to get data on hotels, restaurants, things to do, vacation rentals, attractions, tours, and public trips. Get pricing, contact details, amenities, awards, ratings, and more. Download your data in Excel, JSON, CSV, and other formats.

Pay $3.00 for 1,000 results

Tripadvisor Scraper

Pay $3.00 for 1,000 results

To run the code examples, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token. For a more detailed explanation, please read about running Actors via the API in Apify Docs.

# Set API token
API_TOKEN=<YOUR_API_TOKEN>

# Prepare Actor input
cat > input.json <<'EOF'
{
  "locationFullName": "Chicago",
  "maxItems": 10,
  "language": "en",
  "currency": "USD"
}
EOF

# Run the Actor
curl "https://api.apify.com/v2/acts/maxcopell~tripadvisor/runs?token=$API_TOKEN" \
  -X POST \
  -d @input.json \
  -H 'Content-Type: application/json'