Get live rates
get_ratesRead-only
Live rates for a stay at a VibeBooking hotel: each room and plan's whole-stay total with its currency, tax and cancellation terms, when the rate was read (observed_at), and book: the link to give the traveller for the cheapest offer. For another offer, call book_link with its id and total. hotel is the id from search_hotels or resolve_hotel, or the hotel's domain. For a hotel that is not ours there are no rates here: the answer is its own site's address.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hotel | Yes | The hotel id from search_hotels or resolve_hotel, or the hotel's website domain. | |
| guests | Yes | Number of adult guests. | |
| nights | Yes | Number of nights, 1 or more. | |
| checkin | Yes | Check-in date, YYYY-MM-DD. |