One hotel API. Every supplier you connect.
Build search, rooms, booking and cancellation once — against a sandbox that behaves like production — and every supplier you add works the same way.
- 1Create an accountGenerate a sandbox key in the portalQuickstart
- 2Make your first searchSandbox test cities, every supplier at onceSearch
curl https://api-sandbox.unifystays.com/hotels/search \ -H "x-api-key: $UNIFYSTAYS_API_KEY" \ -d '{ "destination": { "type": "place", "id": 2930267 }, "check_in": "2026-12-10", "check_out": "2026-12-13", "rooms": [{ "adults": 2 }] }'
- 3Book in the sandboxRooms, prebook, booking and cancellationBooking flow
- 4Go liveSwitch to a production key — same codeLaunch checklist
Five steps. One contract. Every supplier.
The same steps from search to cancellation whichever supplier the room comes from — with safeguards built in.
- 1 · SearchSearch hotels
Every supplier at once, one listing per hotel.
API reference - 2 · RoomsGet rooms
The same room grouped across suppliers.
API reference - 3 · PrebookConfirm the price
Checked with the supplier before you book.
UnifyStays AI checkAPI reference - 4 · BookCreate the booking
Safe to retry — booked once.
UnifyStays AI checkAPI reference - 5 · AfterStatus & cancel
Status, cancellation quote and cancel.
API reference
Built so your booking code stays simple.
One contract, every supplier
Search, rooms, prebook, booking and cancellation work the same way for every supplier you connect.
Booking flowSafe retries
Repeat a booking request after a timeout and you get the original booking back — never a second one.
Errors & retriesSigned webhooks
Booking changes are pushed to your system, signed so you can trust them.
Webhooks guideErrors you can act on
Specific errors tell your code whether to retry, re-quote or ask the user.
Errors & retriesA sandbox like production
Build the whole flow against sandbox test cities, then switch keys to go live.
EnvironmentsAI-guarded bookings
UnifyStays AI checks every booking is for the right hotel and room — nothing for you to build.
How booking worksTwo base URLs. Same code.
SandboxBuild and test
https://api-sandbox.unifystays.comTest hotels in the sandbox test cities, using a sandbox key from your portal.
ProductionGo live
https://api.unifystays.comReal bookings on your own supplier accounts, using a production key.
Everything else lives in the docs.
Guides, the full API reference and the launch checklist are at docs.unifystays.com.
- Start · docs.unifystays.com/quickstartQuickstart
Your first search in minutes.
Open in docs - Guide · docs.unifystays.com/guides/hotel-booking-flowHotel booking flow
Every step from search to cancellation.
Open in docs - Guide · docs.unifystays.com/errorsErrors & retries
What to do with every error.
Open in docs - Guide · docs.unifystays.com/guides/webhooksWebhooks
Booking updates pushed to you.
Open in docs - Guide · docs.unifystays.com/guides/launch-checklistLaunch checklist
Everything to check before going live.
Open in docs - Reference · docs.unifystays.com/api-reference/overviewAPI reference
Every endpoint, request and response.
Open in docs
Developer questions.
Is there an SDK?
Not yet. UnifyStays is a JSON REST API that works with any HTTP client.
Where do I get an API key?
Create a free account in the portal and generate a sandbox key. Switch to a production key when you go live.
Is there an MCP server?
Not yet — MCP support is planned. AI assistants use the REST API today.
Where's the full documentation?
At docs.unifystays.com — guides, the full API reference and the launch checklist.
Get a sandbox key in minutes.
Create a free account, connect your suppliers and make your first search today.