# 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.

- Site: hotels.com
- Address: `reduck/hotels.com/search_hotels`
- Updated: 2026-11-29 (v2)
- Author: Reduck AI (reduck)

## Run it

Ask an AI agent connected to Reduck over MCP (`https://mcp.reduck.ai/mcp`) to run `reduck/hotels.com/search_hotels`, or run it from a terminal:

```bash
npx @reduck-ai/cli@latest run --script reduck/hotels.com/search_hotels
```

## Input

- `destination` (string, required): A city, area, landmark or address, as you would type it in the Hotels.com search box, such as "Paris, France".
- `sort` (any, optional): The site's sort order: recommended, price low to high, price high to low, top deals, distance from downtown, guest rating, property class.
- `adults` (integer, optional)
- `nights` (integer, optional)
- `offset` (integer, optional): The index of the first stay to return: 0, then the nextOffset of the previous answer.
- `checkIn` (string, optional): Check-in date, YYYY-MM-DD. Give checkIn or daysAhead, not both.
- `daysAhead` (integer, 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` (array, optional): The age of each child, one entry per child.

## Output

- `hotels` (array, required): The stays, in the site's order.
- `checkIn` (string, required)
- `checkOut` (string, required)
- `currency` (string, required)
- `regionId` (string, required): Hotels.com's id of that destination.
- `nextOffset` (integer | null, required): Pass it as offset, with the same search, for the next stays. Null when there are no more.
- `destination` (string, required): The destination Hotels.com searched, as it names it, such as "Rome, Lazio, Italy".
- `totalResults` (integer, 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

### What does "Search Hotels.com stays" do?

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.

### How do I automatically search Hotels.com stays on hotels.com?

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

### Is there a hotels.com API to search Hotels.com stays?

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.

### What information do I need to provide?

Required: destination. Optional: sort, adults, nights, offset, checkIn, daysAhead, childrenAges.

### What does it return?

It returns hotels, checkIn, checkOut, currency, regionId, nextOffset, destination, totalResults.

### Do I need to be logged in to hotels.com?

No. It only uses pages of hotels.com that are reachable without signing in.

### Does it change anything on hotels.com, or only read data?

It only reads. It looks things up on hotels.com and changes nothing there.

### How do I run it?

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

### Who maintains it?

It is one of Reduck's official scripts.

Source: https://reduck.ai/explore/scripts/reduck/hotels.com/search_hotels
