# Tripadvisor Scraper - Hotels, Restaurants & Reviews (`extraordinary_grasshopper/tripadvisor-scraper`) Actor

Scrape Tripadvisor hotels, restaurants and things to do for any city, with ratings, rankings, prices, contacts, amenities, hours and reviews. No browser, pay per result.

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

## Pricing

from $3.00 / 1,000 place from a lists

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 Scraper

Scrape **Tripadvisor hotels, restaurants, things to do and reviews** for any city, region or country. Get ratings, rankings, prices, addresses, phone numbers, coordinates, amenities, opening hours, menus, awards and full review text. No browser and no proxy setup are needed, and you **pay only for the results you get**.

### What can this Tripadvisor scraper do?

- 🏨 **Hotels** of a destination: rating, review count, ranking ("#10 of 1,204 hotels in Hanoi"), hotel class, property type, typical nightly price, sponsored offers, amenities, address, phone, coordinates, AI summary and photo.
- 🍜 **Restaurants**: price level, cuisines, open-now status, weekly hours, menu / reservation / delivery flags, address, phone and review snippets.
- 🎡 **Things to do**: attractions, tours and activities with ranking, categories, neighborhood, awards, description and ticket price text.
- 📋 **Full place details**: website, email, phone, subratings, rating distribution, amenities, room count, hours, menu, highlights, how to get there, photos and an AI review summary.
- 💬 **Reviews**: full text, rating, published and visit date, trip type, helpful votes, language and translation flag, subratings, photos, author and owner response. Filter by language, star rating, trip type or keyword.
- 🌍 Works with **city names** ("Paris"), **Tripadvisor URLs** from any country domain, or **ids**.

### How much does it cost to scrape Tripadvisor?

This Actor uses **pay per event** pricing, so you pay only for results:

| Event | Price |
|---|---|
| Place from a hotel / restaurant / things-to-do list | $0.003 ($3 per 1,000) |
| Place with full details (instead of the list price) | $0.0035 ($3.50 per 1,000) |
| Review | $0.0025 ($2.50 per 1,000) |

Inputs that fail are reported in the dataset **for free**. Set a maximum cost per run in the run options, and the Actor will stop when it reaches the limit.

### How to use it

1. Enter one or more **locations** (city names, destination URLs or geo ids) and tick **hotels**, **restaurants** and/or **things to do**, or paste **place URLs / ids** of specific places.
2. Choose how many places you want per location, and turn on **full details** and **reviews** if you need them.
3. Click **Start**, then download your data as JSON, CSV, Excel or HTML, or get it through the API.

### Input example

```json
{
    "locations": ["Hanoi", "https://www.tripadvisor.com/Tourism-g187147-Paris_Ile_de_France-Vacations.html"],
    "scrapeHotels": true,
    "scrapeRestaurants": true,
    "maxPlacesPerLocation": 50,
    "placeUrls": ["https://www.tripadvisor.com/Attraction_Review-g187147-d188151-Reviews-Eiffel_Tower-Paris_Ile_de_France.html"],
    "includeDetails": false,
    "includeReviews": true,
    "maxReviewsPerPlace": 100,
    "reviewsLanguage": "en",
    "reviewRatings": ["1", "2"]
}
```

### Output example

A hotel from a list (`"type": "hotel"`, some fields shortened):

```json
{
    "type": "hotel",
    "searchLocation": "Hanoi",
    "locationId": "293924",
    "locationName": "Hanoi",
    "page": 1,
    "id": "13507503",
    "name": "JM Marvel Hotel & Spa",
    "url": "https://www.tripadvisor.com/Hotel_Review-g293924-d13507503-Reviews-JM_Marvel_Hotel_Spa-Hanoi.html",
    "is_sponsored": true,
    "rating": 5,
    "reviews_count": 3841,
    "ranking": { "text": "#10 of 1,204 hotels in Hanoi", "rank": 10, "out_of": 1204 },
    "star_rating": 4,
    "property_type": "Hotel",
    "award": { "year": 2026, "type": "best_of_the_best", "name": "Travelers' Choice Best of the Best" },
    "price_from_usd": 91,
    "offer": { "price": 81.71, "price_text": "$86", "currency": "USD", "pricing": "BASE_PLUS_FEES", "provider": "Official Site" },
    "special_offer": "30% off room rate",
    "labels": ["Breakfast included"],
    "address": "16 Hang Da Street, Hanoi 100000 Vietnam",
    "postal_code": "100000",
    "country": "Vietnam",
    "phone": "+84 24 3823 8855",
    "latitude": 21.03112,
    "longitude": 105.846634,
    "amenities": ["Spa", "Restaurant", "Bar/Lounge", "Air conditioning"],
    "rankingText": "#10 of 1,204 hotels in Hanoi"
}
```

A review (`"type": "review"`):

