Pricing
from $4.99 / 1,000 results
Go to Apify Store
Trip Hotel Search Scraper
DeprecatedScrape hotel listings from Trip.com with automatic pagination and comprehensive hotel data extraction including prices, ratings, reviews, and room details.
Pricing
from $4.99 / 1,000 results
Rating
5.0
(1)
Developer
Actor stats
1
Bookmarked
43
Total users
4
Monthly active users
a month ago
Last modified
Categories
Share
๐จ Trip Hotel Search Scraper
This actor allows you to scrape hotel listings from Trip.com by providing a search URL. It automatically handles pagination and extracts comprehensive hotel information including prices, ratings, reviews, room details, and location descriptions.
Features
- URL-based Scraping: Extract hotels by providing a complete Trip.com search URL
- Automatic Pagination: Automatically scrolls and loads more hotels until reaching the end or max items limit
- Comprehensive Hotel Data: Extract detailed information about each hotel including:
- Hotel name, ID, and URL
- Star rating
- Guest scores and review counts
- Location descriptions
- Room types and guest capacity
- Pricing information (sale price and total price with taxes)
- Hotel images
- One-sentence tags and room advantage tags
- Bed type information
Input Parameters
| Field | Type | Required | Description |
|---|---|---|---|
searchUrl | string | Yes | Complete Trip.com hotel search URL to scrape |
maxItems | integer | No | Maximum number of hotels to fetch (default: unlimited) |
proxyConfiguration | object | No | Proxy settings for the actor |
How to Get Search URL
- Go to Trip.com
- Search for hotels using filters (location, check-in/check-out dates, number of guests, etc.)
- Copy the complete URL from your browser's address bar
- Paste it into the
searchUrlfield
Example search URL:
https://www.trip.com/hotels/list?city=347&cityName=Los%20Angeles&checkIn=2025-11-12&checkOut=2025-11-13&adult=2
Output
The output is a dataset of hotel listing objects, each containing:
searchUrl: The original search URL usedhotelId: Unique hotel identifierhotelName: Name of the hotelhotelUrl: Direct link to the hotel detail pagestarCount: Number of stars (1-5)hotelScore: Guest rating score (e.g., "8.5")hotelScoreDesc: Score description (e.g., "Very Good")hotelReviewCount: Number of reviewsoneSentenceTags: Array of one-sentence descriptive tagslocationDesc: Array of location descriptionsroomName: Name/type of the roomroomGuests: Number of guests the room accommodateshasDoubleBed: Whether the room has a double bedroomAdvantageTags: Array of room advantage tagsroomEncourageTags: Array of room encouragement tags (e.g., "Last booked 1 hr ago")price: Sale price (e.g., "US$154")totalPriceText: Total price including taxes and feeshotelImages: Array of hotel image URLshotelDataExposure: Additional metadata from the hotel cardscrapedAt: Timestamp of when the hotel was scraped
Example output:
[{"searchUrl":"https://www.trip.com/hotels/list?city=347&cityName=Los%20Angeles&checkIn=2025-11-12&checkOut=2025-11-13&adult=2","hotelId":"2081687","hotelName":"Doubletree by Hilton Los Angeles Downtown","hotelUrl":"/hotels/detail/?hotelId=2081687","starCount":4,"hotelScore":"8.5","hotelScoreDesc":"Very Good","hotelReviewCount":358,"oneSentenceTags":["Located downtown","Easy to get around"],"locationDesc":["Near Little Tokyo","Downtown Los Angeles"],"roomName":"Hearing Accessible Two Queen Room","roomGuests":2,"hasDoubleBed":false,"roomAdvantageTags":[],"roomEncourageTags":["Last booked 1 hr ago"],"price":"US$154","totalPriceText":"Total (incl. taxes & fees): US$179","hotelImages":["https://ak-d.tripcdn.com/images/0223d12000l1lebdu27B1_R_600_600_R5_D.jpg_.webp","https://ak-d.tripcdn.com/images/0222g12000idrwyp36412_R_600_600_R5_D.jpg_.webp"],"hotelDataExposure":{"ubtKey":"P0104_SP0000_M0005_ID0001_exposure","data":{"masterhotelid":"2081687","locale":"en-XX"}},"scrapedAt":"2025-11-12T03:32:10.178Z"},...]
Use Cases
- Hotel price comparison and monitoring
- Market research for travel industry
- Competitive analysis for hotel chains
- Location-based hotel availability tracking
- Price trend analysis
- Review and rating aggregation
- Hotel inventory management
- Travel planning and booking research
Notes
- Results are automatically paginated until reaching the end or max items limit
- All timestamps are in ISO 8601 format
- Prices are displayed in the currency specified in the search URL
- Hotel images are provided as an array of URLs
- The actor automatically deduplicates hotels based on hotel URLs
- Some fields may be null or empty depending on the hotel listing
Start scraping hotel listings from Trip.com today!
