Price a stay
get_quoteThe exact price of a stay: nightly rates, discounts, cleaning and other fees, taxes and total, in integer cents, plus any refundable damage deposit the host requires and whether it is held at booking. Returns a bookingUrl that opens the host's booking page with these dates and guests filled in, where the traveller completes the booking. If the stay is not allowed (dates taken, below the minimum stay, too many guests) the reason is returned instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pets | No | Number of pets. | |
| guests | Yes | Number of guests, not counting pets or infants. Where the listing's infants is null, count babies here. | |
| checkIn | Yes | Arrival date, YYYY-MM-DD. | |
| infants | No | Children under the listing's infants.freeUnderAge. Free, and outside maxGuests. Only where the listing's infants is not null; leave out otherwise. | |
| checkOut | Yes | Departure date, YYYY-MM-DD. | |
| propertyId | Yes | A RentalCal property id. |