MCP + API · kestrel/trip-com-reviews-scraper

Trip.com Reviews Scraper — Ctrip Hotel Guest Reviews & Ratings

Trip.com and Ctrip (携程) hotel guest reviews by URL or id. One row per review: 0-10 rating, 4 sub-scores, text, stay date, room, travel type, reviewer country, photos, hotel reply, source. Free hotel row: stars, address, scores. Filters before billing: language, max score (negative reviews). 酒店点评

Open Actor Download MCP config

Connect this tool

Add this URL as a remote MCP server in your client, then sign in to Apify. For a client-specific setup, use Apify's configurator.

https://mcp.apify.com?tools=call-actor,fetch-actor-details,kestrel/trip-com-reviews-scraper
Generic MCP client configuration
{
  "mcpServers": {
    "kestrel-trip-com-reviews-scraper": {
      "url": "https://mcp.apify.com?tools=call-actor,fetch-actor-details,kestrel/trip-com-reviews-scraper"
    }
  }
}

Understand the output before you run

One row per guest review (charged), plus a free hotel context row and a free status row per property.

Declared dataset fields and row types · Output locations and dataset links

Use the declared dataset schema for item fields; the output schema describes where results are stored. Optional fields may be null or absent. If an integration shows a sampled schema without an optional field, check this declaration, the Actor instructions and actual returned rows before concluding that the field is unsupported.

Inspect 50 declared output fields
FieldTypeMeaning
typestringRow type: review, hotel or status.
hotel_idstring / nullTrip.com's numeric hotel id.
hotel_namestring / nullHotel name, from the hotel page (hotel rows and, when the page was read, review rows).
urlstring / nullThe Trip.com hotel page, when the run was given one.
localestring / nullTrip.com locale the request used.
starsinteger / nullHotel rows: star class.
addressstring / nullHotel rows: street address.
citystring / nullHotel rows: city.
countrystring / nullHotel rows: country.
review_countinteger / nullHotel rows: how many reviews Trip.com shows for the property.
languagesarray / nullHotel rows: the languages the property's reviews come in, with Trip.com's id and count for each.
travel_typesarray / nullHotel rows: traveler types with review counts.
reviews_fetchedinteger / nullHotel rows: how many reviews were taken for the property.
review_idstring / nullTrip.com's review id (stable; use it to dedupe scheduled runs).
ratingnumber / nullOverall score on Trip.com's 0-10 scale (hotel rows: the property's overall score).
rating_5number / nullThe same score on the 5-star scale.
rating_textstring / nullTrip.com's word for the score: Outstanding, Amazing, Great, Very good, Good…
rating_locationnumber / nullLocation sub-score (0-10).
rating_facilitynumber / nullAmenities sub-score (0-10).
rating_servicenumber / nullService sub-score (0-10).
rating_roomnumber / nullCleanliness sub-score (0-10).
textstring / nullThe review, in the language it was written in.
languagestring / nullLanguage code of the review text (en, zh, ja, fr…).
recommendboolean / nullWhether the guest recommends the hotel.
review_datestring / nullWhen the review was posted (ISO 8601).
check_instring / nullCheck-in date of the stay (YYYY-MM-DD).
room_typestring / nullRoom type booked.
room_idstring / nullTrip.com's room type id.
travel_typestring / nullCouple, Family, Business traveler, Solo traveler, Traveling with friends, Booked for others, Other.
travel_type_idinteger / nullTrip.com's id for the travel type.
reviewer_namestring / nullReviewer's display name.
reviewer_countrystring / nullReviewer's country or region.
reviewer_country_codestring / nullISO country code of the reviewer.
reviewer_reviewsinteger / nullHow many reviews the reviewer has written on Trip.com.
reviewer_levelstring / nullTrip.com reviewer grade (Rising review star, Review Specialist…).
helpful_votesinteger / nullHelpful votes the review received.
imagesarray / nullPhoto URLs attached to the review.
sourcestring / nullWhere the review came from: Trip.com, ctrip, Expedia Group verified review, Hotels.com verified review.
source_codeinteger / nullTrip.com's numeric source code.
responsestring / nullThe hotel's public reply, when it replied.
response_datestring / nullWhen the hotel replied.
targetstring / nullStatus rows: the input this row is about.
statusstring / nullStatus rows: ok, no_reviews or error.
reviewsinteger / nullStatus rows: review rows delivered for the property.
filteredinteger / nullStatus rows: reviews dropped by maxRating / requireText (never charged).
pagesinteger / nullStatus rows: review pages read.
totalinteger / nullStatus rows: how many reviews Trip.com shows for the property.
duplicatesinteger / nullStatus rows: 1 when this input pointed at a property already harvested in the run.
errorstring / nullStatus rows: why the property failed, if it did.
fetched_atstring / nullWhen the row was fetched (UTC, ISO 8601).

Start with a small sample

Use call-actor with the JSON below. The $0.25 run ceiling is separate from the Actor input and may stop the sample early. Change the target to match your request. This input validates against build 1.0.9; it is not a promise that the source has matching rows today.

{
  "actor": "kestrel/trip-com-reviews-scraper",
  "input": {
    "startUrls": [
      "https://www.trip.com/hotels/lisbon-hotel-detail-2561632/valverde-hotel/"
    ],
    "maxReviewsPerHotel": 3,
    "reviewsSort": "most_recent"
  },
  "callOptions": {
    "maxTotalChargeUsd": 0.25,
    "timeout": 300
  },
  "waitSecs": 30
}

After completion, use get-dataset-items with storages.datasets.default.id. If still running, poll get-actor-run using the returned runId. Check status rows and errors before treating an empty dataset as no matches.

Call from Python, JavaScript or REST

Python SDK 3 example · JavaScript SDK 2 example · curl + jq example. Each uses this same small input, reads APIFY_TOKEN from your environment, sets a five-minute run timeout and exports all dataset row types as JSON Lines. The $0.25 run ceiling is separate from the Actor input and may stop the sample early. Inspect the run and source status before treating results as complete. Installation and usage.

Pricing and limits

Current listed event prices in USD. Some Actors charge for successful source checks even when no output rows match. The event descriptions below define those differences.

EventUSD eachWhat is charged
review$0.004One guest review of a Trip.com or Ctrip hotel: 0-10 rating (and out of 5) with four sub-scores, rating word, review text as written, language, recommend flag, review and check-in dates, room, travel type, reviewer name, country, level and review count, helpful votes, photos, source (Trip.com, Ctrip, Expedia, Hotels.com) and the hotel's reply with date (row keys rating, rating_5, rating_location, rating_facility, rating_service, rating_room, rating_text, text, language, recommend, review_date, check_in, room_type, travel_type, reviewer_name, reviewer_country, reviewer_level, reviewer_reviews, helpful_votes, images, source, response, response_date): $4 per 1,000 reviews. Not charged: hotel rows, status rows, reviews removed by maxRating or requireText, reviews Trip.com's language filter skips (never fetched), a hotel given twice (URL and id of one hotel are read once), hotels with no reviews, unknown ids, bad input. No start fee; proxy and compute are included in the event price. Trip.com pages 100 reviews at a time. The run stops at the maximum cost per run you set when starting it (Apify run option maxTotalChargeUsd), never above it.

Contracts for agents

Public contract checked 2026-11-11. Active build: 1.0.9. Refresh live details before a large or recurring run.