Skip to main content
POST
Hotels.com Hotel Reviews

Request contract

  • Method and path: POST /apis/v1/hotels-com/reviews
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/hotels-com/reviews
  • Runtime facts: 14f444d8ae2c8128badc03d95dec4beb8e418fb6f82645a4e8a0ff6476366cf0
Complete OpenAPI definition Effective request and pricing declaration (including authentication and referenced schemas):

Cost and request rules

A request reference price is not currently available; use a request quote where supported. Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.
  • Cost contract: response_units
  • Published reference multiplier: 1.0
  • Settlement evidence source: response_body

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}$
property
string<uri>
required

Full Hotels.com hotel page URL; it must contain expediaPropertyId=<id>, e.g. https://th.hotels.com/en/ho144899/mandarin-orchard-singapore/?expediaPropertyId=19078.

Pattern: [?&]expediaPropertyId=[0-9]+(?:&|$)
url
string<uri>
required

Hotels.com home page of the local site the reviews are read from, e.g. https://th.hotels.com

Pattern: ^https://(?:[A-Za-z0-9-]+\.)?hotels\.com/?$
pageIndex
integer

Review page, starting at 1 (default 1).

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

Reviews per page (default 20).

Required range: 1 <= x <= 9007199254740991

Response

Normalized successful response

data
object
required