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

The Google Hotels Scraper extracts hotel search results for any destination and stay dates — nightly and total prices, star class, ratings, review counts and highlights, location, amenities, images and per-provider booking offers — ideal for rate monitoring and travel market research.

- **URL**: https://apify.com/piotrv1001/google-hotels-scraper.md
- **Developed by:** [FalconScrape](https://apify.com/piotrv1001) (community)
- **Categories:** Travel, E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 hotels

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

### 🚀 Google Hotels Scraper

Extract Google Hotels search results for any destination and any dates as clean, structured JSON. The **Google Hotels Scraper** turns a query like `hotels in Berlin` plus a check-in / check-out date into a list of hotels with **nightly and total prices**, star class, Google rating and review count, review highlights, location, amenities, images and — optionally — every booking provider's offer (Booking.com, Expedia, Hotels.com, the hotel's own site…) with room names and prices. Built for rate monitoring, revenue management, travel market research and price comparison.

### ✨ Features

- 💰 **Live prices for your dates**: Nightly price, stay total and the tax / fee breakdown in the currency you choose (USD, EUR, GBP…).
- ⭐ **Quality signals**: Star class, Google rating, review count and per-topic review highlights (Service, Location, Breakfast… with positive / negative mention counts).
- 📍 **Property details**: Coordinates, website, check-in / check-out times, description, amenities, thumbnail and photo URLs, Google Hotels link.
- 🏷️ **Booking offers (optional)**: Each provider's rate for the same stay, with perks and room-level prices — one extra request per hotel.
- 🔎 **Any query, deep pagination**: Destinations, neighbourhoods, landmarks or hotel names; 20 hotels per page, as many pages as you ask for, de-duplicated.
- 💸 **Pay per result**: You pay per hotel row, plus a small fee per hotel when you switch offers on.

### 🛠️ How It Works

1. **Enter queries** – One per line in `queries`, exactly as you would type them into Google Hotels: `hotels in Berlin`, `hotels near Times Square`, `Ritz-Carlton Berlin`.
2. **Pick the stay** – `checkIn`, `checkOut` (YYYY-MM-DD), `adults` and `currency`. Leave the dates empty for a 2-night stay 30 days from now.
3. **Choose depth** – `maxHotels` per query (default 40), `maxItems` overall, and `includeOffers` to add every provider's rate per hotel.
4. **Run the scraper** – Results stream into the dataset as JSON, CSV or Excel.

### 💰 Pricing

| Event          | Price  | What you get                                                                            |
| -------------- | ------ | --------------------------------------------------------------------------------------- |
| `hotel`        | $0.004 | One hotel row with prices, rating, reviews, location, amenities and images              |
| `hotel-offers` | $0.006 | Per hotel, when `includeOffers` is on: every provider's rate with room names and prices |

Example: 5 destinations × 40 hotels = 200 rows = **$0.80**; the same with offers = $0.80 + $1.20 = **$2.00**.

### ⚠️ Good to know

- Prices are for the exact stay you enter (dates, number of adults, currency). Change the dates and you get different prices — that is the point.
- Google sorts results by relevance and the ranking shifts slightly between requests, so treat the output as "up to N hotels for this query", not a fixed top N.
- `starClass` is empty for properties Google does not classify (hostels, apartments, private rooms). `address` and `phone` are present when Google exposes them in the results list.
- Offer links open Google's booking redirect for that provider and stay.

### 📊 Sample Output Data

