Ctrip API

The Ctrip API for hotel search, rooms, prices, and reviews.

Pull hotel search, property details, room availability, advertised low prices, and guest reviews from Ctrip as clean JSON.

REQUEST GET
USE CASE Find Ctrip hotels in Hangzhou by city ID.
curl "https://api.stayapi.com/v1/ctrip/hotels/search" \
  -G \
  -H "x-api-key: $STAYAPI_KEY" \
  -d "city_id=17" \
  -d "check_in=2026-08-15" \
  -d "check_out=2026-08-16" \
  -d "limit=10"
RESPONSE 200 OK
2.41s
{
  "success": true,
  "city_id": 17,
  "check_in": "2026-08-15",
  "check_out": "2026-08-16",
  "hotels": [
    {
      "hotel_id": 18078321,
      "name": "杭州临平万丽酒店",
      "name_en": "Renaissance Hangzhou Northeast Hotel",
      "guest_rating": 4.7,
      "review_count": 792,
      "address": "人民大道607号",
      "available": true,
      "url": "https://hotels.ctrip.com/hotels/18078321.html"
    }
  ],
  "returned": 1,
  "total": 10379,
  "page": 1,
  "prices_included": false
}
99.9% uptime ~3s avg response Live, not cached

Trusted by hospitality teams at

Overview

What the Ctrip API gives you.

Ctrip is one of China's main hotel booking platforms, but its public hotel pages and booking flow are built for browsers, not direct data access. Search, property content, room availability, pricing, and guest feedback arrive through several different page and API contracts.

StayAPI turns those contracts into one REST surface. Start with a Ctrip city ID or hotel URL, get a stable hotel_id, then call details, rooms, or reviews with the same identifier. Responses are normalized JSON and errors use RFC 7807 Problem Details.

01

One hotel ID across the workflow.

Search by city_id or resolve a public Ctrip URL, then use the returned hotel_id for property details, room availability, lowest price, and reviews.

02

Public pricing, stated honestly.

The rooms endpoint returns Ctrip's anonymous advertised from-price. Individual rate-plan prices are marked login_required instead of being guessed or silently omitted.

03

Live source data.

Search, property content, availability, and reviews are fetched from Ctrip at request time through bounded proxy and browser infrastructure.

Use cases

What teams build on the Ctrip API.

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

01

Ctrip property discovery.

Search a market by Ctrip city ID and store the stable hotel IDs, names, coordinates, ratings, review counts, and canonical URLs.

02

China market content sync.

Keep multilingual names, descriptions, amenities, policies, highlights, and photo URLs current for properties represented on Ctrip.

03

Availability and price monitoring.

Check whether a property is available for a stay and track the advertised anonymous from-price without presenting login-only rate plans as public prices.

04

Guest review monitoring.

Pull the newest public first-page review feed into a reputation workflow, including guest stay date, room type, images, and any property response.

05

Cross-OTA hotel matching.

Use coordinates, English and Chinese names, address, and stable Ctrip IDs to match Ctrip inventory with the same properties on other channels.

Pricing

50 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
  • 50 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
50% off
04 Scale

Daily pulls in production.

$900 $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 Ctrip API.

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

Does Ctrip have a public hotel data API?

Ctrip provides partner and affiliate products, but it does not offer an open self-serve API for its public hotel search, property content, anonymous room availability, and guest reviews. StayAPI exposes those surfaces through authenticated REST endpoints.

How do I find a Ctrip hotel ID?

Use /v1/ctrip/hotels/search with a Ctrip city_id, or pass a public desktop or mobile hotel URL to the URL-to-ID endpoint. Both return the numeric hotel_id used by details, rooms, and reviews.

Can the Ctrip API return room prices?

The rooms endpoint returns the hotel-level advertised public from-price and room availability. Ctrip gates individual rate-plan prices behind login, so those values are returned as null with price_visibility: login_required.

Can I paginate all Ctrip search results and reviews?

Not on the current public contract. Search exposes the first page with up to 13 hotels, and reviews exposes the first page with up to 10 reviews. The endpoint bounds enforce those limits instead of implying unsupported pagination.

Is the Ctrip API free?

You get 50 free requests on signup, no credit card. After that, every Ctrip endpoint uses the same StayAPI request-credit model as the other providers.

Two ways to start.

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

01 · the fast path

Try it free

50 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