CleanedWeb

trip.com

Trip.com Hotel Rooms API

One Trip.com hotel page by URL: name, address, rating, price range, rooms, check-in times, policies and nearby attractions.

About this API

Trip.com is a travel site for hotels, flights and trains. One record is one hotel page with its rooms.

What you get

Each record has the hotel name, address, city and country, rating, review count, price range, rooms, check-in and check-out times, policies, features, nearby attractions and images.

What you can filter

Send one page address in the url input, or several in the urls input. Each address gives one record. There are no other filters.

What it is good for

  • Compare hotels in a city
  • Collect room and policy details
  • Keep hotel facts up to date

Use it from an AI agent

Open in your coding agent

Add CleanedWeb to your agent as an MCP server, such as a custom connector in Claude or ChatGPT, then sign in with your CleanedWeb account. An API key with the read and run scopes works too.

https://api.cleanedweb.com/mcp?profile=catalog

Then ask, for example: Use CleanedWeb to get 25 records from the Trip.com Hotel Rooms API. The agent finds the API, runs it and reads the records. Runs are charged like any other run.

Coverage

Version
v2 2.0
Category
Travel
Updated

A run reads the one page you name and returns its record. Your limits on records, time and budget still apply.

CleanedWeb is not affiliated with Trip.com.

Changelog

  1. v2.0 (major) ·

    • record_layout_changed Records are now grouped: related fields sit under shared keys, so 12 field(s) have new paths (each listed below). Callers pinned to the previous major keep the previous shape until its sunset.
    • field_moved Field rooms is now rooms.options.
    • field_moved Field qichan_scenic_suite_smart_control_zero_pressure_mattress is now rooms.qichan_scenic_suite_smart_control_zero_pressure_mattress.
    • field_moved Field category is now category.name.
    • field_moved Field category_path is now category.path.
    • field_moved Field image is now media.image.
    • field_moved Field street_address is now location.street_address.
    • field_moved Field locality is now location.locality.
    • field_moved Field region is now location.region.
    • field_moved Field country is now location.country.
    • field_moved Field rating is now rating.value.
    • field_moved Field review_count is now rating.review_count.
    • field_moved Field media is now media.items.
  2. v1.0 (major) ·

More trip.com APIs

All 2 trip.com APIs

Related APIs

Browse the catalog

Don’t see the website you need?

Paste its URL to build its API yourself, with real sample records in minutes. Or request it: we email you when it’s in the catalog, or why we can’t add it. Building it costs you nothing.

5,000 records free · No card required Request it instead