Get booking engine prices
Booking engine
What each room type costs for a stay, rate by rate, with the availability and the restrictions that decide whether it can be sold. Keyed by room type id; each room type carries the lowest price of all its rates for the whole stay and every rate under rate, with the price of each night in priceList. It is the answer Hotelgest's own booking engine prices with. A rate with _closed = 1, or a stay shorter than _minstay or longer than _maxstay (when not 0), cannot be booked, and neither can a stay starting on a date of closedarrival or ending on one of closeddeparture; leave out the rates with motor_excl = 1, which the hotel keeps off its engine. The room type price does NOT leave any of those out: recompute it from the rates you keep. availability is negative when the room type is overbooked. Ask for at most 365 days: a wider range answers with that window instead of an error. An arrival before yesterday or a stay ending more than 730 days ahead answers {}, and so does a property with nothing to sell or one whose prices could not be built — an empty answer is not proof that there is no availability.
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
Departure date (YYYY-MM-DD). The night before it is the last one priced
Arrival date (YYYY-MM-DD)
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
1{}
What is a pcode?
Rate limits