App Logo
hotels.com

Search Hotels.com stays

Automatically search Hotels.com stays on hotels.com. Search stays on Hotels.com (US site) for a destination and a stay: a fixed check-in date or a number of days after today (for searches that run on a schedule), the nights, the adults, the children's ages and the site's sort order. Returns the destination Hotels.com searched and its id, the number of stays it can book for the dates, and up to 100 stays from offset, in the site's order: the property id, name, area, link, whether the site can book it on the dates, whether it is a paid placement, guest score out of 10 with its label and review count, badges, photos, and the price as the site shows it (per night before taxes and fees, the total with them, the struck-out total before a discount, and each price line as written). The site lists the stays it can book first, then stays it cannot book on those dates, with no price. Prices are in US dollars. For the next stays, pass nextOffset as offset with the same search; null when there are no more. A destination Hotels.com does not know, and dates it does not take, fail with a message that names the problem. On a cloud browser, run it in the eu-central-1 region: Hotels.com refuses cloud browsers in us-east-1.

Inputs

destination required

A city, area, landmark or address, as you would type it in the Hotels.com search box, such as "Paris, France".

sort optional

The site's sort order: recommended, price low to high, price high to low, top deals, distance from downtown, guest rating, property class.

Default: "RECOMMENDED"
adults optional
Default: 2
nights optional
Default: 1
offset optional

The index of the first stay to return: 0, then the nextOffset of the previous answer.

Default: 0
checkIn optional

Check-in date, YYYY-MM-DD. Give checkIn or daysAhead, not both.

daysAhead optional

Check-in as a number of days after today (UTC), for searches that run on a schedule. Give checkIn or daysAhead, not both.

childrenAges optional

The age of each child, one entry per child.

Default: []

Output

hotels required

The stays, in the site's order.

checkIn required
checkOut required
currency required
regionId required

Hotels.com's id of that destination.

nextOffset required

Pass it as offset, with the same search, for the next stays. Null when there are no more.

destination required

The destination Hotels.com searched, as it names it, such as "Rome, Lazio, Italy".

totalResults required

The number of stays the site can book for the stay. The site lists them first; the stays after them are ones it cannot book on those dates.

FAQ

Search stays on Hotels.com (US site) for a destination and a stay: a fixed check-in date or a number of days after today (for searches that run on a schedule), the nights, the adults, the children's ages and the site's sort order. Returns the destination Hotels.com searched and its id, the number of stays it can book for the dates, and up to 100 stays from offset, in the site's order: the property id, name, area, link, whether the site can book it on the dates, whether it is a paid placement, guest score out of 10 with its label and review count, badges, photos, and the price as the site shows it (per night before taxes and fees, the total with them, the struck-out total before a discount, and each price line as written). The site lists the stays it can book first, then stays it cannot book on those dates, with no price. Prices are in US dollars. For the next stays, pass nextOffset as offset with the same search; null when there are no more. A destination Hotels.com does not know, and dates it does not take, fail with a message that names the problem. On a cloud browser, run it in the eu-central-1 region: Hotels.com refuses cloud browsers in us-east-1.
Ask an AI agent connected to Reduck to run reduck/hotels.com/search_hotels, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/hotels.com/search_hotels
You do not need one. "Search Hotels.com stays" drives the real hotels.com pages in a browser, so it works whether or not hotels.com offers an API for this.
Required: destination. Optional: sort, adults, nights, offset, checkIn, daysAhead, childrenAges.
It returns hotels, checkIn, checkOut, currency, regionId, nextOffset, destination, totalResults.
No. It only uses pages of hotels.com that are reachable without signing in.
It only reads. It looks things up on hotels.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/hotels.com/search_hotels, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/hotels.com/search_hotels
It is one of Reduck's official scripts.

Start building not clicking