# Google Hotels Scraper — Prices, Taxes, Fees & Ratings (`blainer28/google-hotels-reliable`) Actor

Hotel prices, taxes, fees, ratings, reviews, stars, coordinates and websites from Google Hotels, for any location and dates. Paginates up to 500 hotels per location. No browser. Failed searches are reported and never charged.

- **URL**: https://apify.com/blainer28/google-hotels-reliable.md
- **Developed by:** [Blainer28](https://apify.com/blainer28) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 hotel delivereds

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: Prices, Taxes & Fees, Pay Only for Delivered Hotels

Get hotel **prices, taxes, fees, ratings, review counts, star class, coordinates, check-in/out times and websites** from Google Hotels, for any location, dates and number of guests.

### Why this one

- **No browser, fast and light.** It reads the data Google already puts in the results page. In our tests on Apify, 300 hotels across 3 cities took 78 to 85 seconds at 256 MB.
- **Full price breakdown.** For every hotel: price per night before and after taxes, total before taxes, taxes, fees and grand total for your stay. Our tests check that base + taxes + fees = total on every hotel of real Google pages.
- **Cross-checked.** On 96 hotels also returned by an independent scraper for the same dates, the nightly price matched within $1 on 95, and rating, review count and star class matched on all 96.
- **Pagination.** Up to 500 hotels per location, de-duplicated across pages.
- **You pay only for delivered hotels.** If a location still fails after automatic retries with fresh sessions, you get one item with `status: "failed"` and the reason. It is **not charged**.
- **Nothing hidden.** Every run writes a summary to the `OUTPUT` record: hotels delivered per location, failures, rate limits hit, sessions rotated.

### Input

```json
{
  "locations": ["Montreal", "Times Square"],
  "checkIn": "2026-11-12",
  "checkOut": "2026-11-14",
  "adults": 2,
  "currency": "USD",
  "maxResultsPerLocation": 100
}
```

- `locations`: a city, neighbourhood or landmark. A plain place name is searched as "hotels in …"; a phrase that already says "hotels near …" is used as is.
- Dates default to 30 days from today, one night.
- `country`: the country Google searches from (default `us`). It can change which offers appear.

### Output (one item per hotel)

```json
{
  "location": "Montreal",
  "checkIn": "2026-11-12",
  "checkOut": "2026-11-14",
  "nights": 2,
  "adults": 2,
  "status": "ok",
  "rank": 1,
  "name": "Hotel Europa, Best Western Signature Collection",
  "hotelClass": "3-star hotel",
  "stars": 3,
  "rating": 3.8,
  "reviewCount": 2744,
  "pricePerNightBeforeTaxes": 96.59,
  "pricePerNightWithTaxes": 114.85,
  "pricePerNightDisplay": "CA$97",
  "displayIncludesTaxes": false,
  "totalBeforeTaxes": 193.18,
  "totalTaxes": 36.52,
  "totalFees": 0,
  "totalPrice": 229.7,
  "currency": "CAD",
  "latitude": 45.4968,
  "longitude": -73.5712,
  "checkInTime": "4:00 PM",
  "checkOutTime": "11:00 AM",
  "website": "https://www.bestwestern.com/…",
  "googleHotelId": "3117557482340384783",
  "googleMapsUrl": "https://www.google.com/maps?cid=…"
}
```

- `pricePerNightBeforeTaxes` and `pricePerNightWithTaxes` are computed from Google's own price breakdown, so their meaning never changes. Both include mandatory fees.
- `pricePerNightDisplay` is the price exactly as Google showed it. **Its meaning depends on the country of the IP doing the search**: in our tests, Google showed it without taxes to US IPs and with taxes included to many residential proxies. `displayIncludesTaxes` tells you which one you got.
- `totalPrice` is the full stay, taxes and fees included.
- Sponsored listings are left out: they are ads, not results.

### Limits (read before you buy)

- **Prices are what Google shows at the time of the run**, for the country you search from. They are not a booking quote, and they change during the day.
- **The ranking changes between calls.** Google re-orders results; two runs with the same input can list hotels in a different order.
- **Vacation rentals have no star class.** Google mixes apartments and studios into hotel results; for those, `hotelClass` and `stars` are empty.
- **Per-vendor offers (Booking, Expedia…) are not included** in this version.
- **Google can change its page at any time.** If that happens, affected locations come back as `failed` (not charged) until the Actor is updated.

# Actor input Schema

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

Cities, neighbourhoods or landmarks, e.g. 'Paris', 'Times Square', 'hotels near JFK airport'. Duplicates are removed.

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

YYYY-MM-DD. Default: 30 days from today.

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

YYYY-MM-DD. Default: the day after check-in. Max 30 nights.

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

Number of adult guests.

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

3-letter currency code, e.g. USD, EUR, CAD, GBP.

## `country` (type: `string`):

2-letter country code Google should search from (affects which offers are shown).

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

Stops earlier if Google has no more results.

## `maxAttempts` (type: `integer`):

Retries with a fresh session when Google blocks. Higher = more reliable, slower.

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

Apify Proxy is recommended.

## Actor input object example

```json
{
  "locations": [
    "New York"
  ],
  "adults": 2,
  "currency": "USD",
  "country": "us",
  "maxResultsPerLocation": 20,
  "maxAttempts": 6,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Delivered hotels have status "ok". A location that failed has one item with status "failed" and the reason, not charged.

## `summary` (type: `string`):

Hotels delivered per location, failures, rate limits and sessions rotated.

# 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": [
        "New York"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("blainer28/google-hotels-reliable").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": ["New York"],
    "proxyConfiguration": { "useApifyProxy": True },
}

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

```

## MCP server setup

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

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/d4dt1JrrNsaLzBdE4/builds/g5lVxVgRRH2QqjCFb/openapi.json
