Skip to main content
POST
Retrieve the best available price for each arrival date within a specified date range, for a given guest configuration, displaying results in calendar format.

Body

application/json

The period to cover (begin and end dates, both included), the party of guests to accommodate, the rate plan, rooms and rates to look at, and how to arbitrate between restricted dates. Guests is an array but only one item is currently allowed; sending more is rejected with a 400.

Request a number of daily best prices for a given period, for a given number of guests

beginDate
string<date>
required

First date to be returned

Example:

"2027-08-31"

endDate
string<date>
required

End of the requested period. This date is included

Example:

"2027-08-31"

guests
object[]
required

Number of guests the price is requested for. One item per "party". Exactly one item is currently allowed: the array is kept for forward compatibility, and a request with more than one party is rejected with a 400.

Required array length: 1 element
filter
object
required

Filter to apply to the best price request

behaviour
enum<string>
default:LowestLengthOfStay

When the date has restrictions, indicates how to behave

  • LowestLengthOfStay: (default): Will prioritise the shortest length of stay, to prevent displaying dates with minimum stays when there is a flexible rate available
  • CheapestStay: Will prioritise the cheapest stay, to prevent an overpriced flexible stay from being returned when longer stays are cheaper
Available options:
LowestLengthOfStay,
CheapestStay
impersonation
object | null

Impersonation information to restrict the scope of the request

Response

One entry per arrival date of the period, with the best price found, the effective stay restrictions, the hotel availability and, when no arrival is possible, the reason.

arrivalDate
string<date>

Arrival date (yyyy-MM-dd)

Example:

"2027-08-31"

minimumStay
integer<int32>

Effective minimum stay for an arrival that day, on this rate and room.

Example:

2

maximumStay
integer<int32>

Effective maximum stay for an arrival that day, on this rate and room. Value is capped at the values provided in the request INFO: There may be other (more expensive) offers that will allow the guest to stay longer

Example:

15

totalPrice
number<double>

Best Total price (Room + meals) to host all guests that day (average per night if minimum stay > 1)

Example:

100.5

originalTotalPrice
number<double> | null

Total price without promotion applied (average per night if minimum stay > 1) Value is omitted if there is no promotion that day

Example:

120

currency
string | null

Iso Currency code.

Example:

"EUR"

offerCodeId
string<uuid> | null

id of the promotion applicable to that day Value is omitted if there is no promotion with an id that day

Example:

"3fa85f64-5717-4562-b3fc-2c963f66afa6"

hotelAvailability
integer<int32>

Total number of rooms available in the hotel that day (all room types, all rates)

Example:

5

status
enum<string>

Whether an arrival is possible that day, and if so whether it can be booked directly

  • Available: Room is available for booking
  • OnRequest: Hotel must confirm availability before booking
  • NotAvailable: Room is not available for booking
Available options:
Available,
OnRequest,
NotAvailable
unavailabilityReason
enum<string>

Why an arrival is not possible that day. Set to none when the arrival is possible.

  • None: Hotel is available
  • GuestsDoNotFitInRoom: There is no room in the hotel that can fit that number of guests together
  • NoArrival: There is availability, but it is not possible to arrive that day
  • MultipleRates: (Only in case of multiple parties of guests in the request): There is availability, but the best price is on different rates.The price may not be correct
  • MinimumStayTooLong: There is no rate available that day that meets the maximum length of stay requested
  • Other: Other reasons (hotel has probably no inventory left)
Available options:
None,
GuestsDoNotFitInRoom,
NoArrival,
MultipleRates,
MinimumStayTooLong,
Other
closedOnDeparture
boolean

Whether guests can leave the hotel that day

rateId
integer<int32>

Identifier of the best rate When requesting multiple parties at once, we return 0 if the best rate is not the same across all rooms

Example:

5678

rooms
object[] | null

Rooms availability and guest allocation

additionalTaxes
number<double> | null

Taxes that must be collected in addition to the TotalPrice (due on site or at booking)

Example:

5.5

additionalFees
number<double> | null

Fees that must be collected in addition to the TotalPrice (due on site or at booking)

Example:

2

includedTaxes
number<double> | null

Taxes that are included in the TotalPrice

Example:

9.15

includedFees
number<double> | null

Fees that are included in the TotalPrice

Example:

1.5