/despegar/hotels/search
Search Despegar hotels and accommodations in a city. Returns properties with id, name, distance from the city centre, star rating, guest rating, nightly from-price (and pre-discount price with discount label), currency, free-cancellation flag, loyalty points, amenities, main photo, photo gallery and the hotel detail URL. Pass a destination city id (resolve it via places search) and optionally check-in/check-out dates and room occupancy for dated pricing. Results are the curated ‘from-price’ shelf offers Despegar surfaces for the city (popular/best/by-star/with-breakfast shelves, deduplicated per hotel) — a discovery listing, not an exhaustive filterable availability board; star/price/amenity facets are not accepted as inputs.
Price: 10 credits
⚠️ Common errors: 412: City not found or no hotels available for the given destination
Authorizations
API token from the dashboard
Headers
Body
1x >= 120 <= x <= 1500AR, BO, CL, CO, CR, EC, SV, GT, MX, NI, PA, PY, PE, PR, US, UY 1 <= x <= 81 <= x <= 8Response
Successful Response