# Google Hotels Scraper (`datahamster/google-hotels-scraper`) Actor

Google Hotels scraper for any city and dates: hotel name, star class, guest rating, reviews, nightly and total price with taxes, amenities, deal label, coordinates and Google property id. No login, no browser. Monitor mode returns only new hotels and price changes for a saved stay.

- **URL**: https://apify.com/datahamster/google-hotels-scraper.md
- **Developed by:** [Viktor Dubnytskiy](https://apify.com/datahamster) (community)
- **Categories:** Travel
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.80 / 1,000 result items

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Google Hotels Scraper

Get Google Hotels search results for any city and dates as one flat row per hotel: name, star class, guest rating
and review count, nightly price before and after taxes, total price for the stay, amenities, Google's deal label,
address, coordinates and the Google property id. No login, no browser, no API key.

**Try it:** the prefilled example returns 20 rows in about 8 seconds and costs about $0.07. Results cost $3.50 per 1,000.

### What you get

Real rows from the example dataset (the prefilled run, `locations: ["Paris"]`, a 3-night stay from 2026-12-01, 30 days ahead):

| rank | name | stars | rating (reviews) | per night (headline) | per night with taxes | total, 3 nights |
|---|---|---|---|---|---|---|
| 1 | Hôtel Notre-Dame Saint Michel | 3 | 4.2 (1,412) | $180.66 | $210.49 | $631.47 |
| 2 | Hôtel Cocoon | 3 | 4.7 (76) | $76.85 | $104.51 | $313.52 |
| 3 | Hôtel Britannique | 3 | 4.7 (1,364) | $204.15 | $236.26 | $708.78 |
| 4 | Fraternity Hotel | | 4.6 (295) | $80.70 | $94.60 | $283.79 |
| 6 | The Originals Boutique, Hôtel Maison Montmartre, Paris | 4 | 4.0 (2,140) | $83.91 | $111.16 | $333.47 |

Full row: `id` (Google property token), `url`, `name`, `propertyType` (`hotel` or `vacation_rental`), `hotelClass`,
`hotelClassText`, `rating`, `reviewsCount`, `pricePerNight`, `pricePerNightText`, `pricePerNightBeforeTaxes`,
`pricePerNightWithTaxes`,
`totalPrice`, `taxesAndFees`, `currency`, `dealText`, `amenities`, `address`, `latitude`, `longitude`,
`checkInTime`, `checkOutTime`, `website`, `googleFeatureId`, `thumbnail`, `checkIn`, `checkOut`, `nights`,
`location`, `resolvedLocation`, `rank`, `scrapedAt`.

Rows describe hotels as businesses. No guest names, review texts or phone numbers are collected.

`pricePerNight` is Google's headline nightly rate and follows the market's convention: before taxes on a US search,
with taxes on most European ones. `pricePerNightBeforeTaxes`, `pricePerNightWithTaxes` and `totalPrice` (the whole
stay, taxes and fees included) mean the same thing everywhere; `taxesAndFees` is `totalPrice` minus the room rate.

### Use cases

- **Hotel price tracking.** Save a city and stay dates in monitor mode and get only hotels that are new in the list
  or whose total price changed since the last run, by webhook or Telegram.
- **Rate comparison for a trip.** Pull the full list for several cities with the same dates and sort by total price,
  rating or star class in a spreadsheet.
- **Market and revenue research.** Track how prices in a city move for a fixed stay, or compare star classes and
  amenities across neighborhoods.

### Try it in 10 seconds

**One-off list.** Press **Start**: the prefilled input searches hotels in Paris for a 3-night stay 30 days from
today. Change `locations`, `checkIn` and `checkOut` for your own trip.

**Monitor mode.** Save a task with this input and put it on a schedule (Apify, Schedules, e.g. daily):

```json
{
  "mode": "monitor",
  "monitorStateId": "paris-december",
  "locations": ["Paris"],
  "checkIn": "2026-12-11",
  "checkOut": "2026-12-14",
  "hotelClass": ["4", "5"],
  "webhookUrl": "https://your-endpoint.example.com/hook"
}
```

Each monitor run charges one `monitor-check` event ($0.005) and returns only hotels that are new for that stay or
whose total price changed by about one unit of the currency or more, each billed as one `change` event ($0.0035). A run with no changes
charges only the check.

### Related actors

- [Google Trends Scraper](https://apify.com/datahamster/google-trends-scraper): search interest for a destination
  over time.
- [Zillow Scraper](https://apify.com/datahamster/zillow-scraper): the same price-change monitor for US real estate
  listings.
- [Google News Scraper](https://apify.com/datahamster/google-news-feed): news about a destination or a hotel chain,
  with alerts.

### Input

| Field | Meaning | Default |
|---|---|---|
| `locations` | Cities, areas or landmarks, one per line | `["Paris"]` |
| `checkIn` / `checkOut` | Stay dates, YYYY-MM-DD | 30 days from today, 3 nights |
| `currency` | Price currency (non-USD goes through a residential proxy in a matching country) | `USD` |
| `language` | Google interface language | `en` |
| `minPrice` / `maxPrice` | Filter on `pricePerNightWithTaxes` | none |
| `onlyWithPrice` | Drop hotels without a bookable rate for the dates | `true` |
| `hotelClass` | Star classes to keep | all |
| `includeVacationRentals` | Keep apartments Google mixes into later pages | `false` |
| `strictLocationMatch` | Skip a location Google could not find | `true` |
| `maxItemsPerLocation` | Hotels per location | `100` (prefilled 20) |
| `maxItems` | Rows per run in total | `200` (prefilled 20) |
| `mode`, `monitorStateId`, `webhookUrl`, `telegramBotToken`, `telegramChatId` | Monitor mode and alerts | `scrape` |

### How it works

1. Each location is searched as "hotels in <location> from <check-in> to <check-out>", the same request Google's
   own hotel search page makes when you open it.
2. Further pages follow Google's own next-page token until the list ends, a page repeats hotels already seen, or
   `maxItemsPerLocation` is reached.
3. The location Google actually searched is compared with yours. If Google fell back to hotels near the server,
   that location is skipped and nothing is charged.
4. If Google answers with a bot check, the request is retried on a stronger proxy tier. A run where every request
   was refused ends as **blocked**, never as an empty "no results".

### Pricing

| Event | Price |
|---|---|
| result | $0.0035 per hotel ($3.50 per 1,000) |
| monitor-check | $0.005 per monitor run |
| change | $0.0035 per new or re-priced hotel in monitor mode |

Store discounts: SILVER plan -10%, GOLD and above -20% on every event.

You pay only for rows that are pushed. Hotels from a location Google could not find are never pushed and never
charged. Platform usage is billed by Apify on top; USD runs need no proxy at all.

### Limits

- Prices are for 2 adults, Google's default occupancy. The guest count cannot be changed in this version.
- Google lists some small properties (RV parks, inns) with no bookable rate for the dates. With `onlyWithPrice` on
  (the default) they are skipped and not charged; turn it off to get them with empty price fields.
- Google prices in the currency of the visitor's country and ignores a requested currency, so a non-USD run goes
  through a residential proxy in a matching country. That costs about 225 KB of residential traffic per 18 hotels,
  roughly $0.10 of platform usage per 1,000 hotels at about $8 per GB. If Google still answers in another currency,
  the run log says so and every row carries the currency Google used.
- `minPrice`, `maxPrice` and `hotelClass` are applied after the fetch, so a narrow filter still pages through the
  unfiltered list. The price filter uses `pricePerNightWithTaxes`, the same meaning in every market.
- Google's ranking moves slightly between requests, so very deep paging can skip or repeat a few hotels; repeats
  are removed.

### FAQ

**Does it need a Google account or cookies?** No. Every request is made as a logged-out visitor.

**Why did a run return nothing?** The `RUN_SUMMARY` record in the run's key-value store has `emptyReason`. A bot
check is reported as `blocked`, a location Google could not find as `no_matches`.

**Is this the same data as on google.com/travel/hotels?** Yes, the rows come from the same response Google's hotel
search page renders.

### Changelog

- 0.1: initial release. Hotels by location and dates with star class, rating, nightly and total prices, amenities
  and coordinates; next-page paging; location fallback guard; currency by proxy country; monitor mode for new hotels
  and price changes.

***

If this actor saved you time, a short review on its Store page helps other people find it. Missing a field? Open an
issue on the **Issues** tab.

# Actor input Schema

## `locations` (type: `array`):

Cities, areas or landmarks to search hotels in, one per line, exactly as you would type them into Google Hotels, e.g. "Paris", "Shibuya, Tokyo" or "near Times Square".

## `checkIn` (type: `string`):

Check-in date as YYYY-MM-DD. Leave empty to search 30 days from today, which keeps a saved task or schedule valid.

## `checkOut` (type: `string`):

Check-out date as YYYY-MM-DD. Leave empty for a 3-night stay. Google accepts stays of up to 30 nights.

## `currency` (type: `string`):

Prices come in this currency. Google prices hotels in the currency of the visitor's country, so any currency other than USD is fetched through a residential proxy in a country that uses it (e.g. EUR through France). Every row carries the currency Google actually answered with.

## `language` (type: `string`):

Google interface language code for names of places and amenities, e.g. "en", "de", "fr".

## `minPrice` (type: `integer`):

Drop hotels whose nightly price with taxes and fees (pricePerNightWithTaxes) is below this, in the result currency.

## `maxPrice` (type: `integer`):

Drop hotels whose nightly price with taxes and fees (pricePerNightWithTaxes) is above this, in the result currency.

## `hotelClass` (type: `array`):

Keep only hotels with these star classes. Empty keeps all, including hotels Google shows without a class.

## `onlyWithPrice` (type: `boolean`):

Skip properties Google lists without a bookable rate for your dates (common for RV parks and small inns). They are never charged when skipped.

## `includeVacationRentals` (type: `boolean`):

Google mixes apartments and other vacation rentals into later result pages. Off keeps hotels, hostels and other lodging with a Google Maps listing only.

## `strictLocationMatch` (type: `boolean`):

When Google cannot find a location it quietly shows hotels near the server's own location instead. On (recommended) skips such a location, so you are never charged for hotels in the wrong place.

## `maxItemsPerLocation` (type: `integer`):

Stop paging a location after this many hotels. Google shows 18 hotels per page.

## `maxItems` (type: `integer`):

Stop the whole run after this many rows. You are charged only for rows pushed.

## `mode` (type: `string`):

scrape = full results; monitor = only new/changed items since the previous run of this task

## `monitorStateId` (type: `string`):

Optional state id when not running as a saved task (monitor mode)

## `webhookUrl` (type: `string`):

POST a change summary here in monitor mode

## `telegramBotToken` (type: `string`):

Optional: bot token for monitor-mode change summaries

## `telegramChatId` (type: `string`):

Optional: chat id that receives monitor-mode summaries

## Actor input object example

```json
{
  "locations": [
    "Paris"
  ],
  "currency": "USD",
  "language": "en",
  "onlyWithPrice": true,
  "includeVacationRentals": false,
  "strictLocationMatch": true,
  "maxItemsPerLocation": 20,
  "maxItems": 20,
  "mode": "scrape"
}
```

# Actor output Schema

## `results` (type: `string`):

All pushed rows (dataset, JSON)

## `resultsTable` (type: `string`):

Dataset in the Console viewer

## `runSummary` (type: `string`):

RUN_SUMMARY record

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "locations": [
        "Paris"
    ],
    "maxItemsPerLocation": 20,
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("datahamster/google-hotels-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "locations": ["Paris"],
    "maxItemsPerLocation": 20,
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("datahamster/google-hotels-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "locations": [
    "Paris"
  ],
  "maxItemsPerLocation": 20,
  "maxItems": 20
}' |
apify call datahamster/google-hotels-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datahamster/google-hotels-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/sJoqZ0JpcButRVVwu/builds/rMvHzvY2fdxMbChYQ/openapi.json
