VOOZH about

URL: https://apify.com/datawebot/trip-hotel-scraper

โ‡ฑ Trip.com Hotel & Room Scraper ยท Apify


Pricing

from $4.50 / 1,000 hotel scrapes

Go to Apify Store

Trip.com Hotel & Room Scraper

Extract room listings and live prices from any Trip.com hotel page. Supports custom check-in/out dates, guest counts, and multiple hotels per run. Works with all Trip.com country subdomains (th, sg, id, etc.).

Pricing

from $4.50 / 1,000 hotel scrapes

Rating

5.0

(2)

Developer

๐Ÿ‘ Datawebot

Datawebot

Maintained by Community

Actor stats

2

Bookmarked

39

Total users

7

Monthly active users

2 months ago

Last modified

Share

Extract room listings and live prices from any Trip.com hotel page. Supports custom check-in/out dates, guest counts, and multiple hotels per run. Works with all Trip.com country subdomains (th, sg, id, etc.).


Features

  • Room names โ€” in the local language of the Trip.com subdomain (e.g. Thai on th.trip.com)
  • Prices โ€” both VAT-inclusive and VAT-exclusive (รท 1.07 for Thailand)
  • Original / discounted prices when a strikethrough price is shown
  • Room attributes โ€” bed type, max occupancy, breakfast inclusion, free cancellation, pay-later
  • Anti-detection โ€” randomised browser fingerprint (user-agent, WebGL, platform)
  • Supports any Trip.com country subdomain โ€” th.trip.com, www.trip.com, sg.trip.com, etc.

Input

FieldTypeRequiredDescription
hotelUrlsarrayโœ…List of {url, name} objects pointing to Trip.com hotel pages
checkinDatestringCheck-in date YYYY-MM-DD. Default: 7 days from today
checkoutDatestringCheck-out date YYYY-MM-DD. Default: check-in + 1 night
roomsintegerNumber of rooms (1โ€“10). Default: 1
adultsintegerNumber of adults (1โ€“10). Default: 2
childrenintegerNumber of children (0โ€“6). Default: 0
proxyConfigurationobjectApify proxy configuration (residential or datacenter)
proxyUrlstringCustom proxy URL, e.g. http://user:pass@host:port
headlessbooleanRun browser without UI. Default: true

Example input

{
"hotelUrls":[
{
"url":"https://th.trip.com/hotels/bangkok-hotel-detail-1257190/jw-marriott-hotel-bangkok",
"name":"JW Marriott Bangkok"
},
{
"url":"https://th.trip.com/hotels/bangkok-hotel-detail-1500545/marriott-hotel-sukhumvit-bangkok",
"name":"Bangkok Marriott Sukhumvit"
}
],
"checkinDate":"2026-05-01",
"checkoutDate":"2026-05-02",
"rooms":1,
"adults":2,
"children":0
}

Output

Each item in the dataset represents one bookable room option.

FieldTypeDescription
hotelNamestringHotel name as provided in input
hotelUrlstringHotel page URL (without query params)
checkinstringCheck-in date
checkoutstringCheck-out date
roomIdstringInternal room ID from Trip.com
roomNamestringRoom name
roomTypestringRoom type category
bedTypestringBed configuration
maxOccupancyintegerMaximum number of guests
priceInclVatfloatPrice including VAT (as displayed on Trip.com)
priceExclVatfloatPrice excluding VAT (รท 1.07)
originalPriceInclVatfloatOriginal (before discount) price including VAT
originalPriceExclVatfloatOriginal price excluding VAT
breakfastIncludedbooleanWhether breakfast is included
freeCancellationbooleanWhether free cancellation is available
payLaterbooleanWhether pay-at-hotel is available

Example output item

{
"hotelName":"JW Marriott Bangkok",
"hotelUrl":"https://th.trip.com/hotels/bangkok-hotel-detail-1257190/jw-marriott-hotel-bangkok",
"checkin":"2026-05-01",
"checkout":"2026-05-02",
"roomId":"1606182637",
"roomName":"Deluxe King Room",
"roomType":"Deluxe",
"bedType":"King",
"maxOccupancy":2,
"priceInclVat":6900,
"priceExclVat":6448.60,
"originalPriceInclVat":0,
"originalPriceExclVat":0,
"breakfastIncluded":false,
"freeCancellation":false,
"payLater":false
}

