Hosta
FOR DEVELOPERS & INTEGRATORS

Embed booking anywhere. We'll help you set it up.

Every Hosta property comes with a lightweight embed widget and a small public API — no account or API key needed for the basics. Not comfortable with code? Our team will set this up for you, free.

EMBED WIDGET

Add a live booking widget to any page

Paste this snippet where you want availability and booking to appear. It renders your property's live calendar and lets guests submit a booking request without leaving your site.

your-property-slug is the same slug your direct booking page uses.

HTML
<div data-hosta-property="your-property-slug"></div>
<script src="https://hostahq.co/widget.js" async></script>
GET /api/public/availability
GET /api/public/availability
  ?slug=your-property-slug
  &start=2026-08-01
  &end=2026-08-31
AVAILABILITY API

Read real-time availability

Returns approved bookings and manual blocks for the date range you ask for — no guest data included. CORS-enabled, so you can call it straight from a browser to build your own calendar view.

BOOKING SUBMIT API

Submit a booking request

Availability is re-validated on our end before anything is saved, so two guests can never book the same dates. Every submission lands as pending, ready for you to confirm.

POST /api/public/book
{
  "slug": "your-property-slug",
  "firstName": "Maya",
  "lastName": "Kessler",
  "email": "maya@example.com",
  "checkIn": "2026-08-12",
  "checkOut": "2026-08-16",
  "guests": 2
}
GET /api/public/ics/:slug
https://hostahq.co/api/public/ics/
  your-property-slug
PUBLIC ICS FEED

Export your Hosta calendar out

A standard iCal feed of booked dates and blocks, with no guest details — paste this URL into Airbnb, Vrbo, Google Calendar, or any tool that accepts an iCal import.

Not a developer? We'll do the embedding for you.

Send us your website and property slug, and our team will get the booking widget embedded and tested — free, as part of every Hosta plan.

Talk to our team
Hosta

Simple, affordable booking and property management software for hosts, worldwide.

PRODUCT
COMPANY
AboutContactCareers
RESOURCES
© 2026 Hosta. All rights reserved.
Developers — Booking widget & public API | Hosta