# Trip.com Hotels Scraper | $1.50 per 1k | Price Calendar (`solidrows/tripcom-hotels-scraper`) Actor

Scrape Trip.com hotels by city or hotel URL: price for your dates, stars, review score and sub-scores, district, coordinates, amenities, photos. Star, price, score and free-cancellation filters, price calendar across check-in dates. Never a silent empty run.

- **URL**: https://apify.com/solidrows/tripcom-hotels-scraper.md
- **Developed by:** [SolidRows](https://apify.com/solidrows) (community)
- **Categories:** Travel, E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.05 / 1,000 hotel scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Trip.com Hotels Scraper – Prices, Price Calendar & Hotel Details

Extract hotels from [Trip.com](https://www.trip.com) by city, or track specific hotels by URL. For your dates and guests you get a clean table: hotel name, star rating, guest review score with sub-scores, the price of the cheapest room (nightly and total), discount, district, coordinates, highlighted amenities, photos and a link to the hotel page. Use Trip.com's own filters (stars, price range, review score, breakfast included, free cancellation, property type), sample **several check-in dates** for a price calendar, and turn on **hotel pages** for the full address, facilities, policies and review breakdown. No login or cookies needed.

### Why this scraper

| | This scraper | Other Trip.com hotel scrapers on Apify Store |
|---|---|---|
| Price per 1,000 hotel rows | **$1.50** | $3.00–$4.50 per 1,000 hotels |
| Cities by name | about 4,700 built-in names in 98 countries, plus any city ID or list URL | varies: free-text destination in one, a few dozen names or a city ID in another, hotel URLs only in the rest |
| Filters as simple fields | stars, price range, guest score, breakfast, free cancellation, pay at hotel, property type | not offered as inputs by the five most used ones |
| Price calendar (same hotels, several check-in dates) | yes, one row per hotel and date | run once per date |
| Track specific hotels by URL or ID | yes | yes (most are built around hotel URLs) |
| Hotel page details | address, facilities, policies, review sub-scores, tags and summary | offered by two of them |
| Full guest review texts | **not included** (only the excerpts printed on the page) | several are dedicated review scrapers |
| All room types and rate plans | **not included** (cheapest room shown on the card) | two of them specialise in this |

Compared on 14 November 2026 from the public Store pages of the five most used Trip.com scrapers. If you need every review or every rate plan of a hotel, pick a scraper built for that.

### What you can do with it

- **Rate shopping**: compare hotel prices in a city for your dates, currency and party size.
- **Price calendars**: see how each hotel's price changes over the next days or weeks (`checkInDatesCount`), one row per hotel and check-in date.
- **Competitor tracking**: put your hotel and its competitors into **Hotels** and schedule a daily run.
- **Market research**: hotel lists with coordinates, star classes, review scores and sub-scores for maps and reports.
- **Content and directories**: descriptions, facilities by category, policies, nearby places and FAQ from hotel pages.
- The same data in 19 Trip.com languages (German, French, Japanese, Korean, Thai and more).

### How to use

1. Add one or more cities to **Cities**: a city name (`Paris`, `Rome`, `New York`, `Phuket`, `Cambridge, United States`), a Trip.com **city ID**, or a Trip.com hotel list URL. And/or add hotel page URLs or hotel IDs to **Hotels**.
2. Optionally set **Check-in** and **Check-out**, **Adults**, **Rooms**, **Currency**, **Language** and filters.
3. Set **Max rows** and start the run.

#### How to scrape any city

About 4,700 city names in 98 countries are built in. If a name is not recognised, the run adds an error row (not charged) telling you so. Then use the city ID: open [trip.com](https://www.trip.com/hotels/), search hotels in your city and look at the address bar: the number after `city=` is the city ID. For example `https://www.trip.com/hotels/list?city=338` is London, so enter `338`, or paste the whole URL. City page URLs such as `https://www.trip.com/hotels/paris-hotels-list-192/` work too.

### Input

| Field | Type | Description |
|---|---|---|
| `cities` | array | City names, city IDs or hotel list URLs |
| `hotels` | array | Hotel page URLs or hotel IDs to price and track |
| `maxItems` | integer | Maximum rows in total; one row = one hotel for one check-in date (default 100, 0 = no limit) |
| `maxHotelsPerCity` | integer | Cap of hotels per city (0 = none) |
| `checkIn`, `checkOut` | date | Stay dates (`YYYY-MM-DD`). Empty = tonight, one night |
| `checkInDatesCount` | integer | Price calendar: how many check-in dates to sample (default 1) |
| `checkInStepDays` | integer | Price calendar: days between check-in dates (default 1) |
| `adults`, `rooms` | integer | Guests and rooms to price |
| `children` | integer | Number of children (default 0) |
| `childrenAges` | string | Ages of the children, comma-separated (`"5, 8"`); without it every child is priced as 8 years old |
| `currency` | string | Currency code, e.g. `USD`, `EUR`, `GBP`, `JPY` |
| `language` | string | Trip.com site language |
| `stars` | array | Any of `"5"`, `"4"`, `"3"`, `"2"` (2 = two stars and below) |
| `minPrice`, `maxPrice` | integer | Nightly price range in your currency |
| `minReviewScore` | string | `any`, `6`, `7`, `8`, `9` |
| `breakfastIncluded`, `freeCancellation`, `payAtHotel` | boolean | Trip.com's own checkbox filters |
| `propertyTypes` | array | `hotel`, `serviced-apartment`, `resort`, `apartment`, `guest-house`, `bed-and-breakfast`, `vacation-home`, `villa`, `homestay`, `hostel`, `inn`, `campsite` |
| `sortBy` | string | Order of the first page: `recommended`, `price-asc`, `price-desc`, `top-reviewed`, `stars-desc` |
| `includeDetails` | boolean | Open each hotel page for address, facilities, policies, review breakdown |

#### Example: filtered city search

```json
{
    "cities": ["Bangkok"],
    "checkIn": "2026-12-15",
    "checkOut": "2026-12-17",
    "stars": ["4", "5"],
    "minPrice": 60,
    "maxPrice": 250,
    "minReviewScore": "8",
    "breakfastIncluded": true,
    "freeCancellation": true,
    "currency": "USD",
    "maxItems": 200
}
```

#### Example: price calendar for a city's top hotels

```json
{
    "cities": ["Singapore"],
    "stars": ["5"],
    "sortBy": "top-reviewed",
    "maxHotelsPerCity": 20,
    "checkIn": "2026-12-08",
    "checkOut": "2026-12-09",
    "checkInDatesCount": 8,
    "checkInStepDays": 7,
    "maxItems": 0
}
```

This returns 20 hotels × 8 weekly check-in dates = 160 rows.

#### Example: track specific hotels every day

```json
{
    "hotels": [
        "https://www.trip.com/hotels/paris-hotel-detail-717490/at-gare-du-nord-paris/",
        "687592"
    ],
    "checkIn": "2026-12-10",
    "checkOut": "2026-12-11",
    "checkInDatesCount": 14,
    "currency": "EUR"
}
```

### Output example

```json
{
    "id": "717490",
    "name": "Hotel de l'Aqueduc",
    "url": "https://www.trip.com/hotels/detail/?hotelId=717490&checkIn=2026-12-10&checkOut=2026-12-12&adult=2&curr=USD",
    "propertyType": "Hotel",
    "starRating": 3,
    "reviewScore": 8.1,
    "reviewScoreMax": 10,
    "reviewLabel": "Very good",
    "reviewCount": 397,
    "reviewSubScores": { "cleanliness": 8.4, "amenities": 7.6, "location": 8.1, "service": 8.3 },
    "reviewHighlights": ["Convenient location", "Easy to get around"],
    "price": 91,
    "priceText": "US$91",
    "currency": "USD",
    "priceBasis": "perNight",
    "pricePerNight": 91,
    "priceTotal": 225,
    "priceNote": "Total price: US$225 | 1 room × 2 nights incl. taxes & fees",
    "originalPrice": 145,
    "discountPercent": 35,
    "roomName": "Classic Room",
    "roomTags": ["Surprise Savings", "35% off"],
    "demandTags": ["Last booked 1 hr ago"],
    "checkIn": "2026-12-10",
    "checkOut": "2026-12-12",
    "nights": 2,
    "adults": 2,
    "children": 0,
    "childrenAges": [],
    "rooms": 1,
    "isAvailable": true,
    "address": "Near Paris North Station | Le Marais",
    "city": "Paris",
    "cityId": 192,
    "latitude": 48.881377,
    "longitude": 2.362014,
    "amenities": ["Delicious breakfast", "Ideal location", "Bar", "Garden", "Free in-room Wi-Fi"],
    "imageUrl": "https://ak-d.tripcdn.com/images/1mc1p12000rpkwjys2F52_R_600_600_R5_D.jpg",
    "isAd": false,
    "position": 1,
    "cityInput": "Paris"
}
```

Added by **hotel pages**:

```json
{
    "pageUrl": "https://www.trip.com/hotels/paris-hotel-detail-717490/at-gare-du-nord-paris/",
    "fullAddress": "10 Rue Philippe de Girard, 10th arrondissement-Entrepot, Paris, Ile-de-France, 75010, France",
    "postalCode": "75010",
    "country": "France",
    "openedYear": 1950,
    "roomCount": 76,
    "checkInTime": "After 15:00",
    "checkOutTime": "Before 12:00",
    "policies": { "pets": "Pets are not allowed", "breakfast": "Option: Buffet | Cuisine: Continental | Adult: €15.00 per person", "children": "…" },
    "popularFacilities": ["Luggage storage", "Bar", "Restaurant", "Wi-Fi in public areas (Free)"],
    "facilities": { "Internet": ["Wi-Fi in public areas (Free)"], "Front desk services": ["Concierge service", "…"] },
    "transport": "280m from metro station (Chateau Landon), approx. 4 mins on foot",
    "nearbyPlaces": [{ "name": "Paris North Station", "type": "Train station", "distance": "490m", "by": "walk" }],
    "recommendedPercent": 68,
    "reviewTags": [{ "name": "Convenient location", "count": 76, "sentiment": "positive" }, { "name": "Too noisy", "count": 42, "sentiment": "negative" }],
    "travelerTypes": [{ "name": "Solo traveler", "count": 111 }, { "name": "Couple", "count": 98 }],
    "reviewSummary": [{ "topic": "Location", "text": "Close to train stations and metro stations…", "positive": true, "reviews": 160 }],
    "topReviewSnippets": ["Always have the best sleep at this hotel, excellent location surrounded by restaurants and shops."],
    "description": "With a stay at Hotel de l'Aqueduc, you'll be centrally located in Paris…",
    "faq": [{ "question": "Does Hotel de l'Aqueduc offer breakfast?", "answer": "Yes…" }]
}
```

Every field is described in the **Output** tab, which also has ready-made views for the price calendar and for hotel details.

#### About prices

The price is the one Trip.com shows on the search card for the cheapest available room, in your currency, for your dates and guests. Check `priceBasis`:

- `perNight` (English sites): `price` is the nightly price; the total for the stay incl. taxes and fees is in `priceTotal` and `priceNote`.
- `totalStay` (most localized sites, e.g. German or French): `price` is already the total for all nights incl. taxes and fees.

Without dates, Trip.com shows tonight's prices for one night. In a price calendar, a hotel that Trip.com does not offer for a date gets a row with `isAvailable: false` and an empty price; such rows are **not charged**. The same goes for a hotel you put into **Hotels** that has no availability for your date: you get its row without a price, free of charge, and the rest of its calendar is still priced.

### Pricing

- **$1.50 per 1,000 hotel rows** (event `hotel`). One hotel row is one hotel for one check-in date, so a price calendar of 20 hotels × 7 dates is 140 rows.
- **$1.00 per 1,000 hotel pages** (event `hotel-details`), only with **Open hotel pages** on – a hotel row with page details costs $2.50 per 1,000. If a hotel page cannot be read, the row is saved without details and only the hotel row is charged.
- Plus the standard Apify start fee of $0.00005 per run (event `apify-actor-start`).

You pay per row saved. There are no charges for rows that report an error or for any row without a price: a hotel Trip.com shows as sold out for your dates, a price-calendar date without a price (`isAvailable: false`) or a hotel from **Hotels** that has no price for your date. Such rows are free with **Open hotel pages** on as well. Set a maximum cost per run in the run options if you want a hard spending cap: the scraper stops cleanly when it is reached.

### Limits and notes

- **A sample of a city, not its full catalogue.** A Trip.com search page shows about 10–12 hotels; more results load only while scrolling, through Trip.com's internal API, which this scraper does not use. To collect more, it opens the same city with the sort orders, star classes and price bands a visitor can choose on the page, and removes duplicates. In tests this gives several hundred distinct hotels for a large city (about 500 for Paris: 510 in a run on 16 November 2026), covering every star class and price band, but not all of the thousands Trip.com lists. Narrow filters return fewer.
- A list URL that already contains your own filters (`listFilters=...`) is scraped as is: one page, about 10–12 hotels.
- `position` is the order in which the hotel was found for that city across these pages, not its rank in a single Trip.com list. With **Start with** set, the first 10–12 rows follow that order.
- List cards do not show street addresses: `address` is the area or nearby-landmark line from the card. The street address is in `fullAddress` with hotel pages on.
- **Price calendar**: the first check-in date comes from the city pages; for every further date the scraper opens the list page narrowed to that one hotel, so each hotel-date is one extra page load and one row. Hotel page details are attached to the row of the first date only.
- `breakfastIncluded` and `freeCancellation` are read from the room labels on the card and are filled only on English sites; they describe the cheapest room shown, not every rate of the hotel.
- Room-level details, all rate plans and full review texts are not included. Hotel phone numbers and e-mail addresses are not collected.
- Filters apply to city searches, not to hotels given by URL or ID.
- A hotel in **Hotels** is saved only when Trip.com shows that exact hotel. A wrong or unknown hotel ID gives an error row (not charged), never another hotel in its place.
- If no rows were saved and pages could not be read (blocked, layout changed) or no input value was recognised, the run ends with the status **Failed** instead of an empty success. A city that genuinely has no hotels for your filters is a normal successful run with zero rows.
- Results and prices can differ slightly between runs because Trip.com personalizes the order of results.
- Datacenter proxies (included in Apify plans) work for Trip.com.

### FAQ

**Can I scrape several cities in one run?** Yes. Add them all to **Cities**; **Max rows** applies to the whole run, **Max hotels per city** to each city.

**Can I get prices for future dates?** Yes. Set check-in and check-out. Dates in the past are ignored (Trip.com shows tonight's prices).

**How do I monitor hotel prices?** Put the hotels into **Hotels** (or a city with a small **Max hotels per city**), set **Price calendar: number of check-in dates**, and schedule the run daily. Every run gives one row per hotel and check-in date with `scrapedAt`, ready to chart.

**Can I use it as a Trip.com hotel API?** Yes. Start runs and read results through the Apify API, or connect the dataset to Google Sheets, Make, Zapier or a webhook.

**Does it work for Ctrip (hotels.ctrip.com)?** No, only the international Trip.com sites.

# Actor input Schema

## `cities` (type: `array`):

City names, Trip.com city IDs or Trip.com hotel list URLs. About 4,700 city names in 98 countries are built in (Paris, Rome, New York, Dubai, Bali, Tokyo, Phuket…); add the country when a name is ambiguous, e.g. "Cambridge, United States". For any other place use its ID: open trip.com, search hotels there and copy the number after city= in the address bar (https://www.trip.com/hotels/list?city=192 is Paris), or paste the whole URL. A list URL with your own listFilters is scraped as is (one page).

## `hotels` (type: `array`):

Optional. Specific hotels to price and track: Trip.com hotel page URLs (https://www.trip.com/hotels/paris-hotel-detail-717490/… or /hotels/detail/?hotelId=717490) or hotel IDs. Each hotel gives one row per check-in date. Ideal for monitoring your own hotel and its competitors.

## `maxItems` (type: `integer`):

Maximum number of rows to save in the whole run. One row is one hotel for one check-in date. Use 0 for no limit.

## `maxHotelsPerCity` (type: `integer`):

Optional cap of hotels for each city separately. 0 means no separate cap.

## `checkIn` (type: `string`):

Optional. Check-in date (YYYY-MM-DD). Empty = tonight, as Trip.com shows by default.

## `checkOut` (type: `string`):

Optional. Check-out date (YYYY-MM-DD). Empty = one night after check-in.

## `checkInDatesCount` (type: `integer`):

Price the same hotels for several check-in dates and get one row per hotel and date. 1 = only the check-in date above. Example: 7 with a step of 1 gives a week of nightly prices; 8 with a step of 7 gives eight weekly samples. The stay length stays the same for every date. Each extra date costs one row per hotel.

## `checkInStepDays` (type: `integer`):

Step between the sampled check-in dates, in days. 1 = every day, 7 = same weekday every week.

## `adults` (type: `integer`):

Number of adults (one room). Prices are shown for this number of guests.

## `children` (type: `integer`):

Number of children (under 18) in the party. Prices and the rooms offered are for adults + children. 0 = adults only.

## `childrenAges` (type: `string`):

Age of every child, comma-separated, e.g. "5, 8" (0-17). Trip.com prices a party by the children's ages. If you set only the number of children, each is priced as 8 years old; if you list more ages than the number above, every listed age counts as a child.

## `rooms` (type: `integer`):

Number of rooms to price.

## `currency` (type: `string`):

Price currency code, e.g. USD, EUR, GBP, JPY. Empty = Trip.com default for the site (USD on trip.com).

## `language` (type: `string`):

Which localized Trip.com site to read. Hotel names, review labels and amenity texts come in that language.

## `stars` (type: `array`):

Keep only hotels of these star classes. Leave empty for all.

## `minPrice` (type: `integer`):

Lowest nightly price, in the currency chosen above (Trip.com's Budget filter). 0 = no minimum.

## `maxPrice` (type: `integer`):

Highest nightly price, in the currency chosen above. 0 = no maximum.

## `minReviewScore` (type: `string`):

Trip.com's guest rating filter (10-point scale).

## `breakfastIncluded` (type: `boolean`):

Only hotels with a breakfast-included rate for your dates.

## `freeCancellation` (type: `boolean`):

Only hotels with a free-cancellation rate for your dates.

## `payAtHotel` (type: `boolean`):

Only hotels with a pay-at-the-property rate.

## `propertyTypes` (type: `array`):

Keep only these property types. Leave empty for all.

## `sortBy` (type: `string`):

Which Trip.com order the first page is opened in, so the first rows are the cheapest, the best reviewed and so on. With a small Max rows this decides which hotels you get; larger runs then also walk the other orders to find more hotels.

## `includeDetails` (type: `boolean`):

Also open each hotel page to add the full street address and postal code, country, number of rooms, opening year, description, check-in and check-out times, policies (children, pets, breakfast, deposit), all facilities by category, nearby places with distances, review sub-scores, review tags with counts, traveller types, Trip.com's review summary, top review excerpts, photos and FAQ. One extra page per hotel, charged as a separate event.

## `proxyConfiguration` (type: `object`):

Apify Proxy is used by default. Datacenter proxies work for Trip.com.

## Actor input object example

```json
{
  "cities": [
    "Paris"
  ],
  "hotels": [],
  "maxItems": 20,
  "maxHotelsPerCity": 0,
  "checkInDatesCount": 1,
  "checkInStepDays": 1,
  "adults": 2,
  "children": 0,
  "childrenAges": "5, 8",
  "rooms": 1,
  "currency": "USD",
  "language": "en",
  "stars": [],
  "minPrice": 0,
  "maxPrice": 0,
  "minReviewScore": "any",
  "breakfastIncluded": false,
  "freeCancellation": false,
  "payAtHotel": false,
  "propertyTypes": [],
  "sortBy": "recommended",
  "includeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "cities": [
        "Paris"
    ],
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("solidrows/tripcom-hotels-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "cities": ["Paris"],
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("solidrows/tripcom-hotels-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "cities": [
    "Paris"
  ],
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call solidrows/tripcom-hotels-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,solidrows/tripcom-hotels-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/0cTvD2VNxFp3MMnvV/builds/gsVBr6JSUBQ4M59ZI/openapi.json
