Search in the web app
Open the app
Go to openbookings.co. You’ll see a fullscreen hero image with a search panel in the bottom-right corner.
Enter your destination
Click the Destination… field. As you type a city name, OpenBookings shows instant typeahead suggestions powered by Algolia. Click the destination you want — the app records its coordinates for the search.
Choose your dates
Click the date field (it shows From / Till) to open the date picker. Click a check-in date, then a check-out date. The field updates to show your selected range, e.g.
Jun 1, 2026 / Jun 3, 2026.Set guests and rooms
Click the guest field to open the guest selector. Adjust the number of adults, children, and rooms. The default is 2 Adults · 1 Room. OpenBookings only returns rooms whose
max_adults and max_children capacity covers your guest count.Search via the API
If you’re building an integration, you can callGET /api/query directly. The endpoint accepts your destination coordinates, dates, and guest count and returns the same ranked results the app displays.
Required parameters
| Parameter | Type | Description |
|---|---|---|
lat | number | Latitude of the destination |
lon | number | Longitude of the destination |
checkin | string | Check-in date in YYYY-MM-DD format |
checkout | string | Check-out date in YYYY-MM-DD format |
adults | integer | Number of adult guests |
rooms | integer | Number of rooms |
Optional parameters
| Parameter | Type | Description |
|---|---|---|
children | integer | Number of child guests (default 0) |
Example: search London for 2 nights
The coordinates below are central London (lat=51.5074, lon=-0.1278). The search covers all properties within 250 km of that point.
Example response
The API returns an array of hotel objects, one per property, sorted bytotal_price ascending. Each object represents the cheapest available room for that property on your dates.
Key response fields
| Field | Type | Description |
|---|---|---|
hotel_id | string | Unique property identifier |
hotel_name | string | Display name of the property |
hotel_slug | string | URL-safe property identifier |
city / country | string | Location of the property |
room_name | string | Name of the room type being quoted |
currency | string | ISO 4217 currency code (e.g. "GBP", "EUR", "USD") |
is_refundable | boolean | Whether the rate allows free cancellation |
cancellation_policy | string | Human-readable cancellation terms |
subtotal | number | Base cost before discounts |
total_price | number | Final price after all applicable modifiers (the amount the guest pays) |
applied_modifiers | string[] | Rate modifiers that were applied (e.g. "length_of_stay", "early_bird") |
total_price may be lower than subtotal when a discount modifier fires (such as a length-of-stay discount), or higher when surcharges apply (such as extra-guest fees or weekend pricing).Error responses
If a required parameter is missing or invalid, the API returns HTTP400 with an errors array:
Next steps
Now that you have search results, you can sign in to complete a booking.Authentication
Sign in with magic-link email or Google / Apple — no password needed.
Hotel Search API reference
Full parameter reference, response schema, and error codes.