Hybrid Search
Request
Search query text (e.g., ‘luxury hotels dubai’, ‘beachfront resort’)
Search strategy: ‘text’ (BM25), ‘hybrid’ (text+vector), ‘vector’ (semantic). Omit to use route default.
Request ID from previous search. Use with page > 1 to fetch cached results.
Number of hotels to fetch and cache (50-300). Higher = more pages cached.
Results per page (default: 20, ignored when using requestId)
Deprecated: Use page instead
Latitude for geo-search (requires lng)
Longitude for geo-search (requires lat)
Search radius in kilometers (1-500, default: 50)
Filter by country code (ISO 3166-1 alpha-2). Must be a country code present in the index (e.g. AE, US, SA).
Filter by region ID (non-negative integer)
Minimum star rating (1-5)
Star rating filter - single number (1-5) or array of up to 10 values. Matches index values.
Property types. Allowed: APART-HOTEL, APARTMENT, BNB, BOUTIQUE_AND_DESIGN, CAMPING, CASTLE, COTTAGES_AND_HOUSES, FARM, GLAMPING, GUESTHOUSE, HOSTEL, HOTEL, MINI-HOTEL, RESORT, SANATORIUM, VILLAS_AND_BUNGALOWS. Max 20 values.
Hotel chain names (e.g., [‘Marriott’, ‘Hilton’]). Max 20 values.
Filter for family-friendly hotels (only set to true to filter)
Filter for pet-friendly hotels (only set to true to filter)
Filter for business-friendly hotels (only set to true to filter)
Filter for hotels with spa/wellness facilities (only set to true to filter)
Filter for beachfront properties (only set to true to filter)
Filter by feature slugs (e.g. free_wifi, pool_outdoor). Values must exist in features.json. Max 50.
Filter by nearby POI types (e.g., [‘restaurant’, ‘beach’]). Max 30 values.
Filter by specific nearby POI names (e.g., [‘Burj Khalifa’, ‘Dubai Mall’]). Max 30 values.
Exclude closed hotels (default: true)
Filter by provider HID (non-negative integer)
Filter by provider ID (string)
Sort field: relevance, star_rating, name, distance, updated_at
Sort order: asc or desc
Include aggregations/facets in response
Enable quality-based re-ranking. Boosts results by rating_global and star_rating. Useful for ranking by hotel quality while maintaining relevance.
Weight for guest rating (rating_global) in quality scoring (0-1). Default: 0.7. Higher values prioritize guest ratings over star ratings.
Weight for star rating in quality scoring (0-1). Default: 0.3. Higher values prioritize hotel stars over guest ratings.
Check-in date (YYYY-MM-DD). Required for real-time pricing.
Check-out date (YYYY-MM-DD). Required for real-time pricing.
Number of adults (1-10)
Number of children (0-4)
Ages of children (0-17 each). Array length should match ‘children’ count.
Number of rooms (1-5)
Currency code for prices (ISO 4217, 3 letters)
Response
Array of hotel results (20 per page)
