# Trip.com Attraction Detail API Documentation

<p><strong>Trip.com Attraction Detail API Documentation</strong> 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.</p>

- **Documentation:** [https://scrappa.co/docs/tripcom-api/tripcom_attractions_detail](https://scrappa.co/docs/tripcom-api/tripcom_attractions_detail)
- **API group:** Trip.com API
- **Endpoint:** `GET https://scrappa.co/api/tripcom/attractions/detail`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | No | Attraction id from the attractions search endpoint (type attraction). Example: 78772. |
| `url` | string | No | A Trip.com attraction URL instead of the id, e.g. https://www.trip.com/travel-guide/attraction/paris/eiffel-tower-78772. |
| `currency` | string | No | USD, EUR, GBP, JPY or KRW. Defaults to USD. Every price in the answer uses this currency. |
| `locale` | string | No | 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. |

## Example response

```json
{
    "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

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A query parameter is missing or invalid. This response is not billable. |
| 404 | Resource Not Found | The attraction id is unknown. This response is not billable. |
| 503 | Unexpected Upstream Format | Trip.com answered with a format Scrappa does not know. This response is not billable. |
| 503 | Upstream Unavailable | Trip.com did not answer after one retry. This response is not billable. Retry later. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
