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

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.

  • 1 credit per call
  • Failed calls are free
  • Updated
  • tripcom.attractions.search
Response completed
{  "has_more": false,  "total_found": 35,  "attractions": [    {      "title": "London Eye",      "attraction_id": "81747",      "url": "https://www.trip.com/travel-guide/attraction/london/london-eye-81747/",      "tags": [        "attraction"      ]    },    {      "title": "The British Museum",      "attraction_id": "78696",      "url": "https://www.trip.com/travel-guide/attraction/london/the-british-museum-78696/",      "tags": [        "attraction"      ]    }  ]}
Try it live, free
Input

What you send

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

FieldTypeRequiredWhat it doesExample
query string yes The destination, such as London or Paris. London
adults integer no Number of adults.
children integer no Number of children.
currency string no Currency code, such as GBP.
date string no Leave out: the list shows attractions without ticket dates.
destination string no The same destination again, if you like; a different place is not accepted.
locale string no Language, such as en.
location_id string no Trip.com's ID for the destination, when you have it.
max_pages integer no How many pages to read in one call.
max_results integer no How many attractions to return; 0 returns all.
page integer no Which page of attractions.
Response

Fields it returns

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

FieldTypeWhat it isExample
attractions[].title string The attraction's name. London Eye
attractions[].attraction_id string Trip.com's ID for the attraction; pass it to the attraction endpoint. 81747
attractions[].tags array Labels Trip.com gives the result. attraction
attractions[].url string The attraction's page on Trip.com. https://www.trip.com/travel-guide/attraction/london/london-eye-…
attractions array The attractions found. 35 records
has_more boolean Whether more results follow. false
total_found integer How many attractions were found. 35
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.attractions.search",  "input": {    "query": "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, 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.
Trip.com Travel

More from the Trip.com Travel API

Questions

Trip.com Travel Attractions 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 Attractions 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 query. 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.attractions.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.