# Compare Hotels Across Several Cities at Once

**Use case:** 

Run several cities in one TripAdvisor task and get one comparable dataset — regional market studies and multi-destination guides in a single run.

## Input

```json
{
  "search": [
    "Rome",
    "Milan",
    "Florence",
    "Venice"
  ],
  "category": "hotels",
  "maxItems": 100,
  "includeReviews": false,
  "maxReviewsPerPoi": 10,
  "locale": "en-US",
  "maxPois": 25,
  "maxRetries": 3,
  "maxConcurrency": 10
}
```

## Output

```json
{
  "name": {
    "label": "Hotel",
    "format": "array"
  },
  "rating": {
    "label": "Rating",
    "format": "array"
  },
  "reviewCount": {
    "label": "Reviews",
    "format": "array"
  },
  "ranking": {
    "label": "Ranking",
    "format": "array"
  },
  "priceFrom": {
    "label": "From",
    "format": "array"
  },
  "finalPrice": {
    "label": "Price",
    "format": "array"
  },
  "specialOffer": {
    "label": "Offer",
    "format": "array"
  },
  "dealsCount": {
    "label": "Deals",
    "format": "array"
  },
  "awards": {
    "label": "Awards",
    "format": "array"
  },
  "address": {
    "label": "Address",
    "format": "array"
  },
  "city": {
    "label": "City",
    "format": "array"
  },
  "country": {
    "label": "Country",
    "format": "array"
  },
  "phone": {
    "label": "Phone",
    "format": "array"
  },
  "emails": {
    "label": "Emails",
    "format": "array"
  },
  "url": {
    "label": "URL",
    "format": "array"
  }
}
```

## About this Actor

This example demonstrates how to use [TripAdvisor Scraper API — Hotels, Restaurants & Reviews](https://apify.com/pro100chok/tripadvisor-all-in-one) with a specific input configuration. Visit the [Actor detail page](https://apify.com/pro100chok/tripadvisor-all-in-one) to learn more, explore other use cases, and run it yourself.