```json
{
    "type": "review",
    "placeId": "188151",
    "placeName": "Eiffel Tower",
    "placeType": "attraction",
    "id": "1085390798",
    "url": "https://www.tripadvisor.com/ShowUserReviews-g187147-d188151-r1085390798-Eiffel_Tower-Paris_Ile_de_France.html",
    "title": "Truly unforgettable🥐",
    "text": "Every visit feels like the first time.The elegance and beauty of the tower are simply beyond description.",
    "rating": 5,
    "published_date": "2026-11-13",
    "visit_date": "2026-11",
    "trip_type": "couples",
    "language": "en",
    "author": { "name": "Dilnaz", "username": "283dilnazm", "location": "Astana, Kazakhstan", "contributions": 333 },
    "owner_response": null,
    "authorName": "Dilnaz",
    "scrapedAt": "2026-11-15T06:48:18.958Z"
}
```

Place details items add fields such as `description`, `website`, `email`, `phone`, `subratings`, `rating_distribution`, `amenities`, `hours`, `menu`, `highlights`, `getting_there`, `photos`, `review_summary` and `reviews_preview` (the 10 latest reviews).

### Tips

- List results already include rating, ranking, price, address, phone and coordinates. Turn on **full details** only when you need the website, email, amenities, hours or menus.
- Use the **star rating** filter (1 and 2) to collect complaints, or a **keyword** such as "breakfast" to study one topic.
- Reviews in **"en"** include machine-translated reviews (flagged with `translation`); use **"all"** to get every review in its original language.
- Schedule the Actor to track rankings and new reviews over time, or connect it to Google Sheets, Make, Zapier or a webhook.

### Is it legal to scrape Tripadvisor?

This Actor collects only public information that any visitor can see on Tripadvisor. It doesn't log in. Reviews contain public author names; handle personal data in line with GDPR and the laws that apply to you, and use the data in line with Tripadvisor's terms.

### Need another field or a custom feed?

Open an issue on the **Issues** tab. We usually reply within a day.

# Actor input Schema

## `locations` (type: `array`):

Destinations to list places from: a name (Paris, Bali, New York City), a Tripadvisor destination URL or its geo id (the number after -g in the URL). One per line.

## `scrapeHotels` (type: `boolean`):

List the hotels of each location.

## `scrapeRestaurants` (type: `boolean`):

List the restaurants of each location.

## `scrapeAttractions` (type: `boolean`):

List the attractions, tours and activities of each location.

## `maxPlacesPerLocation` (type: `integer`):

Stops paging once this many hotels / restaurants / attractions are collected for a location (30 per page).

## `placeUrls` (type: `array`):

Specific hotels, restaurants, attractions or tours: a Tripadvisor URL (any country domain) or the location id (the number after -d in the URL). You get their full details, and their reviews when reviews are turned on.

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

Opens every place for its full page: contact info, website, subratings, rating distribution, amenities, hours, menu, awards, photos and an AI review summary. Charged as place details instead of a list place.

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

Scrapes the reviews of every place (one dataset item per review).

## `maxReviewsPerPlace` (type: `integer`):

Most recent reviews first by default.

## `reviewsLanguage` (type: `string`):

2-letter code (en, fr, de, es, it, ja, pt, ru, zh-CN...). "en" includes reviews machine-translated to English; "all" returns every review in its original language.

## `reviewsSort` (type: `string`):

Order in which reviews are collected.

## `reviewRatings` (type: `array`):

Ratings from 1 to 5, one per line, e.g. 1 and 2 for complaints. Empty = all ratings.

## `reviewTripTypes` (type: `array`):

family, couples, solo, business or friends, one per line. Empty = all trip types.

## `reviewKeyword` (type: `string`):

A word or phrase the review must contain, e.g. breakfast or parking. Optional.

## `hotelSort` (type: `string`):

Order of the hotel list.

## Actor input object example

```json
{
  "locations": [
    "Hanoi"
  ],
  "scrapeHotels": true,
  "scrapeRestaurants": false,
  "scrapeAttractions": false,
  "maxPlacesPerLocation": 10,
  "includeDetails": false,
  "includeReviews": false,
  "maxReviewsPerPlace": 20,
  "reviewsLanguage": "en",
  "reviewsSort": "most_recent",
  "hotelSort": "best_value"
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `reviews` (type: `string`):

No description

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

No description

# 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 = {
    "locations": [
        "Hanoi"
    ],
    "maxPlacesPerLocation": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("extraordinary_grasshopper/tripadvisor-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 = {
    "locations": ["Hanoi"],
    "maxPlacesPerLocation": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("extraordinary_grasshopper/tripadvisor-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 '{
  "locations": [
    "Hanoi"
  ],
  "maxPlacesPerLocation": 10
}' |
apify call extraordinary_grasshopper/tripadvisor-scraper --silent --output-dataset

```

## MCP server setup

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