Trip.com API

The Trip.com API for hotel reviews.

Pull guest reviews, ratings, room types, travel types, stay dates, and sentiment filters from Trip.com as clean JSON.

REQUEST GET
USE CASE Paginated guest reviews for a Trip.com hotel by hotel_id.
curl "https://api.stayapi.com/v1/tripcom/hotel/reviews/702258" \
  -G \
  -H "x-api-key: $STAYAPI_KEY" \
  -d "page=1" \
  -d "page_size=10" \
  -d "locale=en-XX"
RESPONSE 200 OK
2.41s
{
  "success": true,
  "hotel_id": 702258,
  "data": {
    "imageDomain": "ak-d.tripcdn.com",
    "total_reviews": 919,
    "filterList": [
      {
        "id": 1,
        "name": "All reviews",
        "commentCount": 919,
        "filterType": 1
      },
      {
        "id": 2,
        "name": "Positive reviews",
        "commentCount": 863,
        "filterType": 1
      }
    ],
    "reviews": [
      {
        "id": 1622571051,
        "rating": 9,
        "title": "Great",
        "text": "Generally it was a pleasant stay and experience. It is next to a premium Mall...",
        "date": "2025-11-05 10:30:00",
        "stay_date": "2025-11-01 00:00:00",
        "reviewer_name": "John D.",
        "room_type": "Deluxe Room",
        "travel_type": "Business traveler",
        "images": []
      }
    ]
  },
  "retrieved_at": "2026-01-23T12:00:00Z"
}
99.9% uptime ~3s avg response Live, not cached

Trusted by hospitality teams at

Overview

What the Trip.com API gives you.

Trip.com has no public data API for the guest reviews that revenue and reputation teams actually need. The usual answer is a scraping stack: headless browsers, rotating proxies, and a parser that breaks every time the page changes. Trip.com is a reviews-focused source for us, so this page is about one thing done well.

StayAPI is that layer, run for you. You send a hotel_id and get structured JSON back: review text and scores, room type, travel type, stay dates, reviewer names, images, and the sentiment filter counts. The same shape on every call, with pagination for the full history.

01

One reviews feed, one key.

X-API-Key in, JSON out. Paginated Trip.com reviews behind one URL, with the filterList counts so you can read sentiment distribution at a glance. No SDK to install.

02

We run the hard part.

Fetching, parsing, proxy rotation, and source uptime are ours. You consume normalized review JSON and never touch a headless browser or a CAPTCHA solver.

03

Real-time, not cached.

Every call hits Trip.com live, so new reviews and the total count are current to the request, not a stale nightly snapshot.

Endpoints

Every Trip.com endpoint, one base URL.

Each returns normalized JSON in the same shape. Click any endpoint for parameters, an example response, and a live playground.

Use cases

What teams build on the Trip.com API.

The same endpoints, pointed at different jobs. These are the ones we see most.

01

Review monitoring.

Stream new Trip.com reviews into your dashboard by hotel_id, page through history, and alert when a fresh low rating lands.

02

Sentiment and topic analysis.

Run sentiment or topic clustering on the review text, and use the positive / negative filter counts as a fast ratio without reading every comment.

03

Cross-OTA reputation roll-up.

Trip.com aggregates feedback from several sources, so its reviews slot into a combined reputation view next to your other channels, deduped on text and date.

04

AI agents and review context.

Feed structured Trip.com reviews into an LLM tool call so your agent answers reputation questions from live guest feedback, not stale embeddings.

Pricing

100 free requests on signup.
Pick a plan when you need more.

Flat monthly plans, every endpoint included on every plan. 1 request = 1 credit. No per-endpoint multipliers, no surprise overages.

01 Free

Wire it up. See the schema.

$0 to start
  • 100 free requests on signup
  • Every endpoint included
  • No credit card required
  • Same schema as paid
Start free
02 Basic

Kick the tires in production.

$49 per month
  • 1,500 requests / month
  • Every endpoint included
  • Per-endpoint usage dashboard
  • Email support
Start Basic
04 Scale

Daily pulls in production.

$450 per month
  • 100,000 requests / month
  • Every endpoint included
  • Per-endpoint usage dashboard
  • Priority email support
Start scaling
05 Custom

Above 100k / month, annual terms, white-glove onboarding.

Let's talk
  • 1M+ requests / month
  • Volume rate on the call
  • Per-endpoint usage dashboard
  • Priority email + Slack support
Book a scoping call

Every plan ships every endpoint. Same uptime, same schema, same response time.

Questions

What people ask about the Trip.com API.

Don't see your question? Email us at info@stayapi.com.

Does Trip.com have a public API?

Trip.com runs affiliate and partner programs, but there is no open public data API for pulling guest reviews. StayAPI gives you those reviews over plain REST with a key you get in 30 seconds, no contract to sign.

How do I get Trip.com reviews?

Call /v1/tripcom/hotel/reviews/{hotel_id} with a Trip.com hotel_id and page through the results with page and page_size (up to 50 per call). You get review text, ratings, room type, travel type, and stay dates as JSON. See the reviews endpoint docs.

What data does the Trip.com reviews endpoint return?

Each review has a rating on a 1 to 10 scale, the full text, a rating label, the reviewer name, the booked room type, the travel type, the review date, the stay date, and any review images. The response also carries total_reviews and a filterList with positive and negative counts.

Is the Trip.com API free?

You get 100 free requests on signup, no credit card. After that it is flat monthly plans starting at $49. One request equals one credit, with no per-endpoint multipliers.

Two ways to start.

Both end with live Trip.com data in your stack. The fast path is on the left.

01 · the fast path

Try it free

100 free requests after sign up. Fastest way to see if the schema fits.

Start free
  • Live API key in 30 seconds
  • No credit card required
  • Same schema as paid
02 · the scoped path

Book a scoping call

15 minutes. Volume + endpoint mix. Walk out with a quote.

Book a demo
  • Quote on the call, not after
  • Engineering, not sales
  • No deck, no slides