# Google Hotels Scraper — Prices, Ratings & Property Details (`thenetaji/google-hotels-scraper`) Actor

Search Google Hotels for any city or landmark and export every hotel and vacation rental with coordinates, guest rating, review count and nightly and total prices for your dates. Add each property's class, address, phone, website and photos.

- **URL**: https://apify.com/thenetaji/google-hotels-scraper.md
- **Developed by:** [The Netaji](https://apify.com/thenetaji) (community)
- **Categories:** Travel, Business, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.28 / 1,000 properties

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
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

The Google Hotels Scraper returns the hotels and vacation rentals Google Hotels lists for a city, area or landmark, with coordinates, guest rating, review count, and the price per night and for the whole stay, before and after taxes, for the chosen dates and number of guests. A single location commonly returns several hundred properties. Two add-ons attach each property's page details and the prices of every booking site that sells it.

### Accepted input

- `locations`: one per line, such as `Lisbon`, `Shinjuku Tokyo` or `hotels near Central Park`.
- `checkInDate` and `checkOutDate`: the stay; check-out must be after check-in.
- `adults`: from 1 to 6, default 2. Prices are for this many guests.
- `currency`: any three-letter code; default `USD`.
- `maxItems`: properties saved across all locations; `0` disables the bound.

```json
{
  "locations": ["Lisbon"],
  "checkInDate": "2026-12-10",
  "checkOutDate": "2026-12-12",
  "adults": 2,
  "maxItems": 50
}
```

### Response fields

`search_query`, `place_name`, `position`, `property_token`, `name`, `type`, `latitude`, `longitude`, `rating`, `reviews`, `price_per_night`, `price_per_night_with_taxes`, `total_price`, `total_price_with_taxes`, `check_in_date`, `check_out_date`, `adults` and `currency`.

```json
{
  "search_query": "Lisbon",
  "place_name": "Lisbon",
  "position": 1,
  "property_token": "ChkQx5PmzOHb3_J5Gg0vZy8xMXk1emRmNnkxEAI",
  "name": "Alfama Cruise Terminal - 1 Bed Apt near the Tagus River With A/C!",
  "type": "vacation_rental",
  "latitude": 38.7116,
  "longitude": -9.1279,
  "rating": 4.65,
  "reviews": 97,
  "price_per_night": 101,
  "price_per_night_with_taxes": 105,
  "total_price": 202,
  "total_price_with_taxes": 211,
  "currency": "USD"
}
```

`type` is `hotel` or `vacation_rental`. A property Google lists without a price for the dates has null price fields.

### Add-ons

`enrichPropertyDetails` opens each property's page and adds `hotel_class`, `stars`, `description`, `highlights`, `address`, `phone`, `website`, `check_in_time`, `check_out_time`, `rating_breakdown`, `photos`, `google_place_id` and `google_maps_id`. Hotels publish most of these. Vacation rental pages publish fewer, typically `photos`, `check_in_time` and `check_out_time`, and the remaining fields are null.

`enrichSellerPrices` adds `offers` and `offer_count`: every booking site selling the stay, with its prices before and after taxes, whether it is the property's own site, and the booking link.

Each add-on costs one extra request per property and is charged only when its data is returned. Neither runs on the free plan's trial rows.

### Related Actors

The [Google Hotels Prices Scraper](https://apify.com/thenetaji/google-hotels-prices-scraper) compares booking sites for properties already identified, by `property_token` or Google Hotels link.

# Actor input Schema

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

Cities, areas or landmarks, one per line, such as "Lisbon", "Shinjuku Tokyo" or "hotels near Central Park". Each returns every property Google lists for it, often several hundred.

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

First night of the stay.

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

Day you leave; must be after check-in.

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

Guests staying. Prices are for this many adults.

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

Three-letter currency code for every price, such as USD, EUR or JPY.

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

Maximum number of properties to save across all locations. Set 0 for no limit.

## `enrichPropertyDetails` (type: `boolean`):

Open each property's page and add hotel class, description, address, phone, website, check-in and check-out times, rating breakdown, photos and Google Maps ids. One extra request per property, billed per property that gets them.

## `enrichSellerPrices` (type: `boolean`):

Add each property's sellers: every booking site with its price per night and in total, before and after taxes, the official-site flag and the booking link. One extra request per property, billed per property that gets them.

## Actor input object example

```json
{
  "locations": [
    "Lisbon"
  ],
  "checkInDate": "2026-12-10",
  "checkOutDate": "2026-12-12",
  "adults": 2,
  "currency": "USD",
  "maxItems": 50,
  "enrichPropertyDetails": false,
  "enrichSellerPrices": false
}
```

# Actor output Schema

## `dataset` (type: `string`):

All records scraped by this run

# 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"
    ],
    "checkInDate": "2026-12-10",
    "checkOutDate": "2026-12-12",
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("thenetaji/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"],
    "checkInDate": "2026-12-10",
    "checkOutDate": "2026-12-12",
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("thenetaji/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"
  ],
  "checkInDate": "2026-12-10",
  "checkOutDate": "2026-12-12",
  "maxItems": 50
}' |
apify call thenetaji/google-hotels-scraper --silent --output-dataset

```

## MCP server setup

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