Hotels
Get live hotel offers
Live, bookable offers for up to 15 hotels and one stay. Every room in stay.rooms must have the same party: for different parties, call once per party. Each offer has the room, the meals included, price.total in USD for the whole stay and every room (what is charged), fees payable at the property, the cancellation terms with times in UTC and the hotel's time zone, the confirmation mode, and an offerId for book_hotel that expires at expiresAt. Hotels with nothing to offer are listed under unavailable with the reason. Up to limitPerHotel offers per hotel, default 5, cheapest first.
Input
hotelIdsstring[]requiredHotels to price, 1 to 15, no repeats.
stayobjectrequiredDates and party. One party per call: every room must be the same.
stay.checkInstringrequiredCheck-in date in the hotel's calendar, yyyy-MM-dd.
stay.checkOutstringrequiredCheck-out date in the hotel's calendar, yyyy-MM-dd. Stays are 1 to 30 nights.
stay.roomsobject[]requiredThe rooms wanted, 1 to 8, each with its own party.
stay.rooms[].adultsintegerrequiredAdults in this room.
stay.rooms[].childrenAgesinteger[]requiredAge of each child in this room, 0 to 17. An empty list means no children.
filtersobjectFilters every offer must pass.
filters.requireBreakfastbooleanKeep only offers that include breakfast.
filters.requireFreeCancellationbooleanKeep only offers that can still be cancelled free of charge.
limitPerHotelintegerOffers per hotel, 1 to 20. Default 5.
locale"en" | "zh"Language for names and text in the response: en or zh.
displayCurrency"USD" | "CNY"Currency to show prices in, USD or CNY. It never changes what is charged: payment is in USD.
Output
structuredContent is the Offers result object, and content[0] the same answer as compact text. Errors are described in the overview.