Search hotels
search_hotelsSearch hotels by location and dates to compare total-stay prices in your chosen currency, with filters for rating, distance, entire homes, and free cancellation.
Instructions
Hotel search. Quotes are total-stay prices, not per person. Currency is required (no origin airport), except source skiplagged, whose quotes are USD. Quotes come back in the requested currency as the provider returned them. Viajante does not convert and never invents ISO 4217. location is one named place: ask when it is a typo, a region, or several candidate towns. The request carries adults and rooms only; do not state a room split. Google offers are in price order, not advice: weigh location, latitude and longitude, and review_count yourself. stays batches up to 8 location/check_in/check_out objects in one call. property_matrix lists each property's total per stay, null where it was not returned (not proof of unavailability), sorted by name. near is a point you name, {lat, lng}; max_distance_km needs it. entire_home=true asks for a house or villa; those offers carry sleeps, bedrooms and beds. lodging_evidence_conflict marks contradictory room or unit labels. Full rules: get_guide.
deadline_seconds stops starting queries after that many seconds; unfinished
queries are error code deadline (not loaded, not empty). See get_guide.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| near | No | ||
| rooms | No | ||
| stays | No | ||
| adults | No | ||
| source | No | ||
| check_in | No | ||
| currency | No | ||
| location | No | ||
| check_out | No | ||
| min_rating | No | ||
| entire_home | No | ||
| max_distance_km | No | ||
| deadline_seconds | No | ||
| free_cancellation | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| empty_note | Yes | ||
| error_code | Yes | ||
| observed_at | Yes | ||
| retry_after | Yes | ||
| completeness | Yes | ||
| empty_reason | Yes | ||
| observed_at_basis | Yes | ||
| retry_after_seconds | Yes |