Availability and pricing
Three read-only routes: the place's content, a night-by-night calendar, and a quote for one stay. All three work with a publishable key from the browser.
Place content#
GET /place returns what the Tulo app shows publicly about the property: name, description, address, location, published contact, photos in three sizes, amenities, stay policies (check-in and check-out times, house rules, the property's cancellation text) and its room types with their capacity, minimum stay, photos and in-room amenities. An unpublished place answers 404 not_found.
Content changes rarely: cache it for minutes or hours on your side. The full shape is Place.
Units: rooms, beds and places#
Every room type sells one kind of unit, given as unit:
| unit | One unit is | Priced |
|---|---|---|
| room | A private room | Per room per night |
| bed | One bed in a shared (dorm) room | Per bed per night; one bed per adult at least |
| place | A whole dwelling sold as one unit | Per place per night, plus any cleaning_fee |
The calendar#
GET /calendar?from=&to= lists, per room type, every night from from (today or later) up to but not including to: at most 90 nights per request. Use it to grey out dates in a date picker.
curl "https://api.tulo.homes/partner/v1/calendar?from=2026-12-01&to=2026-12-31&key=tulo_pub_..." \
-H "Origin: https://hotel.example"{
"calendar": {
"place_id": "c4a1e7b2-3d5f-4e69-8a0b-1c2d3e4f5a6b",
"from": "2026-12-01",
"to": "2026-12-03",
"currency": "ZMW",
"room_types": [
{
"room_type_id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
"name": "Garden double",
"unit": "room",
"nights": [
{
"date": "2026-12-01",
"available_units": 3,
"nightly_rate": 45000,
"min_stay": 1,
"closed_to_arrival": false,
"stop_sell": false,
"bookable": true
}
]
}
]
}
}Each night#
| Field | Meaning |
|---|---|
| available_units | Units still open that night. |
| nightly_rate | Ngwee per unit for the night; null when the property has set no rate. |
| min_stay | The fewest nights a stay arriving this night may have. |
| closed_to_arrival | True when a stay may not start this night (it may still include it). |
| stop_sell | True when the property has stopped online sales for the night. |
| bookable | At least one unit open, a rate set and sales not stopped. |
| reason | Why a night is not bookable; only when you send rooms (see below). |
Quotes#
GET /quote?check_in=&check_out=&adults=&children= prices one stay for one party and returns every room type that can sell it, as room_options. Add room_type_id to price only that type. adults is 1 to 50 (default 1) and children 0 to 50 (default 0); anything else is 422 validation_failed, never a silent default.
curl "https://api.tulo.homes/partner/v1/quote?check_in=2026-12-01&check_out=2026-12-03&adults=2&children=1&key=tulo_pub_..." \
-H "Origin: https://hotel.example"{
"quote": {
"place_id": "c4a1e7b2-3d5f-4e69-8a0b-1c2d3e4f5a6b",
"check_in": "2026-12-01",
"check_out": "2026-12-03",
"nights": 2,
"adults": 2,
"children": 0,
"currency": "ZMW",
"payment": "pay_at_property",
"reservation_fee": {
"amount": 0,
"currency": "ZMW",
"applies": false
},
"room_options": [
{
"room_type_id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
"name": "Garden double",
"unit": "room",
"available_units": 3,
"nightly_rate": 45000,
"cleaning_fee": 0,
"stay_total": 90000,
"party_fits": true,
"units_required": 1,
"max_adults": 2,
"max_children": 1
}
]
}
}stay_totalis the price of one unit for the whole stay, in ngwee, cleaning fee included when the type has one.nightly_rateis the first night's rate.party_fitssays whether one unit holds the party;units_requiredis the fewest units of the type the party needs;max_adultsandmax_childrenare one unit's capacity.available_unitsis the fewest units open on any night of the stay. Abedtype fits a party of adults only, one bed each.- Nothing sellable for those dates gives an empty
room_options, not an error. paymentis alwayspay_at_propertyandreservation_feeis always{"amount": 0, "applies": false}on this API.
Stay rules#
A booking follows the same rules as one made in the Tulo app, and POST /bookings enforces them, so check them before you send the guest to your booking form:
- Minimum stay. The room type's
min_nights, and the arrival night'smin_stayin the calendar, which can be higher on some dates. - Closed to arrival. A stay cannot start on a night with
closed_to_arrival: true. - Stop sell. A night with
stop_sell: truecannot be booked online. - Dorm beds. A
bedtype needs at least one bed per adult.
A stay that breaks a rule is refused with 422 validation_failed and a message naming the rule.
Several rooms: rooms=N#
Since 1.4.0, both /calendar and /quote take an optional rooms (1 to 50). Without it they answer exactly as before.
- Calendar. A room or place type's night is
bookableonly when at leastroomsunits are open, and every night that is not bookable gains areason. Abedtype keeps its one-bed reading. - Quote. Send the whole group's
adultsandchildren. Each option addsrooms,rooms_fit,selection_totalandsuggested_split.
Night reasons#
| reason | Meaning |
|---|---|
| stop_sell | The property stopped online sales for the night. |
| fully_booked | No unit of the type is open. |
| not_enough_rooms | Some units are open, but fewer than rooms. |
| no_rate | The property has set no rate for the night. |
The full multi-room flow is in Several rooms in one booking.
When online booking is off#
/calendar, /quote and POST /bookings fail closed. They answer 503 bookings_offline when Tulo bookings are off, 403 bookings_not_granted when the property has not been granted online bookings, and 409 not_accepting when the property has paused online reservations. /place keeps working, so the site can show the property and its phone number instead of a booking form.
