# TripAdvisor Hotels Scraper: City Hotels & Reviews (`luzivanlt/tripadvisor-hotels-scraper`) Actor

Every hotel in a TripAdvisor city, past the 180 a city page shows, or one row per review. $0.40 per 1,000 hotels or reviews. Name, address, rating, price level, phone, photo, link; optional reviews with text, date and hotel reply, plus website, amenities, rank. No login.

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

## Pricing

from $0.28 / 1,000 hotels

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

## TripAdvisor Hotels Scraper: City Hotels & Reviews

Every hotel a TripAdvisor city lists, saved as one row per hotel: name, address, coordinates, rating, review count, price level, phone, photo and link. A city page shows 180 hotels before it stops; this Actor reads the whole list, 1,050 entries for New York City. Turn on Traveler reviews to add the newest reviews with their text, dates and hotel replies, or Hotel details for website, amenities and city rank. No TripAdvisor account or cookies needed.

Tested daily. Check of 13 November 2026: 1,050 advertised New York City entries read, 1,049 hotels saved after 1 repeat, in 6.5 minutes with Traveler reviews on, 6,315 reviews saved and no review page missed. A list-only run of the same city takes 20 to 70 seconds.

### What does this Actor do?

You give it one or more TripAdvisor city hotel list links, or hotel links. It reads every hotel the list advertises, saves each hotel once, and stops when the list ends or your maximum is reached. New York City is the measured example: the city page shows 180 hotels in its own paging, while the list advertises 1,050 entries, and the Actor reads and saves every distinct hotel in it.

Each hotel comes with:

- Its name, full address, city, region, postal code and country.
- Coordinates, so you can map or sort by distance.
- Its traveler rating and how many reviews it has.
- The price level TripAdvisor prints, such as $$.
- Its phone number, main photo and TripAdvisor link.
- With Hotel details on: its own website, every amenity it publishes, and its rank among the city's hotels.
- With Traveler reviews on: its newest reviews, each with the rating, headline, full text, date, trip type and month of stay.
- Each review also carries the reviewer's name, home town and contribution count, subratings for value, rooms, location, cleanliness, service and sleep, any photos, the hotel's public reply and a link to the review.

### Why use it?

- **The whole city, not the first 180.** The site's own paging stops after six pages; the Actor keeps reading the list to its advertised count and names any gap in the final status.
- **One row per hotel.** A hotel that appears twice in the list is saved and charged once.
- **Fields you can use without another step.** Address, coordinates, rating, review count, price level, phone, photo and link are on every row.
- **Reviews for the trip, not just a score.** Turn on Traveler reviews to read what guests actually wrote, with the date, trip type, subratings and the hotel's reply, so you can judge a hotel rather than sort by stars.
- **Optional depth.** Turn on Hotel details for the website, amenities and city rank, and pay only for the hotels that answer.
- **Cheaper per 1,000 than memo23 and maxcopell on free and Gold.** $0.40 per 1,000 hotels, $0.28 on Gold, against memo23 $0.45 flat and maxcopell $5.00 free / $2.00 Gold; $0.40 per 1,000 reviews, $0.28 on Gold, against memo23 $1.00 for extra review data and maxcopell $5.00 free / $0.90 Gold. Prices read from the Apify Store on 13 November 2026.
- **Export as JSON, CSV or Excel, or through Apify's API.**

### How to use it

1. Paste one or more TripAdvisor city hotel list links into **City or hotel links**, one per line.
2. Turn on **Traveler reviews** if you need the review text, and set **Reviews per hotel** to how deep you want to go.
3. Turn on **Hotel details** only if you need websites, amenities and city rank. It is charged separately.
4. Leave **Maximum hotels in the run** at 2,000, or lower it for a smaller bill.

A run with no input uses New York City as the sample. It saves about 1,000 hotels and finishes in a few minutes.

#### Links that work

```
https://www.tripadvisor.com/Hotels-g60763-New_York_City_New_York-Hotels.html
https://www.tripadvisor.com/Hotel_Review-g60763-d113300-Reviews-Omni_Berkshire_Place-New_York_City_New_York.html
```

