# Google Hotels Deals & Nightly Rates Scraper (`rainminer/google-hotels-deals-scraper`) Actor

Find hotel deals on Google Travel. Compare nightly rates to the usual price and visible OTA listings, then flag isDeal with discount, baseline price, OTA spread, stay dates, and a public booking link. No API key and no login required.

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

## Pricing

from $3.74 / 1,000 hotel results

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 on Google Travel](https://i.postimg.cc/nc8HJ91Q/Screenshot-2026-06-03-at-10-59-06-Find-flight-deals-worldwide-book-your-tickets-easily-Google-Fl.png)

### What is Google Hotels Deals Scraper?

**Google Hotels Deals Scraper** searches [Google Travel Hotels](https://www.google.com/travel/hotels) for a destination and **flags real deals** — not just raw nightly rates. Each row compares the Google price to Google's **usual price** signal (% below usual) and, when visible, the **lowest OTA price** on the listing (Expedia and similar). No Google Hotels API key required.

### What can Google Hotels Deals Scraper do?

- 🏨 **Hotel search by city or URL** — destination name or full Google Travel hotels link
- 🏷️ **Deal detection** — `isDeal`, `dealReason`, discount %, and estimated baseline price
- 💱 **OTA spread** — Google vs lowest visible OTA price when Google embeds partner rates
- 📅 **Stay dates** — check-in / check-out on each offer (from URL or input)
- 🔗 **Public booking links** — Google Travel entity URLs only
- ⚡ **Fast city search** — one destination or hotels URL, no browser and no API key
- 📦 **Export** — JSON, CSV, Excel via Apify dataset

### What data can you extract?

| Field | Description |
| --- | --- |
| `hotelName` | Property name |
| `location` | Search destination (e.g. New York) |
| `checkIn` / `checkOut` | Stay dates (YYYY-MM-DD) |
| `currentPrice` | Google "starting from" nightly price |
| `baselinePrice` | Implied usual price from discount % |
| `currency` | Currency code from URL (default USD) |
| `discountPercent` | % below usual when Google shows a deal badge |
| `isDeal` | True when discount or OTA spread crosses your thresholds |
| `dealReason` | Human-readable why it flagged as a deal |
| `otaSpread` | Lowest OTA minus Google price (when OTA data exists) |
| `lowestOtaName` / `lowestOtaPrice` | Cheapest visible OTA on the card |
| `bookingLink` | Google Travel hotel page (public URL) |
| `imageUrl` | Primary listing photo |

### How to use it

1. Open the Actor on Apify Store and click **Try for free**.
2. Set **startUrls** (Google Travel hotel search) or **destination** + optional dates.
3. Tune **dealDiscountThreshold** (default 10%) and **otaSpreadThreshold** (default $15).
4. Set **maxItems** per start URL (default 5).
5. Run and download the dataset from the Results tab.

### Input example

```json
{
  "destination": "New York",
  "maxItems": 5,
  "dealDiscountThreshold": 10,
  "otaSpreadThreshold": 15,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyCountry": "US"
  }
}
```

### Output example

```json
{
  "hotelName": "Pod 51",
  "location": "New York",
  "checkIn": "2026-11-01",
  "checkOut": "2026-11-03",
  "currentPrice": 165,
  "baselinePrice": 203.7,
  "currency": "USD",
  "discountPercent": 19,
  "isDeal": true,
  "dealReason": "19% below usual price",
  "otaSpread": null,
  "lowestOtaName": null,
  "lowestOtaPrice": null,
  "bookingLink": "https://www.google.com/travel/hotels/entity/...",
  "imageUrl": "https://lh3.googleusercontent.com/...",
  "searchUrl": "https://www.google.com/travel/hotels/New%20York?..."
}
```

### Use cases

- Flag hotels that Google marks well below the usual price before a trip.
- Compare a city search across dates without opening every listing.
- Watch a destination for weekend deals and export the rows to a sheet.
- Check whether Google undercuts the OTA price shown on the same card.
- Build a shortlist of properties with a discount badge for a travel newsletter.
- Audit rate shopping for a hotel group against public Google Travel prices.
- Feed deal rows into a price-alert workflow with check-in and check-out dates.
- Share a booking link and hero image with a team that does not want a raw HTML dump.

### Pricing

Each saved hotel offer is one **hotel-result** event. On the free plan that is **$4.99 per 1,000 results**. Use **Maximum items** to cap a test run.

### FAQ

#### Does Google have a hotel deals page like Flights Deals?

No dedicated `/travel/hotels/deals` URL. This Actor reads **search results** where Google marks properties with deal badges and partner prices.

#### Why is `otaSpread` sometimes null?

Google only embeds OTA comparison prices on some listings. Discount-based deals still set `isDeal` when the % threshold is met.

### Image Credit

Image credit: [Google Travel](https://www.google.com/travel/)

# Actor input Schema

## `startUrls` (type: `array`):

Google Travel hotel search URLs (city search or full query with dates).

## `destination` (type: `string`):

City or area name when not using startUrls (e.g. Paris, Tokyo).

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

Check-in date (YYYY-MM-DD). Defaults to ~14 days from run date.

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

Check-out date (YYYY-MM-DD). Defaults to 2 nights after check-in.

## `dealDiscountThreshold` (type: `integer`):

Mark isDeal when Google shows at least this % below usual price.

## `otaSpreadThreshold` (type: `integer`):

Mark isDeal when Google price is at least this much below the lowest visible OTA price on the listing.

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

Maximum hotel offers to save per start URL.

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

Apify datacenter proxy (US) is recommended for stable Google Travel HTML.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.google.com/travel/hotels/New%20York?hl=en-US&gl=US&curr=USD"
    }
  ],
  "destination": "New York",
  "dealDiscountThreshold": 10,
  "otaSpreadThreshold": 15,
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

## `overview` (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 = {
    "startUrls": [
        {
            "url": "https://www.google.com/travel/hotels/New%20York?hl=en-US&gl=US&curr=USD"
        }
    ],
    "destination": "New York",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rainminer/google-hotels-deals-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 = {
    "startUrls": [{ "url": "https://www.google.com/travel/hotels/New%20York?hl=en-US&gl=US&curr=USD" }],
    "destination": "New York",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": [],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("rainminer/google-hotels-deals-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 '{
  "startUrls": [
    {
      "url": "https://www.google.com/travel/hotels/New%20York?hl=en-US&gl=US&curr=USD"
    }
  ],
  "destination": "New York",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [],
    "apifyProxyCountry": "US"
  }
}' |
apify call rainminer/google-hotels-deals-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rainminer/google-hotels-deals-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/CGtoile4qJtRN01fB/builds/4iwBH9Mnyi0vRaoe6/openapi.json
