search_hotels
Rank hotels in a city by the OKstays Comfort Score (AI scores on the comfort filters; cleanliness, beds, shower, bugs and safety count 40%). Only hotels that pass all five must-haves are returned. Optionally rank for a travel style (persona) and/or require specific strengths. Returns up to 10 hotels with strengths, caveats, price and links.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Filter ids the hotel must score 8+ on, e.g. ['soundproofing', 'reliable_wifi']. See get_filters. | |
| persona | No | Travel style to rank for: digital-nomad, deep-sleep, romantic, family, business, solo-safe, luxury, budget-comfort. | |
| sort_by | No | best = Comfort Score (default); value = Comfort Score per $100; nearest needs near_lat/near_lng. | |
| district | No | Neighbourhood to restrict to, e.g. 'Gothic Quarter'. get_city_overview lists the districts. | |
| location | Yes | City name or slug, e.g. 'Barcelona' or 'new-york'. Use list_cities for coverage. | |
| near_lat | No | Latitude of a landmark or address the user names (not the user's own location); with near_lng restricts results to hotels within radius_km and reports distance_km. | |
| near_lng | No | Longitude of the point of interest. | |
| max_price | No | Maximum indicative price per night in USD. | |
| min_score | No | Minimum Comfort Score (0-10). | |
| radius_km | No | Search radius around near_lat/near_lng in km (default 3). |