A city link may carry the site's own filters, such as a neighbourhood or price band. A link that is not a TripAdvisor city hotel list or hotel stops the run before anything is read, naming the line.

### Input

| **Title** (`key`) | What it does | Default |
| --- | --- | --- |
| **City or hotel links** (`startUrls`) | Up to 20 TripAdvisor city or area hotel list links, or hotel links, one per line. A city link reads every hotel the list advertises; a hotel link returns that hotel. A link listed twice is read once. | New York City |
| **Hotel details** (`includeDetails`) | Adds each hotel's website, amenities and city rank. Charged separately at $0.80 per 1,000 hotels. | Off |
| **Traveler reviews** (`includeReviews`) | Adds each hotel's newest reviews with text, dates, reviewer details, subratings and hotel replies. Charged separately at $0.40 per 1,000 reviews. | Off |
| **Reviews per hotel** (`maxReviewsPerHotel`) | How many of each hotel's newest reviews to keep, 1 to 200. | 10 |
| **Hotel rows** (`includeHotelRow`) | On saves one row per hotel with its reviews nested inside. Off saves one row per review instead, with the hotel's id, name, link, rating and review count beside the review's own fields, so the dataset is a review list. Off needs **Traveler reviews** on and **Hotel details** off, and **Maximum items** then counts reviews. | On |
| **Maximum hotels in the run** (`maxItems`) | A hard cap across every link, 10 to 50,000. The run stops here and the final status says it was capped. | 2,000 |

A run needs at least one link unless you leave the whole form untouched, which runs the sample. Example input:

```json
{
  "startUrls": [
    "https://www.tripadvisor.com/Hotels-g60763-New_York_City_New_York-Hotels.html"
  ],
  "includeDetails": false,
  "includeReviews": true,
  "maxReviewsPerHotel": 20,
  "maxItems": 2000
}
```

### Output

One row per hotel. Reviews sit inside the hotel row, newest first.

With **Hotel rows** off you get one row per review instead, shown under the
**Review rows** view. That row is the flattened review with the hotel it belongs
to, which is the shape a review table wants:

```json
{
  "hotel_id": "113300",
  "hotel_name": "Omni Berkshire Place",
  "hotel_url": "https://www.tripadvisor.com/Hotel_Review-g60763-d113300-Reviews-Omni_Berkshire_Place-New_York_City_New_York.html",
  "hotel_rating": 4.4,
  "hotel_review_count": 5254,
  "review_id": "1085045817",
  "rating": 5,
  "title": "Very smooth and comfortable",
  "text": "This hotel is excellent. The location is phenomenal and the staff could not be more helpful.",
  "language": "en",
  "published": "2026-11-10",
  "trip_type": "BUSINESS",
  "stay_date": "2026-11",
  "reviewer_name": "A Traveler",
  "helpful_votes": 3,
  "review_url": "https://www.tripadvisor.com/ShowUserReviews-g60763-d113300-r1085045817"
}
```

A hotel row, shortened:

```json
{
  "hotel_id": "113300",
  "name": "Omni Berkshire Place",
  "url": "https://www.tripadvisor.com/Hotel_Review-g60763-d113300-Reviews-Omni_Berkshire_Place-New_York_City_New_York.html",
  "rating": 4.4,
  "review_count": 5254,
  "review_total": 4977,
  "reviews_saved": 2,
  "reviews": [
    {
      "review_id": "1085045817",
      "rating": 5,
      "title": "Very smooth and comfortable",
      "text": "This hotel is excellent. The location is phenomenal and the staff could not be more helpful.",
      "language": "en",
      "published": "2026-11-10",
      "trip_type": "BUSINESS",
      "stay_date": "2026-11",
      "helpful_votes": 0,
      "reviewer_name": "Jane D.",
      "reviewer_username": "janedoe",
      "reviewer_hometown": "Boston",
      "reviewer_contributions": 42,
      "subratings": {
        "value": 3,
        "rooms": 4,
        "location": 5,
        "cleanliness": 5,
        "service": 5,
        "sleep quality": 4
      },
      "owner_response": {
        "text": "Thank you for staying with us; we are glad the team made the difference.",
        "published": "2026-11-11"
      },
      "photos": [
        "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/example.jpg"
      ],
      "review_url": "https://www.tripadvisor.com/ShowUserReviews-g60763-d113300-r1085045817"
    }
  ],
  "price_range": "$$",
  "phone": "1 (212) 753-5800",
  "address": "21 E 52nd St, New York City, New York, 10022, United States",
  "street_address": "21 E 52nd St",
  "city": "New York City",
  "region": "New York",
  "postal_code": "10022",
  "country": "United States",
  "latitude": 40.75946,
  "longitude": -73.974884,
  "image_url": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/example.jpg",
  "website": "https://www.omnihotels.com/hotels/new-york-berkshire",
  "amenities": ["Valet parking", "Free High Speed Internet (WiFi)", "Fitness Center with Gym / Workout Room"],
  "amenity_count": 3,
  "ranking": 172,
  "ranking_total": 530,
  "ranking_area": "New York City",
  "ranking_category": "hotels",
  "search_url": "https://www.tripadvisor.com/Hotels-g60763-New_York_City_New_York-Hotels.html",
  "scraped_at": "2026-11-13T08:00:00.000Z"
}
```

