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:

Units
unitOne unit isPriced
roomA private roomPer room per night
bedOne bed in a shared (dorm) roomPer bed per night; one bed per adult at least
placeA whole dwelling sold as one unitPer 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"
Response shape · JSON
{
  "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#

Night fields
FieldMeaning
available_unitsUnits still open that night.
nightly_rateNgwee per unit for the night; null when the property has set no rate.
min_stayThe fewest nights a stay arriving this night may have.
closed_to_arrivalTrue when a stay may not start this night (it may still include it).
stop_sellTrue when the property has stopped online sales for the night.
bookableAt least one unit open, a rate set and sales not stopped.
reasonWhy 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"
Response shape · JSON
{
  "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_total is the price of one unit for the whole stay, in ngwee, cleaning fee included when the type has one. nightly_rate is the first night's rate.
  • party_fits says whether one unit holds the party; units_required is the fewest units of the type the party needs; max_adults and max_children are one unit's capacity. available_units is the fewest units open on any night of the stay. A bed type fits a party of adults only, one bed each.
  • Nothing sellable for those dates gives an empty room_options, not an error.
  • payment is always pay_at_property and reservation_fee is 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's min_stay in 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: true cannot be booked online.
  • Dorm beds. A bed type 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 bookable only when at least rooms units are open, and every night that is not bookable gains a reason. A bed type keeps its one-bed reading.
  • Quote. Send the whole group's adults and children. Each option adds rooms, rooms_fit, selection_total and suggested_split.

Night reasons#

Night reasons
reasonMeaning
stop_sellThe property stopped online sales for the night.
fully_bookedNo unit of the type is open.
not_enough_roomsSome units are open, but fewer than rooms.
no_rateThe 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.

Questions? Email support@mail.tulo.homes or WhatsApp +260 77 235 2417.