# Scrape 5-Star TripAdvisor Reviews

**Use case:** 

Pull only 5-star TripAdvisor reviews to surface testimonials and best-loved features. Export the top reviews as JSON or CSV.

## Input

```json
{
  "mode": "reviews",
  "startUrls": [
    {
      "url": "https://www.tripadvisor.com/Hotel_Review-g187497-d1465497-Reviews-W_Barcelona-Barcelona_Catalonia.html"
    }
  ],
  "maxReviews": 200,
  "reviewLanguages": [
    "all"
  ],
  "minRating": 5,
  "maxRating": 5,
  "placeTypes": [
    "hotels"
  ],
  "maxPlaces": 20,
  "discoveryDepth": "quick",
  "includePhotos": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "placeName": {
    "label": "Place",
    "format": "string"
  },
  "placeId": {
    "label": "Place ID",
    "format": "integer"
  },
  "placeType": {
    "label": "Type",
    "format": "string"
  },
  "reviewId": {
    "label": "Review ID",
    "format": "string"
  },
  "user": {
    "label": "Reviewer",
    "format": "object"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "text": {
    "label": "Review",
    "format": "string"
  },
  "publishedDate": {
    "label": "Published",
    "format": "string"
  },
  "travelDate": {
    "label": "Travel date",
    "format": "string"
  },
  "rating": {
    "label": "Rating",
    "format": "number"
  },
  "subratings": {
    "label": "Subratings",
    "format": "array"
  },
  "ownerResponse": {
    "label": "Owner response",
    "format": "object"
  },
  "lang": {
    "label": "Language",
    "format": "string"
  },
  "publishedPlatform": {
    "label": "Platform",
    "format": "string"
  },
  "helpfulVotes": {
    "label": "Helpful votes",
    "format": "integer"
  },
  "url": {
    "label": "URL",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [TripAdvisor Hotel Reviews API](https://apify.com/factden/tripadvisor-hotel-reviews-api) with a specific input configuration. Visit the [Actor detail page](https://apify.com/factden/tripadvisor-hotel-reviews-api) to learn more, explore other use cases, and run it yourself.