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

- **URL**: https://apify.com/logical\_vivacity/google-hotels-scraper.md
- **Developed by:** [Logical Vivacity](https://apify.com/logical_vivacity) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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?

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 — Hotel Prices, Ratings & Every Booking Site

**What a room actually costs for your dates — on Google Hotels and on every site that sells it.**

Type a city, a neighbourhood or a landmark. Pick your dates, guests and currency. This Actor returns every property Google Hotels shows for that stay: the nightly price with and without taxes, star class, rating and review count, the deal Google flags ("25% less than usual"), photos, coordinates, check-in times and what's nearby.

Turn on **booking-site prices** and each row also carries the price on Booking.com, Expedia, Hotels.com, Agoda, Trip.com, the hotel's own website and the rest — nightly and for the whole stay, with and without taxes, sorted cheapest first, each with a direct link.

**You pay per property returned.** Locations with no results, locations Google can't place, and searches that fail cost you nothing.

***

### Try it in 30 seconds

Put these in **Locations**, leave everything else alone, hit Start:

```
Lisbon
Shoreditch, London
```

You get one table of properties per location, priced for a two-night stay two weeks from today, plus one summary row per location.

***

### What you get per property

```jsonc
{
  "searchQuery": "Lisbon",
  "position": 1,                              // Google's own ranking
  "name": "Brown's | Avenue Hotel",
  "propertyType": "hotel",                    // hotel · vacation_rental
  "hotelClass": 5,
  "rating": 4.6,
  "reviewCount": 280,
  "reviewsByStars": { "5": 221, "4": 30, "3": 14, "2": 7, "1": 8 },
  "reviewTopics": [ { "topic": "Service", "mentions": 70, "positive": 57, "negative": 10 } ],

  "pricePerNight": 195,
  "pricePerNightWithTaxes": 215,
  "currency": "USD",
  "dealLabel": null,                          // e.g. "25% less than usual"
  "checkInDate": "2026-11-12",
  "checkOutDate": "2026-11-15",
  "nights": 3,
  "adults": 2,

  "latitude": 38.7220, "longitude": -9.1456,
  "website": "https://www.brownshotelgroup.com/browns-avenue/",
  "nearbyPlaces": [ { "name": "Avenida", "travelTime": "5 min", "transit": "Subway" },
                    { "name": "Humberto Delgado Airport", "travelTime": "24 min" } ],
  "images": ["https://lh3.googleusercontent.com/…"],
  "googleHotelsUrl": "https://www.google.com/travel/hotels/entity/…",
  "googleMapsUrl": "https://www.google.com/maps?cid=4896003618326261334",
  "status": "ok"
}
```

#### With booking-site prices on

A real row for *My Story Hotel Rossio*, Lisbon, three nights — 16 sites, with the full address and phone number filled in:

```jsonc
{
  "address": "Praça Dom Pedro IV 59, 1100-200 Lisboa, Portugal",
  "phone": "+351 21 340 0380",
  "cheapestOffer": { "site": "Vio.com", "totalPriceWithTaxes": 449.67 },
  "offers": [
    { "site": "Vio.com",     "pricePerNight": 133.01, "totalPrice": 399.02, "totalPriceWithTaxes": 449.67, "bookingUrl": "https://…" },
    { "site": "Hotels.com",  "pricePerNight": 138.22, "totalPrice": 414.65, "totalPriceWithTaxes": 467.02, "bookingUrl": "https://…" },
    { "site": "My Story Hotel Rossio", "isOfficialSite": true, "totalPriceWithTaxes": 646.55, "bookingUrl": "https://…" },
    { "site": "Booking.com", "pricePerNight": 230.71, "totalPrice": 692.12, "totalPriceWithTaxes": 761.19, "bookingUrl": "https://…" }
    // … 12 more
  ]
}
```

The same room, the same nights: **$449.67 on one site, $761.19 on another.** That spread is the whole reason this data is worth having.

#### The summary row

One per location, built from the properties returned. A real one — Lisbon, 12–15 November, two adults, top 25 properties:

```jsonc
{
  "rowType": "summary",
  "searchQuery": "Lisbon",
  "propertiesFound": 25,
  "medianPricePerNight": 85,
  "averagePricePerNight": 103.84,
  "lowestPricePerNight": 32, "highestPricePerNight": 256,
  "cheapestProperty": "Lisbon Destination Hostel",
  "medianPricePerNightByStars": { "1": 41, "2": 51, "3": 60, "4": 156, "5": 227 },
  "averageRating": 4.35,
  "propertiesOnDeal": 13, "shareOnDealPercent": 52.0,
  "hotelCount": 15, "vacationRentalCount": 10
}
```

***

### Who uses this

**Hotel revenue managers** — your rate against every competitor within a kilometre, for the exact dates you're pricing, on a schedule. The booking-site offers show where your own rooms are being undercut by your own distribution.

**Travel startups and price-comparison sites** — nightly and total prices across booking sites, with direct links, for any destination, without integrating a dozen supplier APIs.

**Short-term rental hosts** — what hotels and other rentals nearby charge for the same nights, so you price against the market instead of guessing.

**Travel agencies and corporate travel** — the cheapest place to book each property on a trip, in the client's currency.

**Analysts and researchers** — median nightly price by city, star class and date, tracked over time. Run the same locations every week and you have a hotel price index.

***

### What makes it different

**Priced for your stay.** Dates, number of guests and currency are all honoured — and every row states the dates it was priced for, so nothing is silently quoted for a different stay.

**Every booking site, not just Google's headline price.** Each site's nightly and total price, with and without taxes, with a direct link, the hotel's own website marked. Most tools stop at one number.

**Never the wrong city.** When Google can't place a location, it quietly shows cheap deals from across the whole country instead — a search for a mistyped street can come back as beach motels a thousand miles away. This Actor detects that and reports the location as not recognised instead of handing you confident, wrong data. "Hotels near X" phrasing is understood.

**Hotels and holiday rentals told apart**, with a filter for either.

**A summary row per location** — the median, the range, the price by star class — so "what does a night here cost" is one row, not a pivot table.

***

### Settings that matter

| Setting | What it does |
|---|---|
| **Locations** | One per line — city, neighbourhood, landmark or hotel name |
| **Check-in / check-out** | Your stay. Empty = two nights, two weeks from today. Up to 30 nights |
| **Adults** | Guests per room. Per-person priced places (hostels, some apartments) change a lot |
| **Currency** | 30 currencies |
| **Property type** | Hotels, vacation rentals, or both |
| **Maximum properties per location** | Default 50, in Google's ranking order |
| **Include every booking site's price** | Costs more. Adds all booking-site offers, full address and phone |
| **Include a summary row** | On by default. One row per location, charged once |

Connection handling, pacing, retries and blocking are managed for you — there's nothing to configure and no proxy to set up.

### Automate it

```bash
curl -X POST "https://api.apify.com/v2/acts/YOUR_USERNAME~google-hotels-scraper/runs?token=YOUR_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{ "locations": ["Lisbon", "Porto", "Madeira"],
        "checkInDate": "2026-12-20", "checkOutDate": "2026-12-27",
        "adults": 2, "currency": "EUR",
        "maxResultsPerLocation": 100,
        "includeBookingOffers": true }'
```

Works with Make, Zapier, n8n, Google Sheets and the Apify API, and as an MCP tool for AI agents. Schedule it daily for the same dates and you have a rate-shopping feed.

### Row statuses

| `status` | Meaning |
|---|---|
| `ok` | A property (or a summary) was returned — charged |
| `not_found` | The location was understood but nothing is available for these dates — not charged |
| `location_not_recognised` | Google couldn't place the location — not charged. Try the bare place name |
| `error` | Temporarily unreachable — retry that location; not charged |

### FAQ

**Why is a price missing on some rows?**
Some properties have no rooms for those dates or that many guests. They still appear on Google Hotels, and they're returned with their details and an empty price rather than dropped.

**The same city name exists in two countries — which one do I get?**
The one Google Hotels picks, which is usually the better-known one ("Cambridge" returns Cambridge, England). Add the country or state — "Cambridge, MA" — to be specific.

**How many booking sites does a hotel have?**
Typically 5 to 20 for a hotel in a major city; fewer for small independents and holiday rentals.

**Are the prices live?**
Yes — each run fetches current prices for the dates you set. Prices move constantly, so every row carries the time it was captured.

**Do I need a Google account or API key?**
No.

***

### Terms of Use

This Actor collects publicly available information shown on Google Hotels — prices, ratings and property details that anyone can see without signing in.

You are responsible for using the results lawfully and in line with the applicable terms and regulations in your jurisdiction, including rules on competition, consumer protection and the reuse of commercial data. Photos returned by this Actor belong to their owners; the links are provided for reference and you are responsible for any use you make of the underlying material.

Prices change continuously and differ by market, device and account. The data is provided without warranty of accuracy, completeness or fitness for a particular purpose — confirm the final price with the booking site before relying on it. This Actor is not affiliated with, endorsed by, or sponsored by Google or any booking site.

***

*Missing a field or a filter you need?* Open an issue on the Actor's Issues tab.

# Actor input Schema

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

One per line — anything you would type into Google Hotels: a city (Lisbon), a neighbourhood (Shoreditch, London), a landmark (hotels near Times Square) or a hotel name. Each location is searched separately with the same dates and guests.

## `checkInDate` (type: `string`):

Prices depend heavily on dates. Leave empty for a stay starting two weeks from today.

## `checkOutDate` (type: `string`):

Leave empty for a two-night stay. Up to 30 nights.

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

Guests per room. Prices change with the head count — especially for hostels and apartments priced per person.

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

Every price in the results is quoted in this currency.

## `propertyType` (type: `string`):

Hotels only, holiday rentals (apartments, houses) only, or both.

## `maxResultsPerLocation` (type: `integer`):

How many properties to return for each location, in the order Google ranks them. A big city has thousands; 50 covers the ones most travellers ever see.

## `includeBookingOffers` (type: `boolean`):

Off by default because it costs more — it opens each property's own page. Turn it on and every row also carries the price on each booking site that sells the room (Booking.com, Expedia, Hotels.com, Agoda, the hotel's own website and more): nightly and total, with and without taxes, plus a direct link — sorted cheapest first. It also fills in the full address, phone number and long description.

## `includeSummary` (type: `boolean`):

One extra row per location, charged once: median, average, lowest and highest nightly price, the median by star class, average rating and how many properties are on a deal. The quick answer to "what does a stay here cost for these dates" without opening a spreadsheet.

## Actor input object example

```json
{
  "locations": [
    "Lisbon",
    "hotels near Times Square"
  ],
  "adults": 2,
  "currency": "USD",
  "propertyType": "all",
  "maxResultsPerLocation": 50,
  "includeBookingOffers": false,
  "includeSummary": true
}
```

# Actor output Schema

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

Every property found, with its nightly price, rating and location.

## `overview` (type: `string`):

The same rows as a spreadsheet-style table, with the most useful columns first.

# 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": [
        "Lisbon",
        "hotels near Times Square"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("logical_vivacity/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": [
        "Lisbon",
        "hotels near Times Square",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("logical_vivacity/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": [
    "Lisbon",
    "hotels near Times Square"
  ]
}' |
apify call logical_vivacity/google-hotels-scraper --silent --output-dataset

```

## MCP server setup

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