Skip to main content
POST
Trip.com Hotel
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/hotel
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/trip/hotel
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Observed response structure

The response observations below come from successful probes or sampled requests. They are partial: fields and types may vary, and no field is guaranteed to be present. Reviewed response definitions take precedence. No real response values are published.
  • HTTP status / last observed: 200 / 2026-11-28

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
adults
integer
required
Required range: 1 <= x <= 9007199254740991
checkIn
string<date>
required
Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
checkOut
string<date>
required
Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
children
integer
required
Required range: 0 <= x <= 9007199254740991
currency
string
required
Required string length: 3
hotelId
string
required
Minimum string length: 1
locale
string
required
Minimum string length: 2
login
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
rooms
integer
required
Required range: 1 <= x <= 9007199254740991

Response

Normalized successful response

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

data
object
required