The fitness class booking API with capacity built in
Sessions with 24 spots, class packs, peak-hour rates and last-minute instructor swaps, all in one API. Members search in plain language and only see classes they can still join.
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.
From one sentence to a paid booking. And the insight that brings the next one.
Your marketplace, your brand. Slotr runs search, availability, pricing, payment holds and the console behind it.
Class booking is a counting problem. Calendars were built for one-to-one meetings.
- 01
One class, two dozen people
A class is a single session with many participants. Selling it means counting spots, not checking free or busy, and the count has to stay right when twenty members tap book in the same minute.
- 02
Full classes still have demand
When the 6pm spin class fills, people still want in. Without a clear signal the moment a spot frees up, late cancellations go unused and a paid-for bike sits empty for the whole session.
- 03
Credits are a second currency
Members pay with class packs, monthly memberships and drop-in cards. Each booking has to know whether it costs a credit, money or nothing, and give back the right one when someone cancels.
- 04
Instructors call in sick
Swapping a coach shouldn't cancel 18 bookings. The session keeps its time, room and attendees, while members who booked for that specific coach may deserve a heads-up and a free cancellation.
- 05
Peak hours sell out first
Before-work and after-work sessions fill while midday classes run half empty. Studios want peak surcharges and off-peak discounts without rebuilding the price table every time the timetable changes.
- 06
A timetable isn't search
A Tuesday evening class is useless to a member if it's already full. Generic filters return the schedule, while members want sessions they can still join, close to them and at their level.
Members ask for a class. Slotr answers with the ones that have room.
- “Evening yoga class near me with spots left this week”discipline=yoganear≤2 km youstart≥6pmdatesinthis weekspots≥1
14 sessions still have room. 3 Thursday classes are left out because they're full, and 2 cost an extra credit under the peak-hour rule.
- “Beginner reformer pilates on Saturday morning, I have 2 credits left”discipline=reformerlevel=beginnertimeinSat morningcredits≤2
5 classes match and 2 take credits. The 9am session costs 2 credits because reformer classes are priced above standard mat sessions.
- “Spin before 7am tomorrow with Coach Dani”discipline=spinstart<7amdate=tomorrowinstructor=Dani
Dani's 6am class has 4 spots. Her 6:45am class now has a substitute, so it's listed separately and labeled with the change.
Index your timetable. Members find classes with room left.
Slotr indexes each session together with its capacity, instructor and pricing rules, so every result can still take one more booking.
- 01
Index your entities.
Listings, providers and rooms become searchable — together with their rules, prices and availability.
Soho Loft$135 / nightCanal House3+ nights dealBeach Studio$110 / nightSlotr - 02
Booking search.
Customers search in plain language. Results respect your rules and real availability.
Place for 2 in London, under $140, next weekendSoho LoftFri – Sun · per night$135Canal Housematched via 3+ nights rule$160$118Rooftop Studiobooked that weekend— - 03
AI recommendations.
Suggests better options than your filters would ever find — and explains why.
Recommended for youStay one more night at Canal House and it drops to $118 a night — cheaper than your top result.−13% vs. your searchFri – Mon openAlso consider: Beach Studio, Brighton$110
Booking from a prompt
Describe your booking model in any AI builder — v0, Lovable or Cursor. Slotr sets up the rest.
Mobile booking SDKs
The same booking engine and UI in your React Native, iOS, Android and Flutter product.
Credits, packs and peak hours as rules, not a price table in your code.
Rules as advanced as your business.
Build pricing and availability as a flow. Every quote follows it.
Works for anything bookable.
Clinics, salons, gyms, rentals, coworking. You bring the entities — Slotr makes them bookable.
One slot, one booking.
Two people try to book the same slot at the same moment. One gets it. The other gets a clear answer.
Answers that come with reasons.
Every price shows how it was built. Every missing slot says why it’s missing.
Your timetable, made bookable. Sessions with capacity, not one-to-one slots.
Member and billing records stay in your database. Slotr indexes the capacity, timetable and rules that booking needs.
A class picker that shows spots left. In your studio's colors.
Use the Booking Kit calendar to list sessions, remaining spots and credit prices, or go headless inside your mobile app. Capacity and totals come from the same engine.
<SlotrBooking
bookable="therapist_42"
accent="#8E99FF"
radius="soft"
theme="dark"
/>Book a spot in one call. Capacity is counted for you.
Drop it into your product. No per-provider accounts, no iframes — your database stays the source of truth.
const classes = await slotr.search({
type: "class",
query: "evening yoga near Park Slope this week",
filters: { spotsLeft: { gte: 1 } }
});await slotr.bookings.create({
bookable: classes[0].id,
participant: "m_3390",
start: "2026-11-04T23:15:00Z"
});// booking.cancelled → offer the spot to your waitlist
app.post("/webhooks/slotr", async (req, res) => {
if (req.body.type === "booking.cancelled") {
await notifyWaitlist(req.body.data.bookable);
}
res.sendStatus(200);
});How to build class booking for a studio or fitness app
Model sessions with capacity, not appointments
A fitness class booking API has to treat each session as one bookable with many participants. A 45-minute spin class with 24 bikes is a single bookable at a fixed time with a capacity of 24, and every booking takes one spot. Personal training is the opposite: one trainer, one client, one slot.
Keep the weekly timetable in your own system and sync each upcoming session to Slotr with its capacity, instructor, room and level. Availability becomes the number of spots left, and it changes the moment a member books or cancels.
Treat credits and packs as pricing rules
Most studios sell class packs, memberships and drop-ins side by side. Keep each member's credit balance in your database, sync it as a participant attribute, and let rules decide the cost: one credit for a mat class, two for reformer, cash for drop-ins and a surcharge during peak hours.
Each quote carries its breakdown, so when a member asks why the 6pm class took two credits, the answer is already written down and your front desk doesn't have to reconstruct it.
Turn cancellations into filled spots
Full classes are where demand is highest. Slotr sends booking.cancelled when a member drops out, which is the moment to offer the spot to the next person on your waitlist. Keep the waitlist order in your app and book the spot for whoever accepts first. Conflict protection makes sure two waitlisted members can't both claim the last bike.
Watch the cancellation window. A spot freed ten minutes before class is rarely filled, so many studios charge a late-cancel fee or keep the credit inside a cutoff. Express that cutoff as a rule on the class type, and a forfeited credit comes with the rule that caused it, so members read the reason instead of opening a support ticket.
Swap instructors without cancelling the class
When a coach is out, update the session's instructor attribute instead of deleting and recreating it. Bookings stay attached, and your app can message members who picked that class for the original coach by email, SMS or WhatsApp. If you want to let them leave without a late-cancel fee, add a rule that waives it for sessions with a substitute.
Search updates at the same time, so a member looking for Coach Dani is never sent to a class she no longer teaches.
Questions about fitness class booking
How do I build class booking with a limited number of spots?
Create each class session as a bookable with a capacity attribute, such as 24 bikes or 18 mats. Every booking takes one spot, availability returns how many are left, and concurrent requests for the last spot are serialized so only one member gets it.
Does Slotr support class packs and credits?
Yes, through rules. Store each member's credit balance in your system and sync it as an attribute. Rules decide whether a class costs one credit, two credits or a cash price, and every quote shows which rule applied and why.
Can I run a waitlist for full classes?
Yes, with webhooks. When a member cancels, Slotr emits booking.cancelled for that session. Your app offers the freed spot to the next person on its waitlist and books it for whoever accepts first, and holds stop two members from claiming the same spot.
How do I charge more for peak-hour classes?
Add a rule with a time condition, for example a weekday start between 5pm and 8pm, and an action such as +$4 or one extra credit. Rules can be scoped per class type or per studio, and each quote lists the surcharge as its own line.
What happens to bookings when an instructor is replaced?
They stay in place. Update the instructor attribute on the session and every booking remains attached. Search reflects the change right away, and your app can notify members who chose that class for the original coach by email, SMS or WhatsApp.
Can members search for classes in plain language?
Yes. A query like "evening yoga near me with spots left this week" becomes filters for discipline, distance, time and remaining capacity. Full sessions are excluded, and AI Recommendations suggest a similar class with room when the first choice is nearly sold out.
Is pricing per studio, per instructor or per member?
None of those. Studios and instructors are entities, not seats, and there is no limit on how many sessions you index. You pay when members book. Slotr is pre-launch, so join the waitlist for early access.
Fill every class. Skip building the spot counter.
Join the waitlist for early access to Slotr for fitness studios and class apps.