# Top-rated hotels in Rome for a city break

**Use case:** 

Expedia hotels in Rome for a 3-night city break one month from now, with the guest rating on 10 and the number of reviews next to the nightly and total price in USD: sort the dataset by rating to find the best-reviewed stays. Dates are relative, so the task never expires. No personal data.

## Input

```json
{
  "locations": [
    "Lisbon, Portugal"
  ],
  "startUrls": [],
  "location": "Rome, Italy",
  "checkInDaysFromNow": 30,
  "nights": 3,
  "adults": 2,
  "maxResults": 60,
  "sortBy": "RECOMMENDED",
  "resultsPerPage": "50",
  "currency": "USD",
  "monitorPrices": false,
  "monitorStoreName": "expedia-price-monitor",
  "onlyChanges": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  },
  "maxRequests": 100,
  "delayMs": 1000,
  "clientInfo": "shopping-pwa,7287debfc51fab933e63d3f59245f3c1316560e2,us-west-2",
  "debugStoreHtml": false
}
```

## Output

```json
{
  "title": {
    "label": "Name",
    "format": "string"
  },
  "starRating": {
    "label": "Property class",
    "format": "number"
  },
  "region": {
    "label": "Neighbourhood",
    "format": "string"
  },
  "checkIn": {
    "label": "Check-in",
    "format": "string"
  },
  "checkOut": {
    "label": "Check-out",
    "format": "string"
  },
  "pricePerNight": {
    "label": "Price per night",
    "format": "number"
  },
  "priceTotal": {
    "label": "Total price",
    "format": "number"
  },
  "priceTotalAllIn": {
    "label": "Total price, taxes included",
    "format": "number"
  },
  "currency": {
    "label": "Currency",
    "format": "string"
  },
  "rating": {
    "label": "Guest rating",
    "format": "number"
  },
  "reviewCount": {
    "label": "Reviews",
    "format": "integer"
  },
  "url": {
    "label": "Property URL",
    "format": "string"
  },
  "imageUrls": {
    "label": "Photos",
    "format": "array"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Expedia Hotels Scraper & Price Tracker Actor is ready to run with the inputs already set for "Top-rated hotels in Rome for a city break". [Sign up or log in](https://console.apify.com/create-task-from-example/6LsQyHK82bfglbAnO) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Top-rated hotels in Rome for a city break" task

The Expedia Hotels Scraper & Price Tracker Actor will start running based on the input automatically. You can also change all the input fields, like destinations, expedia search urls, and more, to match your specific use case.

### 3. Receive the "Top-rated hotels in Rome for a city break" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as name, property class, neighbourhood, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Top-rated hotels in Rome for a city break" task via API](https://apify.com/myth84/expedia-hotels-scraper.md).

## About this Actor

This example demonstrates how to use [Expedia Hotels Scraper & Price Tracker](https://apify.com/myth84/expedia-hotels-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/myth84/expedia-hotels-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/myth84/expedia-hotels-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