| Field | What it holds |
| --- | --- |
| `hotel_id` | TripAdvisor's own id for the hotel; the key for de-duplicating runs. |
| `name` | The hotel's name as TripAdvisor writes it. |
| `url` | Link to the hotel's TripAdvisor page. |
| `rating` | Average traveler rating, 1 to 5, to one decimal. |
| `review_count` | How many traveler reviews the hotel has. |
| `review_total` | How many reviews the hotel's review list holds; empty unless Traveler reviews is on. Can differ from `review_count`, which the site counts across languages. |
| `reviews_saved` | How many reviews this row carries; empty unless Traveler reviews is on. |
| `reviews` | The newest reviews for this hotel, up to Reviews per hotel; empty unless Traveler reviews is on. |
| `price_range` | The price band TripAdvisor prints, such as $$. |
| `phone` | The hotel's phone number as published. |
| `address` | The full address in one line. |
| `street_address` | Street and number. |
| `city` | The city the hotel is in. |
| `region` | The state, province or region. |
| `postal_code` | The postal code. |
| `country` | The country. |
| `latitude` | Latitude of the hotel. |
| `longitude` | Longitude of the hotel. |
| `image_url` | Link to the hotel's main photo. |
| `website` | The hotel's own website; filled with Hotel details on. |
| `amenities` | Amenities the hotel publishes; filled with Hotel details on. |
| `amenity_count` | How many amenities the hotel publishes; 0 with Hotel details off. |
| `ranking` | The hotel's rank among hotels in its city; filled with Hotel details on. |
| `ranking_total` | How many hotels the city ranking covers; filled with Hotel details on. |
| `ranking_area` | The city or area the ranking is for; filled with Hotel details on. |
| `ranking_category` | The category the rank covers, such as hotels or B\&Bs / inns; filled with Hotel details on. |
| `search_url` | The city list or hotel link this row came from. |
| `scraped_at` | When the row was saved, ISO 8601. |

Each object in `reviews` holds:

| Field | What it holds |
| --- | --- |
| `review_id` | TripAdvisor's id for the review; unique within a hotel. |
| `rating` | The reviewer's rating, 1 to 5. |
| `title` | The review headline as written. |
| `text` | The full review text; empty when the guest rated without writing. |
| `language` | The language the review was served in, such as en. |
| `published` | The date the review was posted, YYYY-MM-DD. |
| `trip_type` | Who traveled, such as BUSINESS, COUPLES, FAMILY, FRIENDS or SOLO; empty when the guest did not say. |
| `stay_date` | The year and month of the stay, YYYY-MM; empty when the guest did not say. |
| `helpful_votes` | How many readers marked the review helpful. |
| `reviewer_name` | The reviewer's display name. |
| `reviewer_username` | The reviewer's profile handle. |
| `reviewer_hometown` | The home town on the reviewer's profile; empty when the profile has none. |
| `reviewer_contributions` | How many contributions the reviewer has in total. |
| `subratings` | Scores from 1 to 5 for value, rooms, location, cleanliness, service and sleep quality; empty when the guest gave none. |
| `owner_response` | The hotel's public reply as text and published date; empty when the hotel did not reply. |
| `photos` | Links to photos attached to the review, 800 by 600; empty when there are none. |
| `review_url` | Link to the review on TripAdvisor. |

