Hotels
Description: Displays hotel listings with pricing, ratings, and availability information for a specific location.
API Response Structure:
{
"location": "Paris, France",
"people": 2,
"hotels": [
{
"hasImage": true,
"hasLink": true,
"name": "Hotel Name",
"price": "$200",
"rating": 4.5,
"reviews": "1,234"
}
],
"hasMap": true,
"hasMore": true,
"type": "instantAnswers",
"configType": "hotels"
}
Fields:
-
location
(string): Search location -
people
(number): Number of guests -
hotels
(array): List of hotels-
hasImage
(boolean): If hotel has images -
hasLink
(boolean): If booking link is available -
name
(string): Hotel name -
price
(string): Room price -
rating
(number): Average rating -
reviews
(string): Number of reviews
-
-
hasMap
(boolean): If map view is available -
hasMore
(boolean): If more results are available -
type
(string): Always "instantAnswers" -
configType
(string): Always "hotels"