# Hotel Price Monitor - Rate Shopper for Google Hotels (`gio21/hotel-price-monitor`) Actor

Track nightly hotel prices from every booking site on Google Hotels (Booking.com, Expedia, Agoda, official site...) for your hotel and competitors. Price-change alerts, rate parity gap and compset rank. No personal data.

- **URL**: https://apify.com/gio21/hotel-price-monitor.md
- **Developed by:** [Gio](https://apify.com/gio21) (community)
- **Categories:** Travel, E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$5.00 / 1,000 hotel-date checkeds

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

## Hotel Price Monitor - Rate Shopper for Google Hotels

Track what your hotel and your competitors cost on every booking site, every day.
For each hotel and check-in date you get the nightly price from Booking.com, Expedia,
Hotels.com, Agoda, Trip.com, the hotel's official site and more, as listed on Google Hotels.

Built for **revenue managers, hotel owners, OTAs and travel analysts** who need a cheap,
scheduled rate shopper instead of checking prices by hand.

### What you get

- **Rate shopping:** nightly price and total stay price from every booking site (15 to 25 sites per hotel is common).
- **Rate parity:** official site price vs the cheapest online travel agency, as a percentage gap.
- **Competitor set:** rank of each hotel by lowest price for each date and the difference vs your hotel.
- **Price-change alerts:** runs with the same `monitorName` remember the last price and flag moves above your threshold.
- **Free cancellation deadline** per offer when the site shows it.
- Hotel class, Google rating, review count, address and coordinates.

No personal data: the Actor reads public hotel and price information only. No guest, reviewer or host data.

### How to use

1. Add your hotel first, then 2 to 10 competitors (name plus city, or a Google Hotels URL).
2. Choose check-in dates: relative (`daysAhead`: 7, 30) for daily monitoring, or fixed dates for events.
3. Pick currency and the traveler's country (prices can differ by market).
4. Schedule the Actor daily (Apify Schedules) and connect alerts with integrations (Slack, email, webhooks) on `priceAlert = true`.

#### Input example

```json
{
  "hotels": ["Copacabana Palace Rio de Janeiro", "Fairmont Rio de Janeiro Copacabana", "Hilton Copacabana Rio de Janeiro"],
  "daysAhead": [7, 30],
  "nights": 1,
  "adults": 2,
  "currency": "BRL",
  "country": "br",
  "monitorName": "rio-copacabana"
}
```

#### Output example (one row per hotel and date, offers shortened)

```json
{
  "hotelName": "Fairmont Rio de Janeiro Copacabana",
  "isMyHotel": false,
  "checkIn": "2026-11-30",
  "nights": 2,
  "currency": "BRL",
  "lowestPrice": 2483.38,
  "lowestProvider": "br.Bluepillow.com",
  "officialSitePrice": 3462,
  "parityGapPercent": 39.41,
  "bookingComPrice": 3846.63,
  "providerCount": 17,
  "compsetRank": 2,
  "vsMyHotelPercent": -37.27,
  "priceChangePercent": 0,
  "priceAlert": false,
  "offers": [
    { "provider": "br.Bluepillow.com", "pricePerNight": 2483.38, "totalPrice": 4966.75, "freeCancellationUntil": null, "isOfficialSite": false }
  ]
}
```

### Pricing

Pay per result: **$5 per 1,000 hotel-date checks** (one check = one hotel on one check-in date, with all its booking-site offers).
Hotels or dates that return no prices are not charged. Free plan users can run up to 6 checks per run to try it.

### Notes

- Prices are what Google Hotels shows at run time, before or with taxes depending on the market. Compare runs with the same country and currency.
- Sold-out dates return `available: false`.
- Each run uses Apify Proxy; leave the default proxy setting on.

This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Google, Booking.com, Expedia or any of their subsidiaries. All trademarks mentioned are the property of their respective owners.

# Actor input Schema

## `hotels` (type: `array`):

Hotel name plus city (e.g. 'Copacabana Palace Rio de Janeiro') or a Google Hotels URL. Put YOUR hotel first, then the competitors.

## `firstIsMyHotel` (type: `boolean`):

Compare every competitor's price with the first hotel in the list.

## `daysAhead` (type: `array`):

Relative check-in dates, best for scheduled daily monitoring. Example: 7 and 30 = one week and one month from the run date.

## `checkInDates` (type: `array`):

Optional fixed dates (YYYY-MM-DD), e.g. a holiday or an event weekend.

## `nights` (type: `integer`):

Length of stay.

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

Guests per room.

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

Three-letter code: USD, EUR, BRL, GBP...

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

Two-letter country of the traveler (prices can differ by market): us, br, gb, de...

## `monitorName` (type: `string`):

Runs with the same name share price history, so you get price-change alerts. Use one name per hotel group.

## `alertThresholdPercent` (type: `integer`):

Flag priceAlert when the lowest price moved at least this much since the previous run.

## `maxChecks` (type: `integer`):

Upper limit of hotels x dates per run (each one is charged once).

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

Apify Proxy is recommended.

## Actor input object example

```json
{
  "hotels": [
    "Copacabana Palace Rio de Janeiro",
    "Fairmont Rio de Janeiro Copacabana"
  ],
  "firstIsMyHotel": true,
  "daysAhead": [
    7,
    30
  ],
  "nights": 1,
  "adults": 2,
  "currency": "USD",
  "country": "us",
  "monitorName": "default",
  "alertThresholdPercent": 5,
  "maxChecks": 60,
  "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 = {
    "hotels": [
        "Copacabana Palace Rio de Janeiro",
        "Fairmont Rio de Janeiro Copacabana"
    ],
    "daysAhead": [
        7,
        30
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("gio21/hotel-price-monitor").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 = {
    "hotels": [
        "Copacabana Palace Rio de Janeiro",
        "Fairmont Rio de Janeiro Copacabana",
    ],
    "daysAhead": [
        7,
        30,
    ],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("gio21/hotel-price-monitor").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 '{
  "hotels": [
    "Copacabana Palace Rio de Janeiro",
    "Fairmont Rio de Janeiro Copacabana"
  ],
  "daysAhead": [
    7,
    30
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call gio21/hotel-price-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,gio21/hotel-price-monitor"
        }
    }
}
```

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/xBSAMY34235iiCL8B/builds/vOOiMBFv7e8Y6m1Wj/openapi.json
