Skip to content
Scrappa Get API key
Trip.com API 1 credit / request

Trip.com Attraction Reviews API Documentation

GET https://scrappa.co/api/tripcom/attractions/reviews

Trip.com Attraction Reviews API Documentation Get paginated guest reviews of an attraction with the text, rating, ISO 8601 date, helpful votes, language, photos, verified booking flag and the aggregate rating. Reviews come in all languages; the first page can hold a few featured reviews on top of the page size. Page N is really page N. has_more is true while more reviews exist. A page past the end returns an empty list and costs nothing. Cost: 1 credit.

Trip.com Attraction Reviews API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/tripcom/attractions/reviews
Auth header
x-api-key
Cost
1 credit / request
id = 1234567890
Response preview
200 OK
{
    "data": {
        "id": "10530807",
        "page": 1,
        "locale": "en",
        "rating": 4.7,
        "filters": [
            {
                "id": -30,
                "name": "Verified booking",
                "count": 757
            }
        ],
        "reviews": [
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

3 optional filters available.

id string Required

Attraction id from the attractions search endpoint. Example: 10530807.

Example value 1234567890
page integer Optional

Page number, 1 to 100. Defaults to 1.

Example value 1
page_size integer Optional

Reviews per page, 1 to 10. Defaults to 10.

Example value 10
locale 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.

Example value 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
JSON Response
200 OK
{
    "data": {
        "id": "10530807",
        "page": 1,
        "locale": "en",
        "rating": 4.7,
        "filters": [
            {
                "id": -30,
                "name": "Verified booking",
                "count": 757
            }
        ],
        "reviews": [
            {
                "url": "https://www.trip.com/review/seine-river-cruise-10530807-864013991",
                "text": "Worth taking the ride specially during the evening.",
                "images": [
                    "https://ak-d.tripcdn.com/images/example.jpg"
                ],
                "rating": 5,
                "language": "en-in",
                "reviewer": "Mahesh Kumar Prajapat",
                "review_id": "864013991",
                "created_at": "2026-10-26T17:07:28Z",
                "is_featured": false,
                "reply_count": 0,
                "rating_label": "Outstanding",
                "helpful_count": 2,
                "verified_booking": true
            }
        ],
        "has_more": true,
        "languages": [
            {
                "id": 2,
                "name": "en",
                "count": 0
            }
        ],
        "page_size": 10,
        "rating_label": "Outstanding",
        "review_count": 2004
    },
    "meta": {
        "billable": true,
        "endpoint_family": "attractions_reviews"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

A query parameter is missing or invalid. This response is not billable.

{
    "errors": {
        "id": [
            "An attraction id is required. Take it from the attractions search endpoint."
        ]
    },
    "message": "The request validation failed"
}
503

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_reviews"
    },
    "error": {
        "code": "PARSER_DRIFT",
        "message": "Trip.com answered with an unexpected format. Please retry later."
    },
    "success": false
}
503

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_reviews"
    },
    "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.