Booking com

FREEMIUM
От Tipsters CO | Обновлено 15 giorni fa | Travel
Популярность

9.9 / 10

Задержка

804ms

Уровень обслуживания

100%

Health Check

100%

Назад ко всем обсуждениям

How to get hotel_url without specifying dates

I am searching for hotels by specifying dest_id, dest_type, date, etc. in the “Search hotels” endpoint. But i want to get hotel url without specifying dates. I would be very happy to know if there is any better way to do this.

Rapid account: Tipsters
tipsters Commented un anno fa

dest_id is the hotel ID. in "Search locations endpoint"
You can find the hotel and hotel ID by name

Rapid account: Kaitekinakurashigoudou
kaitekinakurashigoudou Commented un anno fa

Thanks for the quick reply!
However, I don’t think the problem is solved.
In the endpoint to get the hotel_id (e.g. “Search Hotels”) I have to specify a date.
If the reservation is booked on that date, the desired inn won’t show up in the search results, right?
To avoid this, I want to get the hotel_id of the inn without specifying a date.

(I have confirmed that entering the name of the inn in the Search locations endpoint will correctly find the desired inn. It would be very useful if there was a hotel_id here, but there isn’t, is there?)

Rapid account: Tipsters
tipsters Commented un anno fa

Hello!
Yes!
v1/hotels/data?hotel_id=183080&locale=en-gb

Regards. From the Tipsters.

Присоединяйтесь к обсуждению – добавьте комментарий ниже:

Войдите / Зарегистрируйтесь, чтобы публиковать новые комментарии