How it works

  1. Builds a full Trip.com hotel URL with check-in/out dates and guest counts
  2. Launches a headless Chromium browser with anti-detection (randomised fingerprint)
  3. Listens for two internal Trip.com APIs:
    • getHotelRoomListOversea โ€” list of available rooms and prices
    • getHotelRoomPopInfoPCOnline โ€” detailed room information (name, bed type, etc.)
  4. Scrolls the page to trigger the API calls
  5. Merges and parses the two responses into structured room records

Proxy

Trip.com generally works without a proxy from Apify's servers. A proxy is only needed if you encounter IP blocks or CAPTCHAs at high scraping volumes.

  • Apify Proxy (recommended if needed): enable via the Proxy Configuration input field โ€” supports residential and datacenter proxies
  • Custom proxy: provide a URL in the Custom Proxy URL field, e.g. http://user:pass@proxy-host:port

Limits & notes

  • One run per hotel page; each hotel takes ~20โ€“40 seconds
  • Prices reflect what Trip.com shows for the given dates, guest count, and currency of the subdomain
  • Room names may appear in the local language depending on the Trip.com subdomain used
  • The actor does not book rooms or submit any forms

Version history

VersionDateNotes
0.12026-04-02Initial release

You might also like

Trip Hotel Reviews Scraper

powerai/trip-hotel-reviews-scraper

Scrape hotel reviews from Trip.com with comprehensive review data including ratings, user information, stay details, and review images.

Trip.com Hotel Data Scraper with Advanced Filters

hotels-scrapers/trip-hotel-scraper

Powerful Trip.com hotel/accomendation data scraper & API. Collect prices (original, current, total), ratings, reviews, room types, amenities, images, promotions. Apply advanced filters, monitor markets, build dashboards, or call via REST & schedule. Exports JSON or CSV fast.

๐Ÿ‘ User avatar

Hotels Scraper

110

4.7

Expedia Hotels Scraper

crawlerbros/expedia-hotels-scraper

Scrape hotel listings from Expedia search results. Extract hotel names, prices, ratings, reviews, neighborhoods, descriptions and images for any destination and travel dates.

54

Fast Agoda Scraper

knagymate/fast-agoda-scraper

Scrape Agoda.com for hotels, prices, ratings, and reviews. This Agoda scraper is a reliable API alternative for travel apps, competitor research, market analysis, and SEO-friendly content generation with structured hotel datasets.

233

5.0

Expedia Scraper

parseforge/expedia-scraper

Extract hotel listings from Expedia with real-time rates, guest ratings, and availability. Get prices, star ratings, amenities, images, and 23+ fields per property. Filter by destination, dates, price range, and guest count. Export as JSON, CSV, or Excel.

Booking.com Scraper

automation-lab/booking-scraper

Scrape Booking.com hotels and accommodations by destination or URL. Extract prices, ratings, reviews, photos, room types, availability, and Booking.com URLs for travel data, market research, or accommodation partner lead lists.

๐Ÿ‘ User avatar

Stas Persiianenko

291

3.0

Expedia Hotels Scraper

shahidirfan/expedia-hotels-scraper

Extract hotel data from Expedia instantly. Scrape prices, reviews, ratings, availability & amenities across destinations. Perfect for travel research, price monitoring & market analysis. Get structured hotel information for comparison & analytics. No coding required.

62

5.0

Agoda Hotel Scraper

parseforge/agoda-scraper

Scrape hotel listings from Agoda.com including prices, ratings, reviews, location, and amenities. Search by city with date and guest filters. Browser-based extraction captures full hotel data. Export structured accommodation data.

Google Travel Hotel Prices

vittuhy/google-travel-hotel-prices

This actor extracts real-time pricing information for a given hotel across multiple dates and provides comprehensive price comparisons from various booking providers.

๐Ÿ‘ User avatar

Vรญt Tuhรฝ

165

5.0

Trip Hotel Search Scraper

powerai/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.