# Tripadvisor Scraper (`dami_studio/tripadvisor-scraper`) Actor

Tripadvisor scraper and API for hotels, restaurants and things to do. Search a city or paste Tripadvisor links; get each place's rating, review count, ranking, price level, hotel class, hotel prices for your dates, cuisines, address and map position. $0.42 per 1,000 places.

- **URL**: https://apify.com/dami_studio/tripadvisor-scraper.md
- **Developed by:** [Dami's Studio](https://apify.com/dami_studio) (community)
- **Categories:** Travel
- **Features:** Limited permissions, Multi-tenant, Server interface
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.42 / 1,000 places

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

**Type a city into Tripadvisor Scraper, or paste Tripadvisor links, and get one row per hotel, restaurant or thing to do**: rating, review count, ranking, price level, hotel class, hotel prices for your dates, cuisines, opening hours, address and map position. Places come in Tripadvisor's own order, 30 to a page, and your filters are checked on every row before it is charged. Tick Place details and it also opens each place's own page for the address of things to do, every place's ranking and a description, which costs a little more.

| | |
|---|---|
| **Input** | Place names (Paris, Rome Italy, Bali), or Tripadvisor list, city and place links |
| **Output** | One row per place: name, rating, review count, ranking, price level, hotel class, nightly price, cuisines, address, latitude and longitude |
| **Ceiling** | 3,000 places of each kind for every place searched, 100,000 in a run |
| **Speed** | 60 to 90 places in about 6 seconds. Place details add 1 to 3 seconds a place |
| **Account needed** | None from you |
| **Price** | $0.42 per 1,000 places, the same on every plan. Place details add $0.10 per 1,000. The free plan's $5 a month covers about 11,900 places |

| Using an AI agent? | |
|---|---|
| Actor | `dami_studio/tripadvisor-scraper` |
| Set one field | `locations`, labelled "Places to search" in the Console |
| Cap the bill | `maxTotalChargeUsd` on the run, for example `0.10`: it never charges past that |
| MCP, one link | `https://mcp.apify.com/?tools=fetch-actor-details,dami_studio/tripadvisor-scraper` |
| How often | Monthly, to follow a city's rankings, ratings and hotel prices over time |

### 🔍 What Tripadvisor Scraper does

It reads the lists Tripadvisor shows a visitor for a place: hotels, restaurants and things to do. Give it "Lisbon" and it finds Lisbon on Tripadvisor, then reads each list page by page until it has as many places as you asked for. Give it a list link instead, say Rome's restaurants, and it reads that one list. A place's own link gives that place.

Hotels come with the lowest nightly price Tripadvisor finds across booking sites, the site offering it and how many sites offer the room. Set check-in and check-out dates and the prices are for those nights; leave them empty and each row says which nights Tripadvisor priced.

### 📋 What data you get from each Tripadvisor place

| You'd call it | Field |
|---|---|
| What and where | `placeType`, `name`, `url`, `locationId`, `category`, `subcategories` |
| Rating and standing | `rating`, `reviewCount`, `rankingPosition`, `rankingText`, `award` |
| Price | `priceLevel`, `lowestPrice`, `priceCurrency`, `priceProvider`, `offerCount`, `checkIn`, `checkOut` |
| Hotels | `hotelClass`, `amenities` |
| Restaurants | `cuisines`, `openHours`, `menuUrl` |
| Address and map | `address`, `street`, `city`, `postalCode`, `country`, `latitude`, `longitude`, `neighborhood`, `geoId`, `geoName` |
| Photo and text | `imageUrl`, `description` |
| Where the row came from | `position`, `searchInput`, `isSponsored`, `scrapedAt` |

### ▶️ How to scrape Tripadvisor places

1. Open [Tripadvisor Scraper](https://apify.com/dami_studio/tripadvisor-scraper) and click **Try for free**.
2. In **Places to search**, type one place per line, for example `Lisbon`. Or paste links into **Tripadvisor links**.
3. Under **What to get for each place searched**, keep hotels, restaurants and things to do, or untick what you don't need.
4. Set **Places of each kind, per search**. 30 is one page.
5. Click **Start**, then open the **Output** tab or export to CSV, Excel or JSON.

Run it with nothing filled in and you get one free sample row that shows the shape.

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

$0.42 per 1,000 places, the same on every plan. Place details, when you tick them, add $0.10 per 1,000 places whose page was read. The free plan's $5 a month covers about 11,900 places.

Not charged: the sample row, the free note rows, a place that turns up twice, sponsored places you didn't ask for, and places your filters leave out.

Calls to this actor's Standby URL also pay the **Request** event, once per answered call. Runs from the input form, API or MCP never pay it, nor does a call the site didn't answer.

### 📥 What you give it

| Field | Default | What it does |
|---|---|---|
| `locations` | none (prefilled with Paris) | Place names, Tripadvisor's first match for each |
| `startUrls` | none | Hotels, restaurants or things-to-do lists, city pages, place pages, or an id like `g187147` |
| `placeTypes` | hotels, restaurants, attractions | Which lists to read for each place searched |
| `maxPlacesPerType` | 30 | Places of each kind per place searched or list pasted, up to 3,000 |
| `maxItems` | 0 | Total for the run; 0 means no total |
| `minRating` | `any` | Leave out places rated below 3, 3.5, 4 or 4.5 |
| `hotelClasses` | none | Keep only hotels of these classes, 1 to 5 stars |
| `restaurantPrices` | none | Keep only restaurants that are `cheap`, `mid` or `fine` |
| `cuisines` | none | Keep only restaurants listing one of these cuisines, such as `Italian` |
| `includeDetails` | `false` | Open each place's page to fill address, map position, ranking and description where lists leave them empty |
| `includeSponsored` | `false` | Keep the paid placements Tripadvisor puts at the top of a page |
| `checkIn`, `checkOut` | none | Hotel prices for these nights, as `YYYY-MM-DD`, up to 30 nights |

```json
{
  "locations": ["Lisbon"],
  "placeTypes": ["hotels", "restaurants"],
  "maxPlacesPerType": 50,
  "minRating": "4",
  "checkIn": "2027-03-12",
  "checkOut": "2027-03-14"
}
```

### 📤 What you get back

A restaurant row from a real run on 12 November 2026, with Place details on, trimmed:

```json
{
  "recordType": "place",
  "placeType": "restaurant",
  "locationId": 716359,
  "name": "Pierluigi",
  "url": "https://www.tripadvisor.com/Restaurant_Review-g187791-d716359-Reviews-Pierluigi-Rome_Lazio.html",
  "rating": 3.7,
  "reviewCount": 2362,
  "rankingPosition": 2910,
  "rankingText": "#2,910 of 15,937 Restaurants in Rome",
  "cuisines": ["Italian", "Seafood", "Mediterranean", "European"],
  "priceLevel": "$$$$",
  "address": "Piazza de Ricci, 144, 00186 Rome Italy",
  "city": "Rome",
  "country": "Italy",
  "latitude": 41.896793,
  "longitude": 12.468684,
  "openHours": { "monday": ["12:00-14:30", "19:00-23:30"] },
  "menuUrl": "https://www.pierluigi.it/menus/",
  "position": 1,
  "searchInput": "Rome"
}
```

| Field | Read it as |
|---|---|
| `lowestPrice` | A number. Hotels: the lowest nightly rate for the stay in `checkIn` and `checkOut`. Things to do: what tickets start from. Empty when nothing is offered |
| `rankingPosition` | Tripadvisor's rank in that city; hotels always have it, others with Place details |
| `hotelClass` | Stars, empty when Tripadvisor shows no class |
| `openHours` | Day by day, each day a list of opening spans |
| `imageUrl` | A link to the photo on Tripadvisor, not a copy |

### 🧾 Reading the output

Every row carries `recordType`. Real places say `place` and always have the same 40 fields, empty where Tripadvisor has nothing. The free sample row says `sample` and `_sample: true`. A free note row says `note`, with `ok: false`, `_diagnostic: true` and an `errorCode`:

| errorCode | Means |
|---|---|
| `BAD_INPUT` | A field couldn't be used; nothing was requested |
| `NOT_FOUND` | Tripadvisor has no such place or page |
| `NO_RESULTS` | The list is empty for that place |
| `FILTERED_OUT` | Places were read and none matched your filters |
| `PARTIAL` | Part of a list came back; `details` says how much |
| `NOT_SERVED`, `NETWORK` | Tripadvisor didn't give this to us this run; run it again later |
| `TIME_LIMIT`, `COST_LIMIT` | Your run's time or spending limit stopped it |
| `CHARGE_ERROR`, `UNEXPECTED_ERROR` | Something broke on our side; nothing past it was charged |

To keep only places, filter on `recordType` = `place`.

### 💡 What people use it for

- Building a list of every four-star hotel in a city with its nightly price for a trip's dates, before calling the hotels.
- Tracking where your restaurant or hotel ranks in its city, month after month, beside its neighbours.
- Pulling the top things to do in a dozen cities, with their map positions, for a travel guide or an app.
- Finding restaurants by cuisine and price level in a neighbourhood, with opening hours.

A recipe: run this with `includeDetails` on for a city, keep the rows above your rating line, then give their `url` column to Tripadvisor Reviews Scraper as `startUrls` to read what guests say about each one.

### 🚧 What it does not do

- No reviews. Those come from [Tripadvisor Reviews Scraper](https://apify.com/dami_studio/tripadvisor-reviews-scraper).
- No phone numbers or e-mail addresses.
- No booking: hotel prices are what Tripadvisor shows, for two adults in one room.
- It is not an official Tripadvisor tool. Dami's Studio is independent and is not affiliated with or endorsed by Tripadvisor, or by any other company named on this page.

### 🧭 Which Tripadvisor scraper do you need?

| If you want | Use |
|---|---|
| Hotels, restaurants and things to do in a place | This one |
| What guests wrote about a hotel, restaurant or attraction | [Tripadvisor Reviews Scraper](https://apify.com/dami_studio/tripadvisor-reviews-scraper) |
| Hotel rooms and prices on Booking.com | [Booking.com Hotel Scraper](https://apify.com/dami_studio/booking-hotels-scraper) |
| Hotel prices across booking sites from Google | [Google Hotels Scraper](https://apify.com/dami_studio/google-hotels-scraper) |
| Rentals on Airbnb | [Airbnb Listings Scraper](https://apify.com/dami_studio/airbnb-listings-scraper) |
| Any business on a map, with its details | [Google Maps Scraper](https://apify.com/dami_studio/google-maps-scraper) |

### ❓ Questions people ask

#### Do I need a Tripadvisor account to scrape places?

No. It reads what a signed-out visitor sees on Tripadvisor, and you don't need an account of your own.

#### Why do the numbers differ from what I see on Tripadvisor?

Prices move by the hour and with the dates, and Tripadvisor tunes what it shows to who is looking. Open the page in a private window, on the same dates, to see what a visitor without history sees.

#### Can I call it from code or an AI assistant?

Yes. The [API tab](https://apify.com/dami_studio/tripadvisor-scraper/api) has ready code, and an assistant can use it through `https://mcp.apify.com/?tools=fetch-actor-details,dami_studio/tripadvisor-scraper`. In Python:

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("dami_studio/tripadvisor-scraper").call(
    run_input={"locations": ["Lisbon"], "maxPlacesPerType": 30},
    max_total_charge_usd=0.10,
)
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    if row.get("ok") is False:
        continue
    print(row["placeType"], row["name"], row["rating"], row["reviewCount"])
```

#### Is scraping Tripadvisor legal?

It reads public pages the way a signed-out visitor sees them, with no account and nothing private. The rows hold no personal details, but the laws that apply to you and Tripadvisor's own terms still govern what you do with the data. Apify explains the ground rules in [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/). We are not lawyers.

### 🆘 If something breaks

Open an issue on the **Issues** tab with the run's link and the input you used. A note row's `errorCode` and `details` help us find it quickly.

# Actor input Schema

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

A city, region or country, typed the way you would on Tripadvisor: Paris, Rome Italy, Bali. The run takes Tripadvisor's first match for each, and the log says which place that was.

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

Paste a hotels, restaurants or things-to-do list, a city page, or one place's page, from any Tripadvisor country site. A list link reads only that list. A city page or an id such as g187147 reads every kind ticked below. A place's page gives that one place.

## `placeTypes` (type: `array`):

Hotels, restaurants, things to do, or any mix. Leave all three for everything.

## `maxPlacesPerType` (type: `integer`):

How many hotels, restaurants and things to do to return for each place searched or list pasted, in Tripadvisor's own order. 30 is one page.

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

Stops the whole run once this many places are delivered. 0 means no total.

## `minRating` (type: `string`):

Leave out places rated below this, on Tripadvisor's 5-bubble scale.

## `hotelClasses` (type: `array`):

Keep only hotels of these classes. A hotel Tripadvisor shows no class for is left out when this is set.

## `restaurantPrices` (type: `array`):

Keep only restaurants at these price levels: cheap eats ($), mid-range ($$ - $$$) or fine dining ($$$$).

## `cuisines` (type: `array`):

Keep only restaurants that list one of these cuisines, written as Tripadvisor names them: Italian, Japanese, Vegan, Seafood.

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

Also open each place's own page to fill what the lists leave empty: the address and map position of things to do, the ranking of restaurants and things to do, and a description where Tripadvisor has one. Slower, and billed as an extra per place whose page was read (see the Pricing tab).

## `includeSponsored` (type: `boolean`):

Tripadvisor puts a few paid placements at the top of each page. They are left out unless you tick this; when kept, isSponsored marks them.

## `checkIn` (type: `string`):

For hotel prices on your own dates. Without dates, hotels carry Tripadvisor's prices for its default stay, and checkIn and checkOut on each row say which nights those are.

## `checkOut` (type: `string`):

The morning you leave. Up to 30 nights after check-in.

## `proxyConfiguration` (type: `object`):

Optional. Leave as it is unless you want the run to go out through your own proxies.

## Actor input object example

```json
{
  "locations": [
    "Paris"
  ],
  "placeTypes": [
    "hotels",
    "restaurants",
    "attractions"
  ],
  "maxPlacesPerType": 30,
  "maxItems": 0,
  "minRating": "any",
  "includeDetails": false,
  "includeSponsored": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

One row per place. A search with nothing left after the filters, or a list cut short, writes one free row saying so.

# 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": [
        "Paris"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("dami_studio/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": ["Paris"] }

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

```

## MCP server setup

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