Trip.com Hotel Data Scraper with Advanced Filters avatar
Trip.com Hotel Data Scraper with Advanced Filters

Pricing

Pay per event

Go to Store
Trip.com Hotel Data Scraper with Advanced Filters

Trip.com Hotel Data Scraper with Advanced Filters

Developed by

Hotels Scraper

Hotels Scraper

Maintained by Community

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.

5.0 (1)

Pricing

Pay per event

0

Total users

2

Monthly users

1

Last modified

3 hours ago

You can access the Trip.com Hotel Data Scraper with Advanced Filters programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4# Replace '<YOUR_API_TOKEN>' with your token.
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7# Prepare the Actor input
8run_input = {
9 "filterArgs": ["https://trip.com/hotels/list?city=192&provinceId=0&countryId=31&checkIn=2025-07-26&checkOut=2025-07-27&lat=0&lon=0&districtId=0&barCurr=USD&searchType=CT&searchWord=Paris&searchValue=undefined&crn=1&adult=2&children=0&searchBoxArg=t&ctm_ref=ix_sb_dl&travelPurpose=0&domestic=false"],
10 "limitPerPage": 100,
11 "totalLimit": 100,
12}
13
14# Run the Actor and wait for it to finish
15run = client.actor("hotels-scrapers/trip-hotel-scraper").call(run_input=run_input)
16
17# Fetch and print Actor results from the run's dataset (if there are any)
18print("πŸ’Ύ Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
19for item in client.dataset(run["defaultDatasetId"]).iterate_items():
20 print(item)
21
22# πŸ“š Want to learn more πŸ“–? Go to β†’ https://docs.apify.com/api/client/python/docs/quick-start

Trip.com Hotel Price & Data API Scraper, Advanced API in Python

The Apify API client for Python is the official library that allows you to use Trip.com Hotel Data Scraper with Advanced Filters API in Python, providing convenience functions and automatic retries on errors.

Install the apify-client

$pip install apify-client

Other API clients include: