This walkthrough follows one run of the Google Hotels Scraper from input to dataset, with the decisions that shape it and the measurements behind each one. Whether you use this Actor or write your own reader, the same four decisions apply.
What Google Hotels shows an anonymous visitor
A Google Hotels search page and a hotel page both arrive as HTML with the data embedded as JSON blocks. In the developer's tests of 13 October 2026, 20 of 20 searches and 18 of 18 hotel pages answered on each of four network routes, without cookies, a login or a browser. Reviews come from a separate request, 10 at a time, also without cookies.
A search for a large city pages through roughly 160 unique hotels in 10 pages of about 18, with a few repeats between pages. That is the ceiling of one search, and the reason a city-wide dataset is “what Google lists” rather than every hotel in town.
Step 1 — choose the row type
| outputType | One row per | Price per row |
|---|---|---|
hotel | hotel of a search | $0.002 |
hotel-prices | hotel, with every booking-site offer | $0.0035 |
price-calendar-day | hotel × check-in date | $0.003 |
review | review | $0.001 |
One type per run keeps exports clean. hotel is the directory view; the price ladder that makes this data worth having is in hotel-prices, measured in hotel price data by booking site.
Step 2 — name the places, and refuse Google's guesses
Type locations as you would in Google Hotels: “Valencia, Spain” rather than “Valencia”, a city rather than a landmark. The hidden hazard is what Google does with text it does not recognise. Sometimes it says so; sometimes it answers with a real city — “Qwzxkpqville Zzrt” came back as New York and “Blorptastic Vrumm” as Vilnius, depending on the exit IP. Those rows look perfect and are wrong.
The Actor delivers a search only when the place Google resolved, kept in cityResolved, is a name of what was typed: the same name ignoring accents and case, or a known alternative name from GeoNames or Wikidata (“NYC”, “Köln”, “CDMX”). Otherwise the result is a city-not-found error row, not charged. Measured on 14 October 2026 over three exit routes, 0 of 220 searches for made-up names were charged and 249 of 252 searches for real cities were accepted; the 3 refused were a landmark.
Step 3 — put the stay inside the request
Check-in, check-out or nights, adults, children's ages, currency, language and market all change the price — 2 to 4 adults changed it for 17 of 18 hotels tested. In the developer's tests, adding checkin= or currency= to a Google Hotels URL did nothing; the stay is encoded in a parameter of Google's own. The Actor does that encoding, and the currency is quoted by Google, never converted afterwards.
{
"outputType": "hotel-prices",
"locations": ["Madrid", "Barcelona", "Valencia, Spain"],
"checkIn": "2026-12-15",
"nights": 3,
"adults": 2,
"currency": "EUR",
"country": "es",
"maxHotels": 30
}What is filled
Over 706 hotel rows from 20 cities in 14 countries, measured on 13 October 2026, the median hotel filled 27 of 28 tracked fields. Name, ids, coordinates, rating, review count, rating histogram, photos and nearby places were on every row; the featured price on 99.7%; amenities on 96.7%; the official website on 95.9%; sentiment by aspect on 92.5%; hotel class on 86.5% (25% in Germany); the description on 82.2%; check-in time on 78.0%; and Google's deal badge on 23.4%. A field that was not there is delivered as null, never left out.
What a run costs
The default input — 20 hotels in Lisbon for two nights two weeks out — took 7 to 11 seconds in 6 runs and costs $0.04. A whole large city, about 160 hotels, is about $0.32. Price ladders for 30 hotels are about $0.105, and a 7-night calendar for 20 hotels is 140 rows, about $0.42. Error rows, duplicates, hotels without a priced offer and sold-out nights are not charged; in 50 test runs on 14 October 2026, 3,608 rows were delivered and 3,608 charged, with 0 duplicates. The pay-per-event model behind those numbers is Apify's.
robots.txt and the terms
The google.com robots.txt disallows /travel/search for all user agents. The Actor reads that path for every search; hotel pages under /travel/hotels/entity/, which carry the price ladder, are not listed. Google's Terms of Service, effective 30 July 2026, prohibit “using automated means to access content from any of our services in violation of the machine-readable instructions on our web pages”, naming robots.txt as the example. Anyone running a Google Hotels scraper — this one included — should read both and decide.
What the Actor does not do: log in, keep cookies, solve a challenge, or collect reviewer names, profile links or avatars. Whether Google offers an official alternative is covered in is there a Google Hotels API?

