↑ ↓ to move ↵ to open
Commerce & delivery · REST API · MCP server

Trip.com Travel API

Get Trip.com travel data as clean JSON: the hotels on a city's hotel page with ratings and review counts, hotel details, the attractions in a destination and one-way flight offers. Send a page link or a route and get structured data back.

  • 1 credit per call
  • Failed calls are free
  • Updated
tripcom.hotel.search 31 rows completed
# Hotel Rating Reviews Position Hotel ID Link Page
1 Holiday Inn Express LONDON - LIMEHOUSE by IHG 8.6 730 1 2196184 https://nz.trip.com/hotels/london-hotel-detail-2196184/holiday-… 1
2 Strand Palace 9.2 560 2 731904 https://nz.trip.com/hotels/london-hotel-detail-731904/strand-pa… 1
3 Riu Plaza London The Westminster 9 338 3 1572524 https://nz.trip.com/hotels/london-hotel-detail-1572524/riu-plaz… 1
4 Royal National Hotel 8.2 3190 4 2985758 https://nz.trip.com/hotels/london-hotel-detail-2985758/royal-na… 1
5 Holiday Inn LONDON - KENSINGTON HIGH ST. by IHG 8.3 514 5 730803 https://nz.trip.com/hotels/london-hotel-detail-730803/holiday-i… 1
6 Travelodge London Central City Road 8.1 59 6 18143221 https://nz.trip.com/hotels/london-hotel-detail-18143221/travelo… 1
7 The Imperial 9 63 7 3061459 https://nz.trip.com/hotels/london-hotel-detail-3061459/the-impe… 1
8 Travelodge London Wembley 8.7 55 8 17500546 https://nz.trip.com/hotels/london-hotel-detail-17500546/travelo… 1
9 Riu Plaza London Victoria 9.1 172 9 101185681 https://nz.trip.com/hotels/london-hotel-detail-101185681/hotel-… 1
10 Britannia International Hotel Canary Wharf 10 730568 https://nz.trip.com/hotels/london-hotel-detail-730568/britannia… 1
Endpoints

Trip.com Travel API endpoints

What each one takes and what it returns. Open one for a real response, every input and every field.

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.

Sendlisting_url Returnstitleratingreviewspositionidurl
1 credit

Trip.com Travel Hotel Detail API

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

Sendhotel_url Returnstitleratingreviewslocationaddressamenities
1 credit

Trip.com Travel Attractions Search API

List the attractions Trip.com shows for a destination, such as the London Eye in London, with their IDs and links.

Sendquery Returnstitleattraction_idtagsurl
1 credit

Trip.com Travel Attraction Detail API

Get one attraction from its Trip.com link: title, category, description and location.

Sendattraction_url Returnstitleratingreviewslocationattraction_idcategory
1 credit

Trip.com Travel Flight Search API

Search one-way Trip.com flights for a route and date, with passengers and cabin class, in the currency you choose.

Sendoriginanddestinationanddeparture_date Returnsairline_codesarrival_timecabincurrencydeparture_timedestination
1 credit

Trip.com Travel Public Hotel Reviews API

Read the public reviews on a Trip.com hotel page, page by page.

Sendhotel_url Returnsratingoriginal_languageoriginal_textrating_scalereview_idsource_date
1 credit

Trip.com Travel Train Search API

Find trains between two cities on Trip.com with stations, times, duration, operator and train number.

Sendoriginanddestination Returnsarrival_station_iddeparture_station_idend_pagequeryquery_datereturned
1 credit

Trip.com Travel Car Rental Search API

See which cars and rental companies Trip.com lists at a pickup place, such as London Heathrow, with their from prices.

Sendquery Returnscarscurrencyend_pagepickup_namesource_urlstart_page
1 credit
Use cases

What teams build with Trip.com Travel data

Know before you build

How Trip.com Travel data behaves

REST API · MCP server

Call it from your code, or ask your agent

One request shape for every Trip.com Travel endpoint: the endpoint ID and its input. No SDK needed.

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/"  }}'
Response
{  "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/"    }  ]}
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.

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.

With Upscrape, list the attractions Trip.com shows for London, with a link to each one.

The agent finds the endpoint, shows you the price, and runs it with your credits.
Commerce & delivery
Questions

Trip.com Travel API FAQ

The short answers. The docs have the long ones.

Still have a question? Talk to the people who build the endpoints.
Is there an official Trip.com API?

Trip.com offers partner programmes for affiliates and suppliers. Upscrape reads public Trip.com pages instead, so you can get hotel lists, attractions and flight offers with one API key.

Can I get hotel prices for my dates?

Hotel search returns the hotels on a city page with ratings and review counts, without date-based room prices. Flight search does return fares for the date you choose.

Which Trip.com sites work?

Send links from Trip.com's regional sites, such as nz.trip.com or www.trip.com, as Trip.com shows them.

Do I need a Trip.com account?

No. You send a page link or a route and get JSON back. Nothing runs on your account.

What data can I get from Trip.com Travel?

Hotel search, hotel detail, attractions search, attraction detail, flight search, public hotel reviews, train search and car rental search. Each is its own endpoint with a published input schema, and the response is JSON.

How much does the Trip.com Travel API cost?

Every Trip.com Travel endpoint costs 1 credit per successful call. You buy credits once, with no subscription, and paid credits never expire. New accounts get free credits to try it.

Can an AI agent use the Trip.com Travel API?

Yes. Connect any MCP client to the Upscrape MCP server with OAuth or an API key. The agent finds the Trip.com Travel endpoint, checks its price and runs it with the same credits as the REST API.

Is it legal to scrape Trip.com Travel?

Upscrape reads public pages only and needs no login. How you use the data is yours to decide under the laws that apply to you; we sign a data processing agreement for your legal review.

Get started

Your first Trip.com Travel call is free.

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