VOOZH about

URL: https://apify.com/thirdwatch/ctrip-hotels-scraper

โ‡ฑ Ctrip / Trip.com Hotel Scraper - Prices, Ratings & Availability ยท Apify


๐Ÿ‘ Ctrip / Trip.com Hotel Scraper - Prices, Ratings & Availability avatar

Ctrip / Trip.com Hotel Scraper - Prices, Ratings & Availability

Under maintenance

Pricing

from $30.00 / 1,000 results

Go to Apify Store

Ctrip / Trip.com Hotel Scraper - Prices, Ratings & Availability

Under maintenance

Scrape hotel listings from Trip.com (Ctrip): names, nightly prices, ratings, reviews, location, star class, amenities, photos. Supports city, check-in/out dates, guests, and rooms.

Pricing

from $30.00 / 1,000 results

Rating

0.0

(0)

Developer

๐Ÿ‘ Thirdwatch

Thirdwatch

Maintained by Community

Actor stats

0

Bookmarked

9

Total users

4

Monthly active users

10 days ago

Last modified

Categories

Share

Ctrip / Trip.com Hotel Scraper

Scrape hotel listings from Trip.com (the English face of Ctrip): prices, ratings, reviews, location, star class, amenities, room types, and photos for any city and date range.

What you get per hotel

FieldDescription
hotel_nameHotel name
hotel_idTrip.com internal hotel ID
urlDetail page URL
priceLowest nightly rate seen
currencyCurrency code (USD default)
original_priceCrossed-out / pre-discount price when present
ratingUser rating (0-5 scale on Trip.com)
rating_label"Excellent" / "Very good" / etc.
reviews_countTotal user reviews
starsStar class (1-5)
addressStreet / area description
city, districtLocation breakdown
latitude, longitudeMap coordinates
image_urlPrimary photo
amenitiesList of facility names
room_typesSample room types from card
tagsPromotional / property tags
distance_from_centerWhen Trip.com provides it
checkin_date, checkout_date, search_cityEchoed inputs
source"api" (preferred) or "dom" (fallback)

Input

{
"city":"Tokyo",
"cityId":228,
"checkIn":"2026-06-01",
"checkOut":"2026-06-03",
"guests":2,
"rooms":1,
"maxResults":50
}

cityId is strongly recommended for production. Trip.com's hotel list endpoint requires a numeric city ID โ€” passing only a city name does not drive a search. The actor has a small built-in map of verified IDs (Tokyo 228, Singapore 73, Beijing 1, Shanghai 2, Madrid 357, Granada 717, New Delhi 495) and tries an in-browser autocomplete fallback for everything else, but the autocomplete resolver is not 100% reliable. To grab a cityId by hand, open https://www.trip.com/hotels/list?city=<id> for guesses and check the page title.

How it works

Trip.com renders its hotel list entirely client-side, behind a stealth-defence script (hotel-spider-defence) and a jigsaw CAPTCHA. Pure HTTP requests to the public fetchHotelList SOA endpoint are rejected without the dynamic testab token minted by the in-page JS.

The actor uses Camoufox (stealth Firefox) with Apify Residential proxy, performs a homepage warmup to settle session cookies, and then:

  1. Attaches a page.on("response") listener before navigation, capturing every JSON response on /restapi/soa2/34951/fetchHotelList.
  2. Loads /hotels/list?city=<id>&checkin=&checkout=&adult=&crn= and scrolls to trigger pagination / dynamic refresh XHRs.
  3. Recursively walks each captured JSON for hotel records (matches dicts that look like a hotel: have hotelBasicInfo, or both hotelName and hotelId).
  4. Falls back to anchor-based DOM extraction (a[href*="/hotels/detail/"] walked up to the smallest container with an image + meaningful text) if the API capture comes up short.

This is the same XHR-intercept pattern used by meesho-scraper and tatacliq-scraper in this repo.

Pricing (PPE)

TierPer result
FREE$0.008
BRONZE$0.006
SILVER$0.005
GOLD$0.004

