↑ ↓ to move ↵ to open
Trip.com Travel API · Endpoint

Trip.com Travel Hotel Search API

Send a Trip.com city hotel page, such as London hotels, and get every hotel on it with its rating, review count, position and link.

  • 1 credit per call
  • Failed calls are free
  • Updated
  • tripcom.hotel.search
Response completed
{  "has_more": false,  "query": "London",  "total_found": 31,  "listings": [    {      "title": "Holiday Inn Express LONDON - LIMEHOUSE by IHG",      "rating": 8.6,      "reviews": 730,      "id": "2196184",      "page": 1,      "position": 1,      "url": "https://nz.trip.com/hotels/london-hotel-detail-2196184/holiday-inn-express-london-limehouse-by-ihg/"    },    {      "title": "Strand Palace",      "rating": 9.2,      "reviews": 560,      "id": "731904",      "page": 1,      "position": 2,      "url": "https://nz.trip.com/hotels/london-hotel-detail-731904/strand-palace-hotel-london/"    }  ]}
Try it live, free
Input

What you send

The input object of the request, with every field the endpoint accepts.

FieldTypeRequiredWhat it doesExample
listing_url string yes A Trip.com city hotel page, such as https://nz.trip.com/hotels/london-hotels-list-338/. https://nz.trip.com/hotels/london-hotels-list-3…
adults integer no Optional number of adults.
amenities array<string> no Leave out: the list is not filtered by amenities.
check_in string no Leave out: hotel search returns the hotels on the page without date-based prices.
check_out string no Leave out, like check_in.
children integer no Optional number of children.
currency string no Currency code, such as GBP.
locale string no Language, such as en.
max_pages integer no Leave at 1.
page integer no Page 1 of the hotel page; that is the page available today.
rooms integer no Optional number of rooms.
Response

Fields it returns

What each record in the response holds, with the values from the sample above.

FieldTypeWhat it isExample
listings[].title string The hotel's name. Holiday Inn Express LONDON - LIMEHOUSE by IHG
listings[].rating number The hotel's guest rating out of 10. 8.6
listings[].reviews integer How many reviews the hotel has. 730
listings[].position integer The hotel's position in the results. 1
listings[].id string Trip.com's ID for the hotel; pass it to the hotel endpoint. 2196184
listings[].url string The hotel's page on Trip.com. https://nz.trip.com/hotels/london-hotel-detail-2196184/holiday-…
listings[].page integer The results page the hotel was on. 1
has_more boolean Whether more hotels follow. false
listings array The hotels found. 31 records
query string The place you searched. London
total_found integer How many hotels were found. 31
REST API · MCP server

Call it from your code, or ask your agent

Set UPSCRAPE_API_KEY to your key and copy a working request.

curl --request POST \  --url https://data.upscrape.com/execute \  --header "Authorization: Bearer $UPSCRAPE_API_KEY" \  --header "Content-Type: application/json" \  --header "Prefer: wait=30" \  --data '{  "capability": "tripcom.hotel.search",  "input": {    "listing_url": "https://nz.trip.com/hotels/london-hotels-list-338/"  }}'
In your AI agent Claude · Cursor · any MCP client
1Add the Upscrape MCP server
https://data.upscrape.com/mcp
2Ask for the data in plain words

Use Upscrape to get the hotels on Trip.com's London hotel page (https://nz.trip.com/hotels/london-hotels-list-338/) and give me a table of hotel, rating and review count, best rated first.

The agent finds the endpoint, shows you the price, and runs it with your credits.
Trip.com Travel

More from the Trip.com Travel API

Questions

Trip.com Travel Hotel Search API FAQ

The short answers. The docs have the long ones.

Still have a question? Talk to the people who build the endpoints.
How much does the Trip.com Travel Hotel Search API cost?

1 credit per successful call, shown before it runs. You buy credits once, and paid credits never expire.

What do I send?

Send listing_url. The input fields below list every option with its type and limits.

Do I need a Trip.com Travel login?

No. It reads public Trip.com Travel data; nothing runs on your account.

Can my AI agent call it?

Yes, over MCP: the agent finds tripcom.hotel.search, checks its price and runs it with the same credits as the REST API.

Get started

Your first Trip.com Travel call is free.

Up to 100 free credits to start, no card needed.