Returns a list of all hotels worldwide that can be booked through Impala.
You can filter the results:
-
Adding
longitude,latitudeand aradius(in meters) query parameters will filter the results to hotels around this location. -
Adding
startandenddates (in ISO 8601 notation, e.g.2021-12-31) for the expected arrival and departure dates of your guests will limit the results to hotels that have at least one room bookable for this timeframe. -
Adding
starRating,nameorcountryallows you to filter to hotels based on these values (e.g.?starRating[gte]=4&name[like]=palacefor hotels with a rating of 4 or up with a name containing "palace") -
Adding
hotelIdsallows you to limit the results to include only hotels with the ids listed. Its value should be a comma-separated list of hotel ids (e.g.?hotelIds[]=hotelIdA,hotelIdB) -
Adding
contractableallows you to filter to hotels that you can directly negotiate with through our . (e.g?contractable=trueor?contractable=false)
You can specify the sorting order in which hotels are returned:
- This is done by using the
sortByquery parameter. - Results can be sorted by
namealphabetically, starratinganddistance_m(in meters from the specified latitude/longitude location). - The parameter allows for a comma-separated list of arguments with optional
:asc(ascending, the default if the modifier is omitted) and:desc(descending) modifiers.
If no hotels match your filter criteria, an empty array will be returned.