Get hotel search links for a city
get_hotel_linksBuild a Booking.com search link for a city or property, with optional check-in and check-out dates, guest count and room count, plus an IHG brand search link (Holiday Inn, InterContinental, Crowne Plaza) and up to four VoyageHacks guides on the best areas and best-value stays there. The Booking.com link is regionalized to the traveler's country. Useful when a user asks where to stay, or about hotels, hostels or apartments in a place. It returns search links only: no live room rates, no availability check, no reviews and no reservation. Affiliate links: VoyageHacks may earn a commission at no additional cost to the traveler, which should be disclosed when the links are presented.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City, region or property name to search, e.g. Rome, Phuket, Hotel Kossak. | |
| lang | No | Language of the VoyageHacks guides returned. One of: en, de, fr, es, it, pl, cs, ja, nl, pt, zh. Defaults to "en". | |
| rooms | No | Number of rooms. Defaults to 1. | |
| adults | No | Number of adults. Defaults to 2. | |
| checkin | No | Check-in date, YYYY-MM-DD. Used only when checkout is also given. | |
| country | No | ISO 3166-1 alpha-2 country the traveler is booking from, e.g. US, DE, GB. Selects the regional Booking.com programme. Defaults to the caller's geolocation, then to the language default. | |
| checkout | No | Check-out date, YYYY-MM-DD. | |
| children | No | Number of children. Defaults to 0. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ihg | No | ||
| city | No | ||
| rooms | No | ||
| adults | No | ||
| guides | Yes | Matching VoyageHacks guides that can be cited as sources. | |
| region | No | ||
| checkin | No | ||
| checkout | No | ||
| children | No | ||
| disclosure | Yes | ||
| hotelSearch | Yes |