App Logo
google.com

Search Google Hotels

Automatically search Google Hotels on google.com. Search hotels and other stays on Google Hotels for a place 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 price currency. Returns the place Google searched, its count of matching stays, and one page of about 20 stays in its order, each with its Google Hotels id, name, type and hotel class, coordinates, guest rating and review count, description, photos, Google's deal label, and its lowest price for the stay, per night and for the whole stay (null when Google shows no price). Per night, Google gives the price before taxes and fees to a browser in some countries (such as the US), and the price with them in others (such as the EU countries): the one it does not give is null. For the next page, pass nextPageToken as pageToken with the same search. Google ranks the stays again on each load, so a stay can come back on a later page: dedupe by entityId. A query that names one hotel returns that hotel alone, and a search that Google answers with no result returns an empty list. For a query it does not understand, Google searches a place of its own choosing: compare place with the query. Dates that Google does not take (in the past, or more than about 11 months ahead) and a currency it does not show fail with a message that names the problem. Pass an entityId to google.com/get_hotel_prices for the price at each booking site.

Inputs

query required

What you would type in the Google Hotels search box: a city, an area, a landmark or an address ("hotels near the Louvre"), or the name of one hotel, which returns that hotel alone.

adults optional
Default: 2
nights optional
Default: 1
checkIn optional

Check-in date, YYYY-MM-DD, from today to about 11 months ahead. Give checkIn or daysAhead, not both.

currency optional

ISO 4217 code of the currency for the prices, such as USD or EUR.

Default: "USD"
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.

pageToken optional

The nextPageToken of the previous page of the same search, for the next page.

childrenAges optional

The age of each child, one entry per child.

Default: []

Output

place required

The place Google searched. Google picks a place of its own for a query it does not understand, so compare it with the query. Null when the query named one hotel, or when nothing matched.

query required
hotels required

One page of stays, in Google's order. Empty when nothing matched.

checkIn required
checkOut required
currency required
totalResults required

Google's count of the stays that match, across all pages. 0 when nothing matched.

nextPageToken required

Pass it as pageToken, with the same search, for the next page. Null on the last page.

FAQ

Search hotels and other stays on Google Hotels for a place 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 price currency. Returns the place Google searched, its count of matching stays, and one page of about 20 stays in its order, each with its Google Hotels id, name, type and hotel class, coordinates, guest rating and review count, description, photos, Google's deal label, and its lowest price for the stay, per night and for the whole stay (null when Google shows no price). Per night, Google gives the price before taxes and fees to a browser in some countries (such as the US), and the price with them in others (such as the EU countries): the one it does not give is null. For the next page, pass nextPageToken as pageToken with the same search. Google ranks the stays again on each load, so a stay can come back on a later page: dedupe by entityId. A query that names one hotel returns that hotel alone, and a search that Google answers with no result returns an empty list. For a query it does not understand, Google searches a place of its own choosing: compare place with the query. Dates that Google does not take (in the past, or more than about 11 months ahead) and a currency it does not show fail with a message that names the problem. Pass an entityId to google.com/get_hotel_prices for the price at each booking site.
Ask an AI agent connected to Reduck to run reduck/google.com/search_hotels, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/google.com/search_hotels
You do not need one. "Search Google Hotels" drives the real google.com pages in a browser, so it works whether or not google.com offers an API for this.
Required: query. Optional: adults, nights, checkIn, currency, daysAhead, pageToken, childrenAges.
It returns place, query, hotels, checkIn, checkOut, currency, totalResults, nextPageToken.
No. It only uses pages of google.com that are reachable without signing in.
It only reads. It looks things up on google.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/google.com/search_hotels, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/google.com/search_hotels
It is one of Reduck's official scripts.

Start building not clicking