Put checkin=2027-03-12 in a Google Hotels URL and Google answers 200 OK, with prices for tonight. I tested four parameter names on 30 October 2026 (checkin, checkout, check_in_date, dates). All four were ignored, and every page came back looking perfectly normal.
That is the problem with scraping hotel prices: the failures don't look like failures. Below is what I measured while building a Google Hotels scraper, and the checks I ended up putting in the code.
The dates live in ts, not in the URL
Google Hotels reads the stay from a single parameter, ts, which is a protobuf message encoded in base64. The fields I use: 1 is the search type (1 = hotels), 3.2.2.1 and 3.2.2.2 are check-in and check-out as year/month/day, 3.2.2.3 is the number of nights, 5.1.7 is the currency.
With ts built correctly, Google respected the dates on 40 stays out of 40 (10 cities, 1 to 330 days ahead, 1 to 7 nights, same spike). The currency was respected too, for the four I tried (USD, JPY, GBP, EUR).
It breaks at the edges, and again without any error:
| What you ask for | What Google prices |
|---|---|
| A check-in in the past | its own default dates |
| 0 nights | 1 night |
| Check-out before check-in | other dates |
| 400 or 500 days ahead | your dates, but 9 prices for 18 hotels |
So the first fix has nothing to do with scraping. Refuse those inputs before sending anything. My scraper fails the run on a past check-in instead of clamping it to tomorrow, because clamping is exactly what Google already does behind your back.
Check the page, not the status code
Even with valid inputs, I don't trust that the page prices my stay. Google embeds the dates it actually used in the page as [YYYY,M,D] arrays, so the check is a regex and a set comparison:
import datetime as dt import re PAGE_DATE_RE = re.compile(r"\[(20\d\d),(\d{1,2}),(\d{1,2})\]") def dates_on_page(page: str) -> set[dt.date]: return {dt.date(int(y), int(m), int(d)) for y, m, d in PAGE_DATE_RE.findall(page)} def dates_match(page: str, check_in: dt.date, check_out: dt.date) -> bool: # Strict: the requested dates, and nothing else. return dates_on_page(page) == {check_in, check_out} Two choices in there are deliberate. It is an equality, not "contains", because a page that carries another date is a page where Google substituted its own stay. And a page with no date at all fails. Finding nothing that contradicts you is not the same as a page you can vouch for.
When the check fails, the page produces no rows and the run reports a date mismatch. A run with zero rows and a clear reason is more useful than 20 rows priced for the wrong night.
The EU consent wall sticks to the session
From a French IP, on 9 November 2026, without the ucbcb=1 URL parameter I got the consent page on 9 requests out of 9. With it, 0 out of 13. One of the runs interleaved the two cases with a brand-new session for every request (4 + 4), so neither request order nor volume explains the difference.
The part I didn't expect came from a control that went wrong. When I reused one session for all requests, once the session had been served the wall, 7 of the next 8 requests were walled too, ucbcb=1 included. A fresh session fixed it immediately.
If your scraper keeps one HTTP session for a whole run, a single consent page can sink every search that follows it. Mine now retries a walled page exactly once, on a new session.
From Apify's infrastructure (a US datacenter) the wall never showed up: 0 pages out of 33. I haven't measured an EU proxy, so I can't tell you what happens there.
A hotel missing from the results hasn't gone anywhere
Google answers each search with a sample of about 20 hotels, and the sample rotates. I ran the same search three times from Apify, 30 and 54 seconds apart. Between the first and second run, 3 hotels of the 20 were gone from the page. By the third run, 6 of the 23 seen so far were missing. Nothing sells out in 90 seconds.
If you build a "hotel no longer available" alert on top of that, roughly one row in ten of a daily report would be a disappearance that never happened. I wrote that feature, measured it twice, and left it switched off. The scraper counts those absences and says nothing about them.
Prices do move, though. On a 24-hour pair of runs for one destination and 14 check-in dates (November 2026), 187 hotel-dates could be compared across both runs. 51 of them, 27 %, had moved by more than 5 %, with a median move of 10.2 % and a largest move of 42.8 %. That is one search measured once, so read it as an order of magnitude, not a rate.
What I'd check in any hotel price pipeline
- The dates on the page, compared strictly to the dates you asked for.
- The inputs that Google rewrites silently: past dates, 0 nights, inverted stays.
- Whether your HTTP session is reused after a consent page.
- Whether "missing from the results" means anything at the interval you run at.
I packaged all of this into an Apify Actor that I built and sell, with a monitor mode that returns only the prices that moved: Google Hotels Scraper. The checks above work without it.
The one thing I still haven't measured is how the rotation behaves over a week rather than a day. If you've logged Google Hotels results over a longer window, I'd like to compare numbers.
This article was written with AI assistance. Every figure comes from my own test runs, dated above.