```json
[
    {
        "type": "hotel",
        "name": "The Ritz-Carlton, Berlin",
        "hotelToken": "ChgIveLHqY3365ykARoLL2cvMTIzMjYwN3gQAQ",
        "hotelId": "4242520988797572998",
        "url": "https://www.google.com/travel/hotels/entity/ChgIveLHqY3365ykARoLL2cvMTIzMjYwN3gQAQ",
        "starClass": 5,
        "starClassText": "5-star hotel",
        "rating": 4.6,
        "reviews": 3266,
        "reviewAspects": [
            { "aspect": "Service", "mentions": 359, "positive": 304, "negative": 43 },
            { "aspect": "Bar or lounge", "mentions": 131, "positive": 107, "negative": 16 },
            { "aspect": "Food and Beverage", "mentions": 122, "positive": 98, "negative": 18 }
        ],
        "nightlyPrice": 306,
        "nightlyPriceText": "$306",
        "totalPrice": 611,
        "totalPriceText": "$611",
        "priceBreakdown": { "base": 611.34, "taxes": 88.63, "fees": 0, "total": 699.97 },
        "currency": "USD",
        "checkIn": "2026-11-05",
        "checkOut": "2026-11-07",
        "adults": 2,
        "latitude": 52.5103836,
        "longitude": 13.3752744,
        "address": null,
        "phone": null,
        "website": "https://www.ritzcarlton.com/en/hotels/berzt-the-ritz-carlton-berlin/overview/",
        "checkInTime": "3:00 PM",
        "checkOutTime": "12:00 PM",
        "thumbnailUrl": "https://lh3.googleusercontent.com/gps-cs-s/AHRPTWk5zfVHHjlQmJbeLsvNYEYgHwn8xd3u6BT11fLQe1YDpeaiMg2CrJy1t17II-DIfaZvthoqsWylogzQAa3=s287-w287-h192-n-k-no-v1",
        "images": [
            "https://lh3.googleusercontent.com/gps-cs-s/AHRPTWk5zfVHHjlQmJbeLsvNYEYgHwn8xd3u6BT11fLQe1YDpeaiMg2CrJy1t17II-DIfaZvthoqsWylogzQAa3=s287-w287-h192-n-k-no-v1",
            "https://lh3.googleusercontent.com/gps-cs-s/AHRPTWnNA5s7ZkTzx0hQZENLCtcR3MljauMyorln97u4XEvOMJhb9Yo2nlSNt5bH_HwCZrfs5hGqvZEwqbatbBa=s287-w287-h192-n-k-no-v1"
        ],
        "amenities": [],
        "description": "Contemporary upscale hotel with plush quarters, plus fine German dining, elegant lounges & a pool.",
        "featuredProvider": null,
        "query": "hotels in Berlin",
        "scrapedAt": "2026-09-11T11:00:47.072Z",
        "offers": [
            {
                "provider": "Hotels.com",
                "nightlyPrice": 367,
                "nightlyPriceText": "$367",
                "url": "https://www.google.com/aclk?sa=l&ai=DChsSEwiyuOv5r-aWAxWZKEQIHa7oCMUYACICCAEQFxoCZHo&co=1&ase=2&gclid=…",
                "perks": ["Save on the app", "Earn rewards everywhere"],
                "rooms": [
                    {
                        "name": "1 king bed",
                        "features": ["Free cancellation until Sep 11", "2 guests", "Free Wi-Fi"],
                        "priceText": "$367",
                        "price": 367
                    }
                ]
            },
            {
                "provider": "Expedia.com",
                "nightlyPrice": 367,
                "nightlyPriceText": "$367",
                "url": "https://www.google.com/aclk?sa=l&ai=DChsSEwj7sev5r-aWAxUUOkQIHfsPOZMYACICCAEQFxoCZHo&co=1&ase=2&gclid=…",
                "perks": ["Earn rewards on this stay", "Save with free membership"],
                "rooms": [
                    {
                        "name": "1 king bed",
                        "features": ["Free cancellation until Sep 11", "2 guests", "Free Wi-Fi"],
                        "priceText": "$367",
                        "price": 367
                    }
                ]
            }
        ]
    }
]
```

Track hotel rates for any city and any dates with the **Google Hotels Scraper** today! 🚀

# Actor input Schema

## `queries` (type: `array`):

What you would type into Google Hotels — a destination (`hotels in Berlin`), an area (`hotels near Times Square`) or a hotel name.

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

YYYY-MM-DD. Prices depend on the stay; leave empty for a stay 30 days from now.

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

YYYY-MM-DD. Leave empty for a 2-night stay.

## `adults` (type: `integer`):

Number of adult guests (1–6).

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

ISO currency code for the prices, e.g. USD, EUR, GBP.

## `maxHotels` (type: `integer`):

How many hotels to collect for each query (20 per page).

## `includeOffers` (type: `boolean`):

Also fetch every provider's offer for each hotel (Booking.com, Expedia, Hotels.com, the hotel's own site…) with room names and prices. One extra request per hotel, billed separately.

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

Maximum number of hotel rows to save in total.

## `proxyConfiguration` (type: `object`):

Proxy settings. The default works.

## Actor input object example

```json
{
  "queries": [
    "hotels in Berlin"
  ],
  "adults": 2,
  "currency": "USD",
  "maxHotels": 40,
  "includeOffers": false,
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

No description

# 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 = {
    "queries": [
        "hotels in Berlin"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("piotrv1001/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 = {
    "queries": ["hotels in Berlin"],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("piotrv1001/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 '{
  "queries": [
    "hotels in Berlin"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call piotrv1001/google-hotels-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,piotrv1001/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/Kol3Zisc9fdll02Ks/builds/rOKuZq8oXYtm5c0iH/openapi.json
