Skip to main content
POST
Reference example

Request contract

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

Cost and request rules

Usage-based pricing. Default request estimate: $0.0253 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

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

Body

application/json
check_in_date
string
required
Maximum string length: 4096
check_out_date
string
required
Maximum string length: 4096
q
string
required
Maximum string length: 4096
adults
integer
Required range: 0 <= x <= 9223372036854776000
amenities
string
Maximum string length: 4096
async
enum<boolean>
default:false
Available options:
false
bathrooms
integer
Required range: 0 <= x <= 9223372036854776000
bedrooms
integer
Required range: 0 <= x <= 9223372036854776000
children
integer
Required range: 0 <= x <= 9223372036854776000
children_ages
string
Maximum string length: 4096
currency
string
Maximum string length: 4096
eco_certified
boolean
free_cancellation
boolean
gl
string
Maximum string length: 4096
hl
string
Maximum string length: 4096
max_price
integer
Required range: 0 <= x <= 9223372036854776000
min_price
integer
Required range: 0 <= x <= 9223372036854776000
next_page_token
string
Maximum string length: 4096
no_cache
boolean
output
enum<string>
default:json
Available options:
json
property_token
string
Maximum string length: 4096
property_types
string
Maximum string length: 4096
rating
integer
Required range: 0 <= x <= 9223372036854776000
sort_by
string
Maximum string length: 4096
special_offers
boolean
vacation_rentals
boolean

Response

Successful response. The payload schema has not been reviewed yet.