↑ ↓ to move ↵ to open

Trip.com Attractions Search API

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

Attractions search
{  "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

What you send, what comes back

The input object it accepts, and every field of a record, with the values from the response above.

Input11 fields
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.
Fields it returns7 fields
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

Call it from your code

Set UPSCRAPE_API_KEY to your key and copy a working request. 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.attractions.search",  "input": {    "query": "London"  }}'
Response
{  "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"      ]    }  ]}

Use it from your AI agent instead

More Trip.com endpoints

The same API key runs every one of them.

Trip.com 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 Attractions Search API cost?

2–3 credits 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.