Skip to main content
POST
/despegar/hotels/search

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
destination
string
required
Minimum string length: 1
count
integer
required
Required range: x >= 1
timeout
integer
default:300
Required range: 20 <= x <= 1500
region
enum<string>
default:AR
Available options:
AR,
BO,
CL,
CO,
CR,
EC,
SV,
GT,
MX,
NI,
PA,
PY,
PE,
PR,
US,
UY
check_in
string<date> | null
check_out
string<date> | null
adults
integer
default:2
Required range: 1 <= x <= 8
children_ages
integer[]
rooms
integer
default:1
Required range: 1 <= x <= 8

Response

Successful Response

id
string
required
@type
string
default:DespegarSearchHotel
name
string | null
distance_text
string | null
stars
number | null
rating
number | null
price
number | null
original_price
number | null
currency
string | null
discount_label
string | null
has_free_cancellation
boolean | null
is_promoted
boolean | null
is_flexible
boolean | null
loyalty_points
integer | null
reference_date
string | null
city_id
string | null
url
string | null
image
string | null
images
string[]
amenities
string[]