Get the daily price of the rates you can push to
RMS
The price each rate of rms/rates sells at, night by night from start to end (both included), as Hotelgest prices it: the rate’s base, a channel rate’s derived from its channel base, the price set for a night on top of it, and a linked rate (anchored) worked out from the rate it follows unless that night has a price of its own. For a channel rate it is what the legacy /v1/booking/price gave with channel=1 in rateChannel[…].priceList; unlike there, a channel rate comes whether or not its room type is on the booking engine, and main and mainchannel come too. A night with no price comes with price: null, never 0.
Each rate carries its roomTypeId, and each night also carries, as the legacy /v1/booking/price did: availability, the free rooms of that room type (the legacy availabilityList), which can be 0 (full) or negative (overbooked) and is null only when there are no rooms to read; and the stay restrictions minStay (the legacy minstay, 1 when none is set), maxStay (0 when there is no maximum), closed, closedToArrival and closedToDeparture. A channel rate’s restrictions come from its OTA’s own calendar; the legacy read them all from the direct-sale one.
end at most 366 days after start; a wider range is refused with rmsDateRangeTooLong. Narrow it with rateId, with roomTypeId, or with both (an intersection); an id that is not one of rms/rates is left out.
Console
Runs against the API from your browser, with the same request your server will send.
Environment
Production
https://uni-api.hotelgest.com
Calls hit live data with your own API key. A POST, PUT, PATCH or DELETE here changes a real property.
Credentials
The API key, sent on every request. A property admin creates it in the PMS under Settings → API keys; a partner receives one per property when the property activates its integration. It works only for the property it was issued for, and only on the endpoints granted to it.
This endpoint needs a credential. Without it you will get a 401.
Stored in this browser only. Never sent anywhere but the API host above.
Path parameters
Query parameters
Send the request to see the real response here.
Nothing is mocked. What comes back is what the API returned.
Requests go straight from your browser to the API host above — nothing is proxied through this site.
Path parameters
Property code. Identifies the property (hotel, apartment building, hostel) the request applies to. It must match the property your API key was issued for.
Query parameters
First night
Last night, included. At most 366 days after start
Only these rates, by the id of rms/rates: repeat it (rateId=1&rateId=2) or separate them with commas. Without it, every rate
Only rates of these room types, by the roomTypeId of rms/rates: repeat it (roomTypeId=1&roomTypeId=2) or separate them with commas. Combined with rateId as an intersection — a rate must match both. An id that is not a room type of this property is left out, as with rateId
Responses
Ok. If your API key answers encrypted — every key issued now does, and every partner credential — this body arrives as the encryption envelope ({ crypto, protected, wrappedKey, iv, payload, tag }, a compact JWE), and the schema below is what its payload decrypts to. See https://public-api.hotelgest.com/public/guides/encryption
First night, as asked
Last night, as asked (included)
The rates of rms/rates (or the ones asked for in rateId), in the same order
What is a pcode?
Rate limits