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

Trip.com Travel Hotel Detail API

Get one hotel from its Trip.com link: name, description, address, rating, review count and amenities.

  • 1 credit per call
  • Failed calls are free
  • Updated
  • tripcom.hotel.get
Response completed
{  "title": "Royal National Hotel",  "rating": 8.2,  "reviews": 3139,  "location": "London",  "address": "38-51 Bedford Way, Camden, London, Greater London WC1H 0DG, United Kingdom",  "collected_at": "2026-09-20T20:54:11Z",  "hotel_id": "2985758",  "image_url": "https://ak-d.tripcdn.com/images/1mc4512000dl5w9gpC200_R_960_660_R5_D.jpg",  "rating_text": "Very good",  "source_url": "https://nz.trip.com/hotels/london-hotel-detail-2985758/royal-national-hotel-london/",  "url": "https://nz.trip.com/hotels/london-hotel-detail-2985758/royal-national-hotel-london/",  "amenities": [    "Public parking",    "Luggage Storage"  ],  "facilities": [    "Public parking",    "Luggage Storage"  ]}
Try it live, free
Input

What you send

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

FieldTypeRequiredWhat it doesExample
hotel_url string yes The hotel's Trip.com link, such as one from hotel search. https://nz.trip.com/hotels/london-hotel-detail-…
adults integer no Number of adults.
amenities array<string> no Amenities you are looking for.
check_in string no Check-in date, YYYY-MM-DD.
check_out string no Check-out date, YYYY-MM-DD.
children integer no Number of children.
currency string no Currency code, such as GBP.
locale string no Language, such as en.
rooms integer no Number of rooms.
Response

Fields it returns

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

FieldTypeWhat it isExample
title string The hotel's name. Royal National Hotel
rating number The hotel's guest rating out of 10. 8.2
reviews integer How many reviews the hotel has. 3139
location string The city the hotel is in. London
address string The hotel's address. 38-51 Bedford Way, Camden, London, Greater London WC1H 0DG, Uni…
amenities array Amenities the hotel lists. Public parking, Luggage Storage, Bar
collected_at string When this result was collected. 2026-09-20T20:54:11Z
facilities array Facilities the hotel lists. Public parking, Luggage Storage, Bar
hotel_id string Trip.com's ID for the hotel. 2985758
image_url string The hotel's main photo. https://ak-d.tripcdn.com/images/1mc4512000dl5w9gpC200_R_960_660…
rating_text string The rating in words, such as Very good. Very good
source_url string The Trip.com page this was read from. https://nz.trip.com/hotels/london-hotel-detail-2985758/royal-na…
url string The page on Trip.com. https://nz.trip.com/hotels/london-hotel-detail-2985758/royal-na…
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.get",  "input": {    "hotel_url": "https://nz.trip.com/hotels/london-hotel-detail-2985758/royal-national-hotel-london/"  }}'
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

With Upscrape, get the Trip.com Travel hotel detail for https://nz.trip.com/hotels/london-hotel-detail-2985758/royal-national-hotel-london/. Tell me what it costs before you run it, then show the results as a table.

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 Detail 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 Detail 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 hotel_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.get, 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.