Search & hotels
Get Room Options
Start live supplier room retrieval for a selected hotel and receive bookable options with booking tokens.
POST
Call this endpoint after the customer selects a hotel. Send the same dates,
occupancy, and nationality used for hotel search. Unifystays calls the active
suppliers in parallel and normalizes their room options.
Request Example
Use the Response
The response contains the static room catalogue, supplier options, and astream_id with sse_stream_url for progressive provider results. Every
bookable option includes a short signed booking_token required by
Prebook a Room.
- An option can have
our_room: nulland still be bookable. - Keep the selected option’s
booking_tokenonly for the immediate prebook step; it is time-sensitive. - Use the room stream when your product needs to render options as providers return them. See Stream Room Updates.
- Request fresh room options if the stay dates, guest mix, nationality, or selected hotel changes.
Authorizations
Environment-specific API key created in the Unifystays portal
Headers
Path Parameters
Internal hotel ID (bigint as string)
Example:
"123456"
Body
application/json
Check-in date in YYYY-MM-DD format. Must be today or a future date.
Example:
"2026-07-01"
Check-out date in YYYY-MM-DD format. Must be after check_in.
Example:
"2026-07-04"
Room configurations — 1 to 5 rooms. Each room specifies adults and optional child ages.
Required array length:
1 - 5 elementsExample:
Guest nationality — ISO alpha-2 code (e.g. IN, AE, US). Defaults to IN.
Example:
"IN"