# Trip.com Reviews by Hotel ID

**Use case:** 

The numeric id is the number after hotel-detail- in any Trip.com hotel URL, and the fastest input. Four large hotels in Tokyo, Bangkok, Hong Kong and Dubai in one run, twenty-five newest reviews each, plus a free hotel row per property with stars, address, overall and sub-scores, review count and the languages its reviews come in. Cost: 100 review rows at $0.004 = at most $0.40 a run.

## Input

```json
{
  "startUrls": [],
  "hotelIds": [
    "993510",
    "107192874",
    "344924",
    "1551032"
  ],
  "maxReviewsPerHotel": 25,
  "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`).
