Skip to main content
POST
Trip.com Reviews
Request example pending verification. The request example for this endpoint has not yet been verified in production. Static examples describe the request format; replace sample values with your own. Check the estimated price with a free quote request (X-AISA-Cost-Mode: quote) before running it.

Request contract

  • Method and path: POST /apis/v1/trip/reviews
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/trip/reviews
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. A price estimate is not currently available. Your account price may differ; use a request quote where supported.

Response time

  • Typically returns within 10 seconds.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
geoCode
string
required

Two-letter ISO 3166-1 country code of the proxy the page is fetched through, e.g. 'US', 'SG'. Use the target site's own country (e.g. 'ID' for lazada.co.id, 'TH' for th.hotels.com): it sets the localized prices, currency, language and availability.

Pattern: ^[A-Za-z]{2}$
hotelId
string
required

Trip.com hotel id, the hotelId in the hotel page URL (e.g. '3267031'). Reviews come back for THIS id even if url names another hotel.

Pattern: ^\d+$
url
string<uri>
required

Full Trip.com page URL, e.g. https://us.trip.com/hotels/...

locale
string

Review language, e.g. 'en-US', 'id-ID' (default 'en-US').

Minimum string length: 2
page
integer

Review page, starting at 1 (default 1).

Required range: 1 <= x <= 9007199254740991
pageSize
integer

Reviews per page, up to 100 (default 100).

Required range: 1 <= x <= 100

Response

Normalized successful response

The response envelope and container type are documented, but the business fields are not fully specified.

data
object
required