Trip.com Hotel Scraper
Pricing
from $10.00 / 1,000 results
Trip.com Hotel Scraper
Trip.com Hotel Scraper extracts hotel listings from Trip.com search results, collecting prices, ratings, reviews, room details, hotel links, and images. It supports lazy-loaded pages, optional pagination, and exports structured data to the Apify dataset.
Pricing
from $10.00 / 1,000 results
Rating
0.0
(0)
Developer
Jamshaid Arif
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Share
Trip.com Hotel Scraper (Apify Actor)
Renders Trip.com hotel-list pages , scrolls to lazy-load the listing cards, and extracts structured hotel data into the actor's dataset.
What it collects
Per hotel card: name, price, currency, priceText (raw label), reviewScore,
reviewCount (number) + reviewCountText, starRating + starRatingLabel,
roomName, hotelUrl, hotelId, imageUrl, plus sourceUrl and scrapedAt (UTC ISO).
Input
| Field | Type | Default | Notes |
|---|---|---|---|
startUrls | array of URLs | London search | Trip.com hotel-list URLs. Run a search and copy the URL. |
maxItems | integer | 100 | Cap across all URLs. |
maxPages | integer | 1 | Pages to paginate (needs nextButtonSelector). |
nextButtonSelector | string | "" | Optional CSS selector for Trip.com's next-page control. Empty = single page. |
scrolls | integer | 8 | Lazy-load scroll iterations per page. |
scrollPauseSecs | integer | 1 | Pause after each scroll. |
cardWaitSecs | integer | 25 | How long to wait for the first cards. |
navigationTimeoutSecs | integer | 60 | Page-load timeout. |
proxyConfiguration | proxy | Apify proxy on | Residential recommended. |
headless | boolean | true | Uncheck for local debugging. |
Example input
{"startUrls": [{ "url": "https://www.trip.com/hotels/list?city=338" }],"maxItems": 60,"scrolls": 10,"proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"] }}
Output (one dataset item per hotel)
{"name": "The Strand Palace","priceText": "US$77","price": "77","currency": "US$","reviewScore": "8.2","reviewCount": 501,"reviewCountText": "501 reviews","starRating": "4","starRatingLabel": "4 out of 5 rating","roomName": "Deluxe Double Room","hotelUrl": "https://www.trip.com/hotels/london-hotel-detail-123.html","hotelId": "123","imageUrl": "https://...","sourceUrl": "https://www.trip.com/hotels/list?city=338","scrapedAt": "2026-06-28T10:00:00+00:00"}