Some fields can be empty because TripAdvisor does not publish them for every hotel. In New York, about 26% of list rows have no rating, 27% no phone, 32% no photo and 47% no price level; with Hotel details on, the photo comes from the hotel's own page and about 78% of hotels publish no website and 41% no amenities. Website, amenities and ranking are empty unless Hotel details is on. Reviews, review totals and reviewer details are empty unless Traveler reviews is on, and a review without a written text still carries its rating.

### How much does it cost?

You pay for what you get:

- **$0.40 per 1,000 hotels.** Charged once per hotel saved to your results. A hotel found twice in a run is charged once.
- **$0.0032 per hotel link.** Charged once per hotel link read. A city list link is free, and a link that cannot be read is not charged.
- **$0.80 per 1,000 hotels with details.** Charged once per hotel enriched with its website, amenities and city rank, only when **Hotel details** is on and the page answers.
- **$0.40 per 1,000 reviews.** Charged once per review saved, only when **Traveler reviews** is on. A hotel with fewer reviews, or none, saves and charges fewer.
- **Nothing for a hotel row you do not get.** With **Hotel rows** off the run charges reviews only: no hotel event, because there is no hotel row, and no detail event, because a review row carries no detail field. A 100-review run therefore costs $0.04 plus the link.

A run of one city list that saves 1,000 New York hotels costs $0.40. A measured New York run with Traveler reviews on saved 1,049 hotels and 6,315 reviews for $2.95: $0.42 for the hotels and $2.53 for the reviews. The same 1,049 hotels with Hotel details on as well costs $3.78. One hotel link costs $0.0032 and includes its details.

Price per 1,000, next to `memo23` and `maxcopell`:

| Per 1,000 | This Actor | `memo23` | `maxcopell` |
| --- | ---: | ---: | ---: |
| Hotels | **$0.40 free, $0.28 Gold** | $0.45 | $5.00 free, $2.00 Gold |
| Traveler reviews | **$0.40 free, $0.28 Gold** | $1.00 for extra review data | $5.00 free, $0.90 Gold |

Prices read from the Apify Store on 13 November 2026. `maxcopell` sells hotels and reviews in two Actors, and its hotel row charges photos separately.

Bronze plans pay 10% less, Silver 20% less and Gold 30% less.

### How long does a run take?

About 1,050 hotels in 20 to 70 seconds, depending on the day. With Hotel details on, 6 to 10 minutes, because each hotel's own page is read. With Traveler reviews at 10 per hotel, about 6 to 7 minutes for a city that size on a normal day, and 16 minutes on a slow day measured on 13 November 2026; each extra 10 reviews per hotel adds about one more page read per hotel, roughly another 6 minutes. With **Hotel rows** off, a review-only run is much faster: 200 reviews from 20 hotels in about 11 seconds, because the rows are reviews rather than hotels.

### Good to know

- **The city's advertised count is the target.** New York advertises 1,050 entries and the Actor reads all 1,050. A hotel that appears twice in the list is saved and charged once; how many repeat varies between runs, and the final status names how many it dropped.
- **A small place can list nearby hotels.** Some city pages have no count of their own and include hotels from surrounding towns; the Actor reads them all and names the area it found.
- **The price level is the site's symbol, not a currency conversion.** A New York hotel can show €€ where the detail page shows $$.
- **Hotel star class is not returned.** TripAdvisor does not publish it with the hotel data on these pages.
- **Reviews are newest first, up to your per-hotel limit.** A hotel with more reviews than the limit saves only the newest ones; `review_total` says how many exist. Only saved reviews are charged.
- **A review row carries no hotel details.** With **Hotel rows** off each row is one review with the hotel's id, name, link, rating and review count; the website, amenities, rank, address and phone stay on a hotel row, so the two options cannot be combined.
- **Some reviews have no written text.** A guest can leave a rating alone; that review saves with an empty `text` and still carries its rating and date.
- **At most 20 links per run.** A link that is not a TripAdvisor city hotel list or hotel stops the run before anything is read.
- **Daily runs:** keep the same city links and compare `hotel_id` across runs to see hotels added or removed, and `review_id` to find new reviews.

