Trip.com Attraction Detail API Documentation Get one attraction with description (text and HTML), address, phone numbers, opening hours, coordinates, rating, ranking, district, breadcrumbs, up to 5 images with the total image count, entry policies and the ticket and tour options with prices. Coordinates are always WGS84. Prices are numbers in the requested currency; a ticket option has the price, the original price, the discount, availability, the first bookable date and what it includes. An attraction without tickets returns an empty ticket_options list. The text of this page stays English in every locale. Typical answer time is 2 to 3 seconds. Cost: 1 credit. Unknown ids return 404 and cost nothing.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
This endpoint has no required query parameters.
4 optional filters available.
string
Optional
Attraction id from the attractions search endpoint (type attraction). Example: 78772.
1234567890
string
Optional
A Trip.com attraction URL instead of the id, e.g. https://www.trip.com/travel-guide/attraction/paris/eiffel-tower-78772.
https://example.com/product
string
Optional
USD, EUR, GBP, JPY or KRW. Defaults to USD. Every price in the answer uses this currency.
USD
string
Optional
Site language: en, en-gb, de, fr, ja, ko or zh-hk. Defaults to en. It sets the language of names and tags. Text on detail pages stays English.
en-US
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"id": "78772",
"url": "https://www.trip.com/travel-guide/attraction/paris/eiffel-tower-78772",
"name": "Eiffel Tower",
"images": [
"https://ak-d.tripcdn.com/images/example.jpg"
],
"locale": "en",
"phones": [
"+33892701239"
],
"rating": 4.6,
"address": "Av. Gustave Eiffel, 75007 Paris, France",
"aliases": [
"La Tour Eiffel"
],
"is_free": false,
"ranking": {
"rank": 21,
"reason": "World Heritage Site",
"description": "2026 Global 100 - Best Things to Do"
},
"currency": "USD",
"district": {
"id": "308",
"name": "Paris",
"city_id": "192"
},
"location": {
"latitude": 48.85837,
"longitude": 2.294481,
"coordinate_system": "WGS84"
},
"subtitle": "Tour Eiffel",
"categories": [
"Historic landmark"
],
"from_price": 23.41,
"breadcrumbs": [
{
"id": "100024",
"name": "France",
"type": "Country"
}
],
"description": "Climb the Eiffel Tower ...",
"image_count": 567,
"name_english": "Eiffel Tower",
"review_count": 4363,
"opening_hours": {
"tips": null,
"status": null,
"details": null,
"summary": "Please contact the attraction to confirm specific opening hours"
},
"entry_policies": [
{
"name": "Age requirements",
"text": "Children must be accompanied by an adult to enter."
}
],
"ticket_options": [
{
"id": "52452887",
"name": "1st-Floor Via Lift + Dinner",
"tags": [
"Ticket collection required"
],
"price": 129.8,
"currency": "USD",
"includes": [
"Eiffel Tower Ticket to the 1st-Floor Via Lift"
],
"available": true,
"promotions": [],
"resource_id": "67891031",
"sales_count": 104,
"original_price": 129.8,
"traveller_type": "Adult",
"discount_amount": null,
"discount_percent": null,
"first_available_date": "2026-11-10"
}
],
"visit_duration": "2-3 hours",
"description_html": "<p>Climb the Eiffel Tower ...</p>",
"ticket_option_count": 1
},
"meta": {
"billable": true,
"endpoint_family": "attractions_detail"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Validation Error
A query parameter is missing or invalid. This response is not billable.
{
"errors": {
"id": [
"An attraction id or a Trip.com attraction URL is required. Take the id from the attractions search endpoint."
]
},
"message": "The request validation failed"
}Resource Not Found
The attraction id is unknown. This response is not billable.
{
"meta": {
"billable": false,
"retryable": false,
"endpoint_family": "attractions_detail"
},
"error": {
"code": "NOT_FOUND",
"message": "The requested Trip.com resource was not found."
},
"success": false
}Unexpected Upstream Format
Trip.com answered with a format Scrappa does not know. This response is not billable.
{
"meta": {
"billable": false,
"retryable": true,
"endpoint_family": "attractions_detail"
},
"error": {
"code": "PARSER_DRIFT",
"message": "Trip.com answered with an unexpected format. Please retry later."
},
"success": false
}Upstream Unavailable
Trip.com did not answer after one retry. This response is not billable. Retry later.
{
"meta": {
"billable": false,
"retryable": true,
"endpoint_family": "attractions_detail"
},
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "The Trip.com API is temporarily unavailable. Please retry."
},
"success": false
}Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.