# Trip.com Reviews by Hotel URL: the Quick Start

**Use case:** 

The default run, unchanged: one Trip.com hotel page as pasted from the browser - the numeric id is read from the URL, so no page has to be loaded - and its fifty newest reviews, plus a free hotel row with name, stars, address, scores, review count and the languages the reviews come in. This Lisbon hotel returned nine languages in one run. Cost: 50 review rows at $0.004 = at most $0.20 a run.

## Input

```json
{
  "startUrls": [
    "https://www.trip.com/hotels/lisbon-hotel-detail-2561632/valverde-hotel/"
  ],
  "hotelIds": [],
  "maxReviewsPerHotel": 50,
  "reviewsSort": "most_recent",
  "languages": [],
  "maxRating": 0,
  "requireText": false,
  "locale": "en-US",
  "includeHotelRow": true,
  "sessions": 4,
  "perIp": 1,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "type": {
    "label": "Type",
    "format": "string"
  },
  "hotel_id": {
    "label": "Hotel id",
    "format": "string"
  },
  "hotel_name": {
    "label": "Hotel name",
    "format": "string"
  },
  "rating": {
    "label": "Rating",
    "format": "number"
  },
  "rating_text": {
    "label": "Rating text",
    "format": "string"
  },
  "text": {
    "label": "Text",
    "format": "string"
  },
  "language": {
    "label": "Language",
    "format": "string"
  },
  "review_date": {
    "label": "Review date",
    "format": "string"
  },
  "travel_type": {
    "label": "Travel type",
    "format": "string"
  },
  "reviewer_country": {
    "label": "Reviewer country",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "error": {
    "label": "Error",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Trip.com Reviews Scraper — Hotel Guest Reviews & Ratings](https://apify.com/kestrel/trip-com-reviews-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/kestrel/trip-com-reviews-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/kestrel/trip-com-reviews-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`).
