Skip to documentation
Browse documentation

Trip.com attraction detail

Fetch Trip.com attraction detail by canonical URL with payload and DOM fallback.

Capability ID tripcom.attractions.get
Maximum runtime 30 seconds
View raw

POST /execute Shared execution endpoint

Input parameters

attraction_url string required

Trip.com attraction detail URL returned by attraction search, including regional hosts

Example https://www.trip.com/travel-guide/attraction/beijing/the-palace-museum-75595
currency string optional

Currency for returned prices.

Example GBP
locale string optional

Locale to use for the request.

Example en

Response

Successful output is returned in results[0].data.

Raw platform output is intentionally open-ended and may evolve with the upstream source.

No example output is available for this capability yet.

Execution behavior

A 200 response completed inline. A 202 response was queued; poll GET /jobs/:id until the job reaches completed or failed.