# Hotel Reviews Scraper: TripAdvisor, Google, Expedia & Agoda (`zaiq/hotel-reviews-scraper`) Actor

Guest reviews with rating (site scale and out of 5), title, text, language, review and stay dates, trip type, room, country and hotel reply from Tripadvisor, Google Maps, Expedia, Agoda, Booking.com (via Agoda), Trip.com, Despegar, Zoover and Airbnb, in one schema, plus a free summary per hotel.

- **URL**: https://apify.com/zaiq/hotel-reviews-scraper.md
- **Developed by:** [Zaiq](https://apify.com/zaiq) (community)
- **Categories:** Travel, Marketing, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 reviews

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Hotel Reviews Scraper: TripAdvisor, Google, Expedia & Agoda

Get a hotel's guest reviews from **Tripadvisor, Google Maps, Expedia, Agoda, Booking.com (the reviews Agoda shows), Trip.com, Despegar, Zoover and Airbnb in one run**. Every review comes back in the same row: the site, the hotel, the rating on the site's own scale **and out of 5**, title, text as written, language, review date, stay date, trip type, room, the guest's country, the hotel's reply and its date, helpful votes and a link.

Give hotel links (one hotel per line; put a hotel's links from several sites on one line) or just hotel names. Names are searched on Google Maps and Agoda, and Agoda also gives that hotel's Booking.com reviews. Each hotel gets a **free summary record** that compares the sites side by side.

**Tested in Apify's cloud:** one resort, Riu Palace Punta Cana, on all eight hotel sites at once gave 118 reviews in 43 seconds. The ready-made example below (two hotels, six sites, 10 reviews a site) gave 51 reviews in 24 seconds, which costs about $0.08.

If one site refuses or fails, the others carry on, and the summary says which site failed and why. Nothing here logs in, and nothing solves a CAPTCHA.

**Ready-to-run input:**

```json
{
  "hotelUrls": [
    "https://www.tripadvisor.com/Hotel_Review-g187497-d190635-Reviews-Hotel_Arts_Barcelona-Barcelona_Catalonia.html https://www.trip.com/hotels/barcelona-hotel-detail-2192934/hotel-arts-barcelona/ https://www.expedia.com/Barcelona-Hotels-Hotel-Arts-Barcelona.h3780.Hotel-Information"
  ],
  "hotelNames": [
    "The Plaza New York"
  ],
  "maxReviewsPerSource": 10
}
```

### What you get

| Field | What it holds |
|---|---|
| Where it is from | `source` (tripadvisor, google-maps, expedia, agoda, booking-com, trip-com, despegar, zoover, airbnb), `hotelName`, `hotelId` (the site's own), `hotelUrl`, `reviewId`, `reviewUrl` where the site has one. |
| Rating | `rating` as the site gives it, `ratingScale` (5 or 10) and `rating5`, the same rating out of 5 with one decimal, so a 10-point 8.8 is 4.4. |
| The review | `title`, `text` as the guest wrote it (Booking.com and Despegar split it into Liked and Disliked), `language` (two-letter code where the site says it). |
| When and who | `reviewDate` (YYYY-MM-DD; Despegar gives the month, YYYY-MM), `stayDate` (month or day, as the site gives it), `tripType` (couple, family, business...), `roomType`, `reviewerCountry`. No names, profile links or photos of guests. |
| The hotel's reply | `ownerResponse` and `ownerResponseDate`, where the hotel answered on that site; `helpfulVotes` where the site counts them. |
| Free hotel summary | `recordType: hotel-summary` per hotel: per site the status, its own score and review total, reviews read and kept, their average out of 5 and newest date; across sites the average out of 5 of every row, the sites' scores averaged by their totals, and failed sites with reasons. Filter `recordType` to separate the two. |

### What people use it for

- **Reputation monitoring for hotels:** Run weekly with `newerThan` set to last week: you pay only for the new reviews on every site, and the summary shows each site's score moving.
- **Hotel groups and agencies:** Put each property's links on its own line and compare the same hotel across Tripadvisor, Google, Expedia, Agoda and Booking.com in one table, out of 5.
- **Complaint mining:** Set `maxRating` to 2 to collect only the bad reviews from every site, then feed the text to an AI model to find the recurring problems.
- **Travel apps and AI agents:** One call returns one schema for many sites, so an agent can answer "what do guests say about this hotel?" without stitching nine scrapers together.

### How to use it

1. Put hotel links in **Hotel links**: one hotel per line, and links to the same hotel on several sites on the same line, separated by spaces. Or type hotel names (with the town) in **Hotel names**.
2. Keep all sites selected or pick some. Set **Reviews per site and hotel** (newest first).
3. Optional: keep only some ratings (out of 5), only reviews since a date, or only one language.
4. Run it. Filter `recordType` = `review` for the reviews and `hotel-summary` for the free comparison.

### Input

| Field | Example | Notes |
|---|---|---|
| hotelUrls | \["<tripadvisor link> \<trip.com link> <expedia link>"] | Links from any supported site; one hotel per line. |
| hotelNames | \["The Plaza New York"] | Searched on Google Maps and Agoda (and Booking.com through Agoda). |
| city | "Barcelona" | Added to each name that lacks it. |
| country | "US" | Where Google Maps searches names. Links work from anywhere. |
| sources | \["tripadvisor", "google-maps", "expedia", ...] | Default: all nine. |
| maxReviewsPerSource | 20 | Per site and hotel, newest first. Up to 5,000 (Tripadvisor and Google 4,490). |
| minRating / maxRating | 4 / 5 | Out of 5, on every site's rating converted to 5. |
| newerThan | "2026-11-01" | Stops each site at this date: weekly runs pay only for new reviews. |
| language | "en" | Keeps reviews written in this language where the site says which. |

### Output

Each result is one row in the run's dataset (download it as JSON, CSV, Excel, XML or HTML, or read it through the API). An example row (values shortened):

```json
{
  "recordType": "review",
  "source": "agoda",
  "hotelName": "Riu Palace Punta Cana - All Inclusive",
  "hotelId": "2676193",
  "hotelUrl": "https://www.agoda.com/partners/partnersearch.aspx?hid=2676193",
  "reviewId": "583800457",
  "rating": 7.2,
  "ratingScale": 10,
  "rating5": 3.6,
  "title": "Very good",
  "text": "So bored needs to change with happy activities, music and rides to go  to splash park and party pool to far to walk from the hotel.",
  "language": "en",
  "reviewDate": "2023-01-11",
  "stayDate": "2022-12-26",
  "tripType": "Family with teens",
  "roomType": "Junior Suite Tropical View",
  "reviewerCountry": "United States",
  "ownerResponse": null,
  "ownerResponseDate": null,
  "helpfulVotes": 0,
  "reviewUrl": null,
  "scrapedAt": "2026-11-12T10:51:00Z",
  "resultId": "agoda|2676193|583800457"
}
```

Every hotel also gets one free `recordType: "hotel-summary"` record. It lists each site's own overall score and review total, how many reviews were read and kept, their average out of 5 and the newest date, plus the average of every row out of 5, the sites' own scores averaged by their review totals, and any site that failed or did not find the hotel, with the reason. Real record from a cloud run on 12 November 2026 (three of its eight sites shown):

```json
{
  "recordType": "hotel-summary",
  "hotel": "Riu Palace Punta Cana - All Inclusive",
  "inputs": [
    "https://www.tripadvisor.com/Hotel_Review-g147293-d611114-Reviews-Hotel_Riu_Palace_Punta_Cana-Punta_Cana_La_Altagracia_Province_Dominican_Republic.html https://www.expedia.com/Punta-Cana-Hotels-RIU-Palace-Punta-Cana-All-Inclusive.h1502962.Hotel-Information https://www.trip.com/hotels/bavaro-hotel-detail-17505166/riu-palace-punta-cana-all-inclusive/ https://www.us.despegar.com/hoteles/h-326917/riu-palace-punta-cana---all-inclusive-punta+cana https://www.zoover.nl/a/133066/riu-palace-punta-cana",
    "Riu Palace Punta Cana"
  ],
  "reviewsDelivered": 118,
  "averageRating5": 3.82,
  "averageSiteScore5": 4.27,
  "newestReviewDate": "2026-11-11",
  "sourcesWithReviews": [
    "tripadvisor",
    "expedia",
    "trip-com",
    "despegar",
    "zoover",
    "google-maps",
    "agoda",
    "booking-com"
  ],
  "failedSources": [],
  "sources": [
    {
      "source": "tripadvisor",
      "status": "ok",
      "reason": null,
      "askedFor": "https://www.tripadvisor.com/Hotel_Review-g147293-d611114-Reviews-Hotel_Riu_Palace_Punta_Cana-Punta_Cana_La_Altagracia_Province_Dominican_Republic.html",
      "hotelName": "Hotel Riu Palace Punta Cana",
      "hotelId": "d611114",
      "hotelUrl": "https://www.tripadvisor.com/Hotel_Review-g147293-d611114-Reviews-Hotel_Riu_Palace_Punta_Cana-Punta_Cana_La_Altagracia_Province_Dominican_Republic.html",
      "siteScore": 4.1,
      "siteScale": 5,
      "siteScore5": 4.1,
      "siteReviewTotal": 4230,
      "reviewsRead": 20,
      "reviewsDelivered": 20,
      "averageRating5": 3.6,
      "newestReviewDate": "2026-11-09"
    },
    {
      "source": "expedia",
      "status": "ok",
      "reason": null,
      "askedFor": "https://www.expedia.com/Punta-Cana-Hotels-RIU-Palace-Punta-Cana-All-Inclusive.h1502962.Hotel-Information",
      "hotelName": "Hotel Riu Palace Punta Cana - All Inclusive",
      "hotelId": "1502962",
      "hotelUrl": "https://www.expedia.com/h1502962.Hotel-Information",
      "siteScore": 8.4,
      "siteScale": 10,
      "siteScore5": 4.2,
      "siteReviewTotal": 2456,
      "reviewsRead": 20,
      "reviewsDelivered": 20,
      "averageRating5": 4.45,
      "newestReviewDate": "2026-11-11"
    },
    {
      "source": "booking-com",
      "status": "ok",
      "reason": null,
      "askedFor": "Riu Palace Punta Cana",
      "hotelName": "Riu Palace Punta Cana - All Inclusive",
      "hotelId": "2676193",
      "hotelUrl": "https://www.agoda.com/partners/partnersearch.aspx?hid=2676193",
      "siteScore": null,
      "siteScale": null,
      "siteScore5": null,
      "siteReviewTotal": 497,
      "reviewsRead": 20,
      "reviewsDelivered": 20,
      "averageRating5": 3.02,
      "newestReviewDate": "2026-11-05"
    }
  ],
  "notes": null,
  "scrapedAt": "2026-11-12T10:51:42Z"
}
```

A record named `SUMMARY` in the run's key-value store adds the totals per site, the filters used and what was charged.

### Pricing

- **$1.50 per 1,000 reviews** ($0.0015 a review) on Free and Bronze, $1.35 on Silver, $1.20 on Gold and above. The same price for every site.
- No start fee. Hotel summaries, failed sites and hotels with no reviews are free.
- The Free plan returns 20 reviews per site a run.

What typical jobs cost at the list price:

| Job | Cost |
|---|---|
| The example input: 2 hotels, 6 sites, 10 reviews a site (51 reviews) | $0.08 |
| One hotel on all eight hotel sites, 20 a site (118 reviews) | $0.18 |
| 1,000 reviews | $1.50 |
| New reviews for 20 hotels on 5 sites each week, about 5 per site | $0.75 a week |

Set **Maximum cost per run**: the Actor checks the limit before each review and before asking a paid data source, and stops cleanly when it is reached. A cloud test at $0.05 stopped at exactly 33 reviews and still wrote the free summaries, which mark the sites that were cut short.

### Tips

- Put all of a hotel's links on one line for one combined summary. Lines whose sites report the same hotel name are joined anyway.
- Names work best as the hotel lists itself ("Hotel Riu Palace Punta Cana"). Check `hotelName` in the summary: it shows which hotel each site found.
- Compare `rating5`, not `rating`: Tripadvisor, Google and Airbnb score out of 5, the others out of 10.
- Booking.com reviews come through Agoda (Agoda and Booking.com are one group). They are real Booking.com reviews, but Agoda shows only part of a hotel's Booking.com total; the summary gives the count Agoda shows.
- For weekly monitoring, set `newerThan` to the last run's date and schedule the Actor.

### Use it through the API

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("zaiq/hotel-reviews-scraper").call(run_input={"hotelUrls": ["https://www.tripadvisor.com/Hotel_Review-g187497-d190635-Reviews-Hotel_Arts_Barcelona-Barcelona_Catalonia.html https://www.trip.com/hotels/barcelona-hotel-detail-2192934/hotel-arts-barcelona/ https://www.expedia.com/Barcelona-Hotels-Hotel-Arts-Barcelona.h3780.Hotel-Information"], "hotelNames": ["The Plaza New York"], "maxReviewsPerSource": 10})
for row in client.dataset(run.default_dataset_id).iterate_items():
    print(row)
```

**JavaScript**

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('zaiq/hotel-reviews-scraper').call({"hotelUrls": ["https://www.tripadvisor.com/Hotel_Review-g187497-d190635-Reviews-Hotel_Arts_Barcelona-Barcelona_Catalonia.html https://www.trip.com/hotels/barcelona-hotel-detail-2192934/hotel-arts-barcelona/ https://www.expedia.com/Barcelona-Hotels-Hotel-Arts-Barcelona.h3780.Hotel-Information"], "hotelNames": ["The Plaza New York"], "maxReviewsPerSource": 10});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

**HTTP (one call, results back)**

```bash
curl -X POST 'https://api.apify.com/v2/acts/zaiq~hotel-reviews-scraper/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{"hotelUrls": ["https://www.tripadvisor.com/Hotel_Review-g187497-d190635-Reviews-Hotel_Arts_Barcelona-Barcelona_Catalonia.html https://www.trip.com/hotels/barcelona-hotel-detail-2192934/hotel-arts-barcelona/ https://www.expedia.com/Barcelona-Hotels-Hotel-Arts-Barcelona.h3780.Hotel-Information"], "hotelNames": ["The Plaza New York"], "maxReviewsPerSource": 10}'
```

### Integrations and schedules

- **Schedules:** run it every hour, day or week from the Apify Console (Schedules) and keep a history of results.
- **Make, Zapier, n8n, Google Sheets, Slack, Airtable:** connect it through Apify's integrations, or send each finished run to a **webhook**.
- **Datasets:** results stay in the run's dataset; export them or read them by API whenever you need them.

### Use it with AI agents (MCP)

Add Apify's MCP server with this Actor already pinned (`https://mcp.apify.com?tools=zaiq/hotel-reviews-scraper`) to Claude, ChatGPT, Cursor, VS Code or any MCP client. The agent can find this Actor and run it for you: ask it for "Get the latest reviews of Hotel Arts Barcelona from Tripadvisor, Google, Expedia and Booking.com and compare the scores". AI agents can also pay for runs directly through Apify's agentic payments.

### Limits

- Booking.com's own pages answer every route with a JavaScript check, so Booking.com reviews come only through Agoda, and only for hotels Agoda lists.
- Expedia answers from Apify's own servers; Expedia also shows Hotels.com reviews for the same property. Expedia does not say which language a review is in, so those rows have no `language` and a language filter leaves them out.
- Trip.com's English site shows only part of a hotel's total (the rest are on Ctrip); Despegar shows reviews with text only; Zoover has few reviews outside Dutch holiday spots. Each summary gives the site's own total next to what was read.
- Airbnb gives no listing name or overall score in its review list.
- Only public, signed-out pages are read. Sites change; read the summary of each run.

### FAQ

**Which sites need a link?**

Tripadvisor, Expedia, Trip.com, Despegar, Zoover and Airbnb need a link. Google Maps and Agoda (with Booking.com) also find a hotel by name.

**How is rating5 worked out?**

The site's rating divided by its scale, times 5, one decimal: 8.8 out of 10 is 4.4; 4 out of 5 stays 4.

**Am I charged for failed sites?**

No. Only delivered review rows are charged. Summaries, notes and failures are free.

**Why fewer reviews than I asked for?**

The site has fewer, a filter removed some, or the spending limit was reached. The summary shows reviews read and kept per site, and the site's own total.

**Is personal data included?**

No reviewer names, profile links or photos. Only the country, where the site gives it. A hotel's reply is kept as written.

### Related Actors from Zaiq

- [tripadvisor-reviews-scraper](https://apify.com/zaiq/tripadvisor-reviews-scraper): Tripadvisor reviews of any place, with filters
- [google-maps-reviews-scraper](https://apify.com/zaiq/google-maps-reviews-scraper): Google Maps reviews of any place
- [agoda-reviews-scraper](https://apify.com/zaiq/agoda-reviews-scraper): Agoda reviews with partner sources
- [trip-com-reviews-scraper](https://apify.com/zaiq/trip-com-reviews-scraper): Trip.com reviews with part scores

### Support

Questions, a site that changed, or a field you need? Open an issue on this Actor's **Issues** tab: we answer there, usually within a day.

***

Also found as: hotel reviews scraper, hotel review API, Tripadvisor reviews, Google hotel reviews, Expedia reviews, Booking.com reviews, Agoda reviews, Trip.com reviews, Despegar reviews, Zoover reviews, Airbnb reviews, reputation monitoring, review aggregator.

# Actor input Schema

## `hotelUrls` (type: `array`):

Hotel links from Tripadvisor, Google Maps, Expedia, Hotels.com, Agoda, Booking.com, Trip.com, Despegar, Zoover or Airbnb. One hotel per line; put links to the same hotel on one line, separated by spaces, for one combined summary.

## `hotelNames` (type: `array`):

Hotel names with their town, one per line. Searched on Google Maps and Agoda (which also gives the hotel's Booking.com reviews); other sites need a link.

## `city` (type: `string`):

Added to every hotel name above when the name does not already contain it, such as Barcelona.

## `country` (type: `string`):

Where Google Maps searches a hotel given by name. Links work from any country.

## `sources` (type: `array`):

Which sites to read. Defaults to all nine. A site that refuses or fails is skipped and the others continue; the hotel summary says why.

## `maxReviewsPerSource` (type: `integer`):

Stop after this many delivered reviews from each site for each hotel, newest first. Tripadvisor and Google Maps go up to 4,490.

## `minRating` (type: `integer`):

Keep reviews rated at least this, on the 5-point scale (a 10-point 8.0 is 4.0). Empty keeps all.

## `maxRating` (type: `integer`):

Keep reviews rated at most this, on the 5-point scale. Set 2 to collect complaints. Empty keeps all.

## `newerThan` (type: `string`):

Stop at this date (YYYY-MM-DD) on every site, so a weekly run pays only for new reviews. Despegar dates reviews by month.

## `language` (type: `string`):

Keep only reviews written in this language, where the site says which. Empty keeps every language.

## Actor input object example

```json
{
  "hotelUrls": [
    "https://www.tripadvisor.com/Hotel_Review-g187497-d190635-Reviews-Hotel_Arts_Barcelona-Barcelona_Catalonia.html https://www.trip.com/hotels/barcelona-hotel-detail-2192934/hotel-arts-barcelona/ https://www.expedia.com/Barcelona-Hotels-Hotel-Arts-Barcelona.h3780.Hotel-Information"
  ],
  "hotelNames": [
    "The Plaza New York"
  ],
  "country": "US",
  "sources": [
    "tripadvisor",
    "google-maps",
    "expedia",
    "agoda",
    "booking-com",
    "trip-com",
    "despegar",
    "zoover",
    "airbnb"
  ],
  "maxReviewsPerSource": 10
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset: the results.

## `summary` (type: `string`):

What each input returned, and notes.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "hotelUrls": [
        "https://www.tripadvisor.com/Hotel_Review-g187497-d190635-Reviews-Hotel_Arts_Barcelona-Barcelona_Catalonia.html https://www.trip.com/hotels/barcelona-hotel-detail-2192934/hotel-arts-barcelona/ https://www.expedia.com/Barcelona-Hotels-Hotel-Arts-Barcelona.h3780.Hotel-Information"
    ],
    "hotelNames": [
        "The Plaza New York"
    ],
    "sources": [
        "tripadvisor",
        "google-maps",
        "expedia",
        "agoda",
        "booking-com",
        "trip-com",
        "despegar",
        "zoover",
        "airbnb"
    ],
    "maxReviewsPerSource": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("zaiq/hotel-reviews-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "hotelUrls": ["https://www.tripadvisor.com/Hotel_Review-g187497-d190635-Reviews-Hotel_Arts_Barcelona-Barcelona_Catalonia.html https://www.trip.com/hotels/barcelona-hotel-detail-2192934/hotel-arts-barcelona/ https://www.expedia.com/Barcelona-Hotels-Hotel-Arts-Barcelona.h3780.Hotel-Information"],
    "hotelNames": ["The Plaza New York"],
    "sources": [
        "tripadvisor",
        "google-maps",
        "expedia",
        "agoda",
        "booking-com",
        "trip-com",
        "despegar",
        "zoover",
        "airbnb",
    ],
    "maxReviewsPerSource": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("zaiq/hotel-reviews-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "hotelUrls": [
    "https://www.tripadvisor.com/Hotel_Review-g187497-d190635-Reviews-Hotel_Arts_Barcelona-Barcelona_Catalonia.html https://www.trip.com/hotels/barcelona-hotel-detail-2192934/hotel-arts-barcelona/ https://www.expedia.com/Barcelona-Hotels-Hotel-Arts-Barcelona.h3780.Hotel-Information"
  ],
  "hotelNames": [
    "The Plaza New York"
  ],
  "sources": [
    "tripadvisor",
    "google-maps",
    "expedia",
    "agoda",
    "booking-com",
    "trip-com",
    "despegar",
    "zoover",
    "airbnb"
  ],
  "maxReviewsPerSource": 10
}' |
apify call zaiq/hotel-reviews-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,zaiq/hotel-reviews-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/nNEC6YxzL8AKVslUO/builds/OtOJdfrdjH9K0GevN/openapi.json