### FAQ

**Does it return restaurants or attractions?**
No. This Actor covers hotels, including inns, B\&Bs and other places to stay that appear in a city's hotel list.

**Why do I sometimes get fewer rows than the count says?**
The list counts entries, not distinct hotels. A hotel can appear on two pages; it is saved once, and the final status says how many repeats it dropped.

**Can I get the review text?**
Yes. Turn on **Traveler reviews**; each hotel saves its newest reviews with the text, rating, date, trip type, reviewer details, subratings and the hotel's reply, up to the per-hotel limit you set.

**How far back do the reviews go?**
As far back as your per-hotel limit reaches: 10 reviews reach the newest page, 200 reach much further back. The Actor always starts from the newest and stops at your limit.

**Do I need a TripAdvisor account?**
No. There is no login and no cookie to paste.

**Can I run several cities in one run?**
Yes, up to 20 city or hotel links. Each hotel is saved once even when two lists overlap.

# Actor input Schema

## `startUrls` (type: `array`):

Up to 20 TripAdvisor city or area hotel list links, or hotel links, one per line, such as https://www.tripadvisor.com/Hotels-g60763-New_York_City_New_York-Hotels.html. A city link reads every hotel the list advertises, not only the first pages. A hotel link returns that hotel. A link that is not TripAdvisor stops the run before anything is read. A link listed twice is read once.

## `includeDetails` (type: `boolean`):

Add each hotel's website, amenities and city rank. Charged separately at $0.80 per 1,000 hotels enriched. Off by default: the list row already carries name, address, rating, review count, price level, phone, photo and coordinates.

## `includeReviews` (type: `boolean`):

Add each hotel's newest traveler reviews with rating, title, text, date, trip type, reviewer name and home town, subratings, photos and the hotel's reply. Charged separately at $0.40 per 1,000 reviews saved; a hotel with no reviews adds nothing. Slower than hotels alone.

## `maxReviewsPerHotel` (type: `integer`):

How many of each hotel's newest reviews to keep, 1 to 200. The default of 10 keeps a city run fast; raise it when you need deeper history. A hotel with fewer reviews saves and charges fewer.

## `includeHotelRow` (type: `boolean`):

On saves one row per hotel, with its reviews nested inside. Off saves one row per review instead: the hotel's id, name, link, rating and review count, plus that review's own fields at the top level, so a review list is the dataset. Off needs Traveler reviews on and Hotel details off, and Maximum items then counts reviews. Off charges the review event only, at $0.40 per 1,000 reviews; the hotel event is not charged because there is no hotel row.

## `maxItems` (type: `integer`):

A hard cap across every link in the run, 10 to 50,000. A city with more hotels stops here and the final status says it was capped. Leave it high enough for the city you pass in: New York advertises 1,050 entries and saves about 1,000 distinct hotels.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.tripadvisor.com/Hotels-g60763-New_York_City_New_York-Hotels.html"
  ],
  "includeDetails": false,
  "includeReviews": false,
  "maxReviewsPerHotel": 10,
  "includeHotelRow": true,
  "maxItems": 2000
}
```

# Actor output Schema

## `hotels` (type: `string`):

One row per distinct hotel in the default dataset; open the link for the overview view.

# 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 = {
    "startUrls": [
        "https://www.tripadvisor.com/Hotels-g60763-New_York_City_New_York-Hotels.html"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("luzivanlt/tripadvisor-hotels-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 = { "startUrls": ["https://www.tripadvisor.com/Hotels-g60763-New_York_City_New_York-Hotels.html"] }

# Run the Actor and wait for it to finish
run = client.actor("luzivanlt/tripadvisor-hotels-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 '{
  "startUrls": [
    "https://www.tripadvisor.com/Hotels-g60763-New_York_City_New_York-Hotels.html"
  ]
}' |
apify call luzivanlt/tripadvisor-hotels-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,luzivanlt/tripadvisor-hotels-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/mDMG9a8jWdyI7Gnou/builds/DTvBkXH4MffryUVo2/openapi.json
