Trip Hotel Search Scraper avatar
Trip Hotel Search Scraper

Pricing

$19.99/month + usage

Go to Apify Store
Trip Hotel Search Scraper

Trip Hotel Search Scraper

Scrape hotel listings from Trip.com with automatic pagination and comprehensive hotel data extraction including prices, ratings, reviews, and room details.

Pricing

$19.99/month + usage

Rating

5.0

(1)

Developer

PowerAI

PowerAI

Maintained by Community

Actor stats

1

Bookmarked

3

Total users

2

Monthly active users

3 days ago

Last modified

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

FieldTypeRequiredDescription
searchUrlstringYesComplete Trip.com hotel search URL to scrape
maxItemsintegerNoMaximum number of hotels to fetch (default: unlimited)
proxyConfigurationobjectNoProxy settings for the actor

How to Get Search URL

  1. Go to Trip.com
  2. Search for hotels using filters (location, check-in/check-out dates, number of guests, etc.)
  3. Copy the complete URL from your browser's address bar
  4. Paste it into the searchUrl field

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 used
  • hotelId: Unique hotel identifier
  • hotelName: Name of the hotel
  • hotelUrl: Direct link to the hotel detail page
  • starCount: Number of stars (1-5)
  • hotelScore: Guest rating score (e.g., "8.5")
  • hotelScoreDesc: Score description (e.g., "Very Good")
  • hotelReviewCount: Number of reviews
  • oneSentenceTags: Array of one-sentence descriptive tags
  • locationDesc: Array of location descriptions
  • roomName: Name/type of the room
  • roomGuests: Number of guests the room accommodates
  • hasDoubleBed: Whether the room has a double bed
  • roomAdvantageTags: Array of room advantage tags
  • roomEncourageTags: 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 fees
  • hotelImages: Array of hotel image URLs
  • hotelDataExposure: Additional metadata from the hotel card
  • scrapedAt: 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!