Known limits

  • Pagination is XHR-driven, not URL-driven. We rely on scrolling to fetch additional pages; 50-100 hotels per run is the comfortable ceiling. Larger maxResults may stall.
  • CAPTCHA risk. Trip.com occasionally serves a jigsaw challenge to fresh proxy IPs. The actor retries up to 3 times with new browsers; persistent failures usually mean the proxy IP is currently flagged.
  • Currency. All requests are pinned to USD via the curr URL param. Trip.com may still echo back rates that include local taxes/fees.
  • City ID auto-resolve is best-effort. For ambiguous city names, supply cityId directly.

You might also like

Trip.com & Ctrip (ๆบ็จ‹) Hotel Reviews Scraper ยท Ratings, Response

factden/ctrip-trip-reviews-scraper

Scrape hotel reviews from Trip.com and Ctrip (ๆบ็จ‹). 32 fields per review: sub-ratings (cleanliness, location, service, facilities), owner responses, reviewer IP location(ctrip), travel type, and LLM-ready markdownContent. Zero setup, no login. $4 per 1,000 reviews (from $2.50 on Business).

G2 Reviews Scraper ยท Battlecards + Switching Data

factden/g2-reviews-scraper

G2 reviews scraper for battlecards, competitor intel, and AI/RAG pipelines. 32 fields per review: 6 sub-ratings, switched-from competitors, structured pros/cons, LLM-ready markdown. Top 10 competitors auto-ranked per product. Handles anti-bot. $4 per 1,000 reviews.

Linktree Advanced Lead Scraper (Category & Subcategory)

ahmed_jasarevic/linktree-advanced-lead-scraper

Advanced Linktree scraper that extracts profiles from category and subcategory directories, collects emails, social links, bio data, and profile metadata. Supports pagination, proxy rotation, and large-scale lead extraction from Linktree discovery pages.

๐Ÿ‘ User avatar

Ahmed Jasarevic

6

5.0

10x Cheaper Google Maps Scraper

placesdata/google-maps-scraper-fast-cheap

$0,4/1k results. Get Google Maps business data โ€” phone, website, rating, address, GPS, Maps URL โ€” for any niche and location. No Cookies Required. Results in seconds. Automatically deduplicates results and resolves location. Ideal for building lead lists for web design, local SEO, and cold outreach.

Ondra Lipovsky

8

4.7

G2 Reviews & Products Scraper

automation-lab/g2-scraper

Scrape G2.com reviews, ratings, and product data. Extract NPS scores, reviewer sentiment, ease-of-use ratings, switching data, and product lists from 5M+ reviews across 220K+ products.

๐Ÿ‘ User avatar

Stas Persiianenko

292

2.0

G2 Products Reviews ๐Ÿ”ฅ $1/1K Scraper PRO

azzouzana/g2-products-reviews-scraper-pro

From $1/1K ๐Ÿ”ฅ Super fast, low-cost no-code G2 products reviews scraper - Paste any product URL or slug & you're set. 40+ data points per review for AI & agent workflows - Export to JSON, CSV, or API. Sort & filters, up to 30K/run. $1/1K. Start now! ๐Ÿš€

111

5.0

All-in-One Review Scraper: G2, Capterra & Trustpilot

zen-studio/software-review-scraper

Scrape reviews from G2, Capterra, TrustRadius, Gartner, and Trustpilot in one run. Just type a product name or domain. Get unified ratings, pros/cons, reviewer details, dates, and platform-specific sub-ratings. Filter by star rating and sort order. Export as JSON, CSV, or Excel.

129

2.5

Capterra reviews (It works)

dionysus_way/capterra-reviews

Scrape Capterra.com reviews with deep metadata: full ratings, reviewer info, pros/cons & dates. Features smart anti-blocking, residential proxies, and auto-pagination. Extracts sub-ratings (Value, Support) and company details. Export to JSON/CSV for sentiment analysis and competitor research.

G2 Explorer

jupri/g2-explorer

๐Ÿ’ซ Scrape G2.com

G2 Product Reviews Scraper

powerai/g2-product-reviews-scraper

Scrape product reviews and customer feedback from G2 for software products using our API wrapper service