FeatureReal-time availability

An availability API that answers with bookable slots Not just free or busy.

Ask when something can be booked and get the real answer: rules, buffers, capacity, lead times and timezones applied. Query one bookable or thousands in a single call.

  • Entities.

    Your domain, synced. Doctors, rooms, courts, cars — anything.

  • Availability.

    Ask when something can be booked. Get the real answer.

  • Rules.

    Pricing and eligibility that follow your business logic.

  • Quotes.

    Know the price before the booking exists, with reasons.

  • Lifecycle.

    Create, confirm, reschedule, cancel. One API, safe by default.

  • No double-booking.

    Locks and slot holds, so every slot has exactly one owner.

  • Booking search.

    Your entities, indexed. Search by price, distance and real availability.

  • AI recommendations.

    Suggests the best booking using your rules, prices and availability.

Why it's hard

Free/busy tells you when a calendar is empty. Availability tells you what can be booked.

  • 01

    Business rules close open slots

    The calendar shows 14:00 as free. Your rules say no bookings under 24 hours' notice, no 30-minute sessions on Saturdays and nothing on public holidays. The slot looks open and fails at checkout.

  • 02

    Buffers sit between bookings

    Cleanup, travel or setup time lives between two bookings, not inside them. If availability ignores it, a booking that ends at 11:00 leaves 11:00 open, even though the room needs until 11:15.

  • 03

    Capacity is not yes or no

    A class with 12 spots, a boat with 8 seats or a room that fits two groups is still bookable when partly full. Free/busy only knows busy, so it closes the slot after the first booking.

  • 04

    Timezones break at the edges

    The provider works in Los Angeles, the customer searches from Toronto and the week crosses a daylight saving change. Store local times without a zone and one of them shows up an hour off.

  • 05

    One bookable at a time doesn't scale

    A search page needs availability for hundreds of bookables at once. Looping one request per provider is slow, hits calendar rate limits and returns results that are stale before the page renders.

  • 06

    Price decides what is available

    A customer filtering under $50 needs slots whose quoted price fits after discounts and peak rules. When availability and pricing are computed in different places, the cheapest open slot never appears.

Developers

One query for one bookable or a whole catalog. Every missing slot comes with a reason.

Drop it into your product. No per-provider accounts, no iframes — your database stays the source of truth.

One bookable
const slots = await slotr.availability.query({
  type: "room",
  bookable: "room_f",
  from: "2026-11-07",
  to: "2026-11-08",
  duration: 180,
  timezone: "Europe/Berlin"
});
Bulk
const open = await slotr.availability.query({
  type: "room",
  from: "2026-11-07",
  to: "2026-11-08",
  where: { city: "Berlin", gear: ["drum kit"], capacity: { gte: 5 } }
});
// → 38 rooms, each with slots, prices and reasons
Response
{
  bookable: "room_f",
  slots: [{ start: "2026-11-07T13:00:00Z", end: "2026-11-07T16:00:00Z", price: 57, spotsLeft: 1 }],
  excluded: [{ start: "2026-11-07T12:00:00Z", reason: "buffer after booking b_913" }]
}
Rules, buffers, capacity and timezone applied before the slot is returned.
Compared

What free/busy can't answer, an availability API has to.

Slotr availability APIPlain free/busy
Business rulesLead time, minimum duration, blackout dates and per-bookable rules appliedNot modeled; your code filters afterwards
BuffersBefore and after each booking, per bookableOnly if you add placeholder events
CapacitySpots left per slot for classes, seats or groupsA slot is either busy or free
TimezonesInstants in UTC, returned in the bookable's or viewer's zoneDepends on how each calendar stores events
Many bookablesOne query across the catalog with filtersOne request per calendar
PriceEach slot carries its quoted price from the Rules EngineNo price information
Missing slotsExcluded slots include the reasonNo explanation
External calendarsGoogle Calendar and Outlook events block time automaticallyThe source itself
Guide

How to design availability that matches reality

What an availability API should return

An availability API should return the slots a specific customer can book right now, not the gaps in a calendar. That means every constraint that could reject the booking later has to be applied before the slot is shown: working hours, existing bookings, buffers, capacity, lead time, rules and the price the customer filtered on.

If any of those checks happens only at checkout, users see slots that fail. That is the most common reason booking funnels leak, and it is invisible in analytics because the slot simply looked available.

Compute availability where the rules live

Teams often build availability as a SQL query over bookings and then add rules in application code. Each new rule becomes another filter, and search, the booking page and the mobile app drift apart because each one filters slightly differently.

In Slotr, rules are evaluated inside the availability query. A rule like "rooms over 40 square meters need a 3-hour minimum on Saturdays" removes the shorter slots everywhere at once, and the response says which rule removed them.

Query many bookables at once

Search pages and maps ask a different question: which of these 1,200 rooms are free on Saturday afternoon for five people under $60? Answering it one calendar at a time is too slow for interactive search.

Slotr keeps availability indexed per bookable and updates it when bookings, holds or synced calendar events change. A bulk query filters on attributes and availability together, so the result count you show is the count of things that can really be booked.

Store instants, show local time

Store every booking as a UTC instant and keep the bookable's IANA timezone, such as Europe/Berlin, as an attribute. Working hours are defined in the bookable's local time, so a 09:00 opening stays 09:00 across a daylight saving change.

Convert to the viewer's zone only for display. Test the weeks around daylight saving transitions in both hemispheres; that is where availability bugs tend to appear.

Pitfalls to watch

Caching availability for minutes at a time is the quickest way to show slots that are already gone. Cache the inputs, such as working hours and rules, and compute the answer when it is requested, or invalidate on every booking, hold and calendar change.

Treat held slots as unavailable for everyone except the request that holds them, and release them when the hold expires. Return reasons for excluded slots, too. "Unavailable: 15-minute buffer after the previous booking" saves a support ticket, and it helps you spot a rule that is stricter than the business intended.

Questions about availability APIs

What is an availability API?

An availability API returns the times something can be booked. A good one applies working hours, existing bookings, buffers, capacity, lead times and business rules before answering, so every returned slot can actually be booked by the person asking.

How is availability different from free/busy?

Free/busy only says whether a calendar has an event at a given time. Availability also accounts for rules, buffers, capacity and price, and it can explain why a slot is missing. Free/busy is one input into availability.

Can I get availability for many resources in one request?

Yes. Slotr's availability query accepts filters across a bookable type, such as city, capacity or equipment, and returns open slots for every matching bookable in one response, with prices and reasons included.

Does the availability API account for Google Calendar and Outlook events?

Yes. When a provider connects Google Calendar or Outlook, their external events block time in Slotr. The availability response treats those blocks the same way as bookings made through Slotr.

How are buffers and minimum notice configured?

Per bookable or per type, as attributes or rules. A buffer adds time before or after each booking, and minimum notice removes slots that start too soon. Both are applied in the availability query, not afterwards in your code.

How does Slotr handle group or capacity-based availability?

Each slot can have a capacity, and the response returns spots left. A slot stays bookable until it is full, and concurrent bookings for the last spot are serialized so only one of them gets it.

Can I try the availability API now?

Not yet. Slotr is pre-launch. Join the waitlist for early access to the availability API, the Rules Engine and the rest of the booking engine, and tell us which constraints matter most in your domain.

Show only what can be booked. Let Slotr do the math.

Join the waitlist for early access to the Slotr availability API.