# Google Hotels Scraper & Rate Monitor · $3/1K (`xpandalabs/google-hotels-rate-monitor`) Actor

From $3 per 1,000 hotels. Google Hotels prices for any city or hotel, amenities, every booking site's rate and rate-parity checks, plus competitor rate shopping: your hotel vs. competitors across up to 60 dates, with price rank, gap to average, a rate grid and price alerts.

- **URL**: https://apify.com/xpandalabs/google-hotels-rate-monitor.md
- **Developed by:** [Weijie Xiong](https://apify.com/xpandalabs) (community)
- **Categories:** Travel, Agents, MCP servers
- **Features:** Limited permissions
- **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.
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 & Rate Monitor

Pull hotel prices from Google Hotels for any destination or hotel, for your exact dates, guests and currency. Built for **hotel competitor rate shopping**: compare your hotel with your competitors across up to 60 check-in dates, see every booking site's price, catch agencies undercutting your direct rate, and get alerts when prices change.

**Price:** $3 per 1,000 hotels, plus $0.006 per hotel when you get every booking site's rate. Paid Apify plans (Starter, Scale, Business) get up to 30% off. No subscription and no start fee; you only pay for results, and you can cap the cost of each run. [Details](#how-much-does-it-cost-to-scrape-google-hotels)

### What does Google Hotels Scraper & Rate Monitor do?

It reads the same public Google Hotels results a visitor sees and turns them into structured rows (JSON, CSV, Excel), one row per hotel:

- **Destination searches** (`hotels in Sydney`, `4-star hotels near Darling Harbour`, `hotels in Shanghai`): up to 600 hotels per search, with name, star class, Google rating and review count, property type, coordinates, official website, nightly and total price for your dates, Google's deal label (`18% less than usual`), a stable Google hotel ID and a direct Google Hotels link.
- **Every booking site's rate** for a hotel: the official site, Booking.com, Expedia, Agoda, Trip.com, Hotels.com and every other site Google lists (often 20–30), before and with tax, plus the cheapest site and its price.
- **Amenities** for every hotel: free Wi-Fi, breakfast, parking, pool, spa, pet-friendly and more, with yes/no columns and a **Must have amenities** filter (`hotels in Bali` with free breakfast and a pool). A hotel's own page adds the full list Google shows, grouped (Internet, Pools, Food & drink, Parking…).
- **Rate parity**: how far the cheapest online travel agency (OTA) is below or above the hotel's own website, with a `parityIssue` flag when an agency undercuts it.
- **Competitor rate shopping**: your hotel and your competitors for many check-in dates in one run, with your price rank (1 = cheapest), your gap to the competitor average, each competitor's price vs yours in %, and a colour-coded **Rate report** (hotel × date price grid) in the run's Output tab.
- **Price changes between runs**: each row says whether the price went `up`, `down`, stayed `unchanged`, is `new`, became `unavailable` (sold out) or is `available` again, with the previous price and the % change. Turn on *Output only changed hotels* for an alert-ready list.

### What makes it different?

| | **This Actor** | Typical Google Hotels scrapers |
|---|---|---|
| Competitor rate shopping | Your hotel vs competitors across up to 60 dates, with rank, gap to average and a rate grid | Not available; you build it yourself |
| Price changes | Built in: previous price, % change, changes-only output | Raw prices only |
| Booking sites | Every site Google lists, with parity check against the official site | Lead price, or a few sites |
| Dates | One stay, or many check-in dates in one run | Usually one stay |
| Amenities | Summary list, yes/no columns and a must-have filter; full grouped list from the hotel's page | Often missing, or only on detail pages |
| Billing | $3 per 1,000 hotels, booking-site rates opt-in, no start fee, cost cap per run | Often per offer row, or a start fee |
| Reliability | Every page validated; slow proxy IPs are bypassed automatically, residential fallback only when needed | A blocked page often returns an empty run |

### How to scrape Google Hotels step by step

1. Open the Actor and enter a destination under **Searches** (`hotels in Paris`), or hotel names or Google Hotels links under **Specific hotels**.
2. Pick dates: a fixed check-in and check-out, or **Days ahead** and **Nights** so a scheduled run always looks the same distance ahead.
3. Choose guests and currency, or one **Region preset** (US, Canada, Australia, New Zealand, UK, Europe, Japan, Singapore, Thailand, China mainland, Hong Kong, Macau) to set currency and market in one click.
4. Optional: filters (stars, rating, price range, must-have amenities), booking-site rates for search results, and rate shopping (*Your hotel* + *Check-in dates to check*).
5. Click **Start**. Download the results as JSON, CSV or Excel, or connect them to other tools.

### Google Hotels API vs this scraper

Google does not offer a public API for Google Hotels results. The Hotel Center and Hotel Prices APIs are for hotel partners sending their own rates **to** Google, not for reading the comparison results out, and they need partner onboarding. This Actor works like an API for the public results: **no Google API key, no partner account, no per-call quota**. Call it from your code with the Apify API and get structured JSON back.

### Who is it for?

- **Hotels and revenue managers**: track your competitive set every morning and catch OTAs undercutting your direct rate.
- **Travel companies, agencies and OTAs**: refresh rate data for a market on a schedule.
- **Price-comparison and travel app builders**: a hotel + rates dataset for any city, through an API.
- **Analysts and researchers**: price levels by city, star class, season and booking window.
- **AI agents**: answer questions like "cheapest 4-star hotel in Shanghai on 20 December" with live prices.

### Input

| Input | What it does |
|---|---|
| Searches | Destinations, as typed into Google Hotels |
| Specific hotels | Hotel names (add the city) or Google Hotels links; returns every booking site's rate |
| Your hotel | Turns on rate shopping: rank and gaps against the hotels under *Specific hotels* |
| Check-in dates to check | Price the same hotels for many dates in one run (up to 60), every night or e.g. every 7 days |
| Max hotels per search | Up to 600. Use 18 or fewer for a quick answer (one results page, usually under 10 seconds) |
| Region preset | Currency and market in one click |
| Dates | Fixed check-in/check-out, or *Days ahead* + *Nights* for schedules |
| Guests | Adults and children's ages |
| Filters | Minimum stars, minimum rating, price range, only hotels with a price, must-have amenities (free Wi-Fi, free breakfast, pool, spa, pet-friendly and 16 more); sort by price or rating |
| Booking-site rates for search results | Opens each hotel's page for per-site rates and parity (capped per run) |
| Track price changes / Output only changed hotels | Compare with the previous run; output only hotels whose price moved |
| Hotels to watch | Flags your hotel or key competitors in the output |

### Output

One row per hotel (and per check-in date when you check several dates). Main fields:

| Field | Example |
|---|---|
| `name`, `stars`, `rating`, `reviewCount` | `Park Hyatt Sydney`, `5`, `4.7`, `1830` |
| `nightlyPrice`, `nightlyPriceWithTax`, `totalPrice`, `currency` | `1367.45`, `1504`, `3008`, `AUD` (nightly before tax, nightly with taxes and fees, whole stay with taxes and fees: 2 nights here) |
| `checkIn`, `checkOut`, `nights` | `2026-12-20`, `2026-12-21`, `1` |
| `dealLabel` | `18% less than usual` |
| `amenities` | `["Breakfast ($)", "Free Wi-Fi", "Parking ($)", "Outdoor pool", "Spa", ...]` (`($)` = extra charge) |
| `freeWifi`, `freeBreakfast`, `freeParking`, `pool`, `petFriendly` | `true` / `false` (`false` = Google does not list it; empty when Google lists no amenities) |
| `amenityDetails` | the hotel page's full list by group: `{"Pools": ["Pool", "Outdoor pool", "Hot tub"], "Food & drink": [...], ...}` (hotels under *Specific hotels*, and search results with booking-site rates on) |
| `rentalDetails` | vacation rentals: `["Entire apartment", "Sleeps 4", "1 bedroom", "3 beds"]` |
| `offers` | every booking site with nightly price before and with tax, and booking link |
| `cheapestSite`, `cheapestNightly`, `officialSiteNightly` | `Agoda`, `1265.80`, `1367.45` |
| `lowestOtaVsOfficialPct`, `parityIssue` | `-7.4`, `true` |
| `rankByPrice`, `vsCompSetAvgPct`, `vsMyHotelPct` | `2`, `-4.8`, `+10.0` (rate shopping) |
| `changeType`, `previousNightlyPrice`, `priceChangePct` | `down`, `1450.00`, `-5.7` |
| `hotelId`, `googleHotelsUrl`, `latitude`, `longitude` | stable ID and link |

The **Rate report** (HTML price grid) and a **Run summary** are in the run's Output tab.

### How much does it cost to scrape Google Hotels?

You pay per result, with no start fee:

| You pay for | When | Free plan | Starter | Scale | Business |
|---|---|---|---|---|---|
| **Hotel** | each hotel row returned | $0.003 | $0.0027 | $0.0024 | $0.0021 |
| **Booking-site rates** | each hotel's page opened for every booking site's rate (each hotel under *Specific hotels*, and search results when you turn it on) | $0.006 | $0.0054 | $0.0048 | $0.0042 |

Worked examples (free plan prices):

- 1,000 hotels in a city with prices: **$3**.
- One hotel with every booking site's rate: **$0.009**.
- Your hotel and 9 competitors for the next 7 nights (70 hotel-dates, all booking sites): **$0.63 per run**; daily for a month: about **$19**.
- Apify's **$5 free monthly credit** covers about 1,600 hotels, or about 550 hotels with every booking site's rate.

Set a maximum cost per run in the run options: the Actor stops at that limit and keeps everything collected so far.

### Run it on a schedule

1. Enter your hotel under *Your hotel* and 5–10 competitors under *Specific hotels*.
2. Leave the dates empty, set *Days ahead* (e.g. 1) and *Check-in dates to check* (e.g. 30) for a rolling month.
3. Turn on *Output only changed hotels* if you only want alerts. Your own hotel's rows are always kept.
4. Create a schedule in Apify (daily, for example) and send the results to email, Slack or Google Sheets with Apify integrations.

With fixed dates, each hotel is compared with its last price for the same stay. With *Days ahead*, it is compared with the same stay dates if an earlier run priced them, otherwise with the same booking window (for example "7 days out") from the previous run; the `comparedWith` field says which.

### AI agents and MCP

The Actor can be called by AI assistants (Claude, ChatGPT, Cursor and others) through the [Apify MCP server](https://mcp.apify.com). Inputs are plain text (a destination, hotel names, ISO dates), invalid inputs return a clear error message, and small searches (18 hotels or fewer) usually answer in under 10 seconds.

### Examples

Code examples for Python, JavaScript, cURL and n8n (competitor rate shopping, rate parity alerts and more): [github.com/bigxiong001-pixel/google-hotels-api](https://github.com/bigxiong001-pixel/google-hotels-api).

Ready-made tasks you can run in one click:

- [Hotel prices in New York for next week](https://apify.com/xpandalabs/google-hotels-rate-monitor/examples/nyc-hotel-prices)
- [Compare your hotel's rates with competitors](https://apify.com/xpandalabs/google-hotels-rate-monitor/examples/hotel-competitor-rate-shop)
- [Rate parity check: OTAs vs the hotel's own site](https://apify.com/xpandalabs/google-hotels-rate-monitor/examples/hotel-rate-parity-check)
- [Cheapest 4-star hotels in London](https://apify.com/xpandalabs/google-hotels-rate-monitor/examples/cheapest-4-star-london)
- [Tokyo hotel price drop alerts](https://apify.com/xpandalabs/google-hotels-rate-monitor/examples/tokyo-hotel-price-alerts)
- [Hong Kong hotel prices in HKD](https://apify.com/xpandalabs/google-hotels-rate-monitor/examples/hong-kong-hotel-prices-hkd)

### What it does not do

So you know before you run it:

- **No booking.** It reads prices and links; booking happens on the hotel's or booking site's own page.
- **Prices are Google's display prices.** They can differ from the final checkout price (resort fees, card fees, member rates), and Google rounds them.
- **Not every hotel in a city.** A destination search returns what Google Hotels lists for it (up to about 600), and Google rotates part of that list between runs. To track the same hotels every day, list them under *Specific hotels*.
- **No room-by-room availability or cancellation terms** in search results. A hotel's own page (*Specific hotels*, or booking-site rates on) gives the room rates Google shows there.
- **Amenities are as Google lists them.** `false` means Google does not list it, not that the hotel confirmed it is missing. The full grouped list (`amenityDetails`) comes only from a hotel's own page, in the page's language.
- **No review texts or photos**, only the rating and review count.
- **Price history starts with your first run.** Change tracking compares with your own earlier runs; it does not fetch Google's past prices.

### FAQ

**Do I need a Google API key?**
No. The Actor reads the public Google Hotels results. You only need an Apify account.

**Can I get prices for one specific hotel instead of a whole city?**
Yes. Put the hotel name (add the city, e.g. `Park Hyatt Sydney`) or its Google Hotels link under *Specific hotels*. You get the hotel's price and every booking site's rate.

**Can I get prices for several dates in one run?**
Yes. Set *Check-in dates to check* (up to 60) and, if you like, *Days between check-in dates* (7 checks the same weekday each week). This applies to the hotels under *Your hotel* and *Specific hotels*.

**How do I compare my hotel with competitors?**
Put your hotel under *Your hotel* and competitors under *Specific hotels*. Every row then shows the price rank, the gap to the competitor average and each competitor's price vs yours, and the Rate report shows the whole grid.

**Which currencies and countries are supported?**
Any currency Google Hotels supports (USD, EUR, GBP, AUD, JPY, CNY, HKD and more) and any destination Google Hotels covers. Region presets set the currency and market for 12 common markets in one click.

**Can I filter by amenities?**
Yes. Pick them under *Must have amenities* (for example free breakfast and pool) and only hotels that have all of them are returned and charged. The Actor reads further result pages until it has *Max hotels per search* matches. Every row also has the `amenities` list and yes/no columns, so you can filter in Excel or Google Sheets too.

**Why do some hotels have no price?**
Google shows no price when the hotel is sold out or no booking site offers your dates. These rows have an empty price; with change tracking on, a hotel that loses its price is marked `unavailable` once, and `available` when a price comes back.

**How fresh are the prices, and how often can I run it?**
Prices are what Google shows at the moment of the run. Run it as often as you like; daily is typical for rate monitoring.

**Can I use it with the Apify API, Make, Zapier, n8n or Google Sheets?**
Yes. Call it through the Apify API from any language, or connect it to Make, Zapier, n8n, Google Sheets, Slack and more with Apify integrations.

**Can I use it through an MCP server?**
Yes, through the Apify MCP server. See [AI agents and MCP](#ai-agents-and-mcp).

**Is it legal to scrape Google Hotels?**
The Actor collects only publicly available prices and hotel details, the same results any visitor sees, without logging in. You are responsible for using the data in line with applicable laws and Google's terms.

### Notes

- Star class, ratings and property types are as Google reports them.
- Google rotates part of the properties it shows for a destination search, so the same search can return a slightly different set each run. For tracking specific competitors, list them under *Specific hotels*. With *Output only changed hotels* on, newly appearing properties from destination searches are left out after the first run.
- If Google does not recognise a destination, it may show hotels from elsewhere. Check the spelling, or add the country (`hotels in Perth, Australia`).
- Prices are what Google shows at scrape time, converted by Google to your currency, and can differ from a booking site's checkout price. For monitoring a foreign market, use the local currency to avoid exchange-rate noise.

### Reliability

Every page is validated before data is saved. If a proxy IP is slow, the same page is requested through other IPs in parallel and the first good answer is used; failing pages are retried with fresh sessions and, if needed, through residential proxies. A search that still fails is reported in the run log and the `SUMMARY` record; it is never returned as silently empty data.

### Support

Questions, a bug, or a field you need? Open the **Issues** tab on this Actor's page. Issues are read and answered.

### In other languages

- **中文**：Google 酒店价格爬虫 / API：任意城市或酒店的价格、酒店设施（免费 Wi-Fi、早餐、停车、泳池等，可按设施筛选）、各订房网站（携程 Trip.com、Agoda、Booking.com、Expedia、官网）报价、酒店比价、价格一致性检查、竞品价格监控，支持人民币和港币。
- **Deutsch**: Google Hotels Scraper: Hotelpreise für jede Stadt, Preise aller Buchungsportale, Hotelpreisvergleich, Ratenparität und Preisalarme.
- **Français** : scraper Google Hotels : prix des hôtels, tarifs de chaque site de réservation, comparateur d'hôtels, parité tarifaire et alertes de prix.
- **Español**: scraper de Google Hotels: precios de hoteles, tarifas de cada sitio de reservas, comparar precios de hoteles, paridad de tarifas y alertas.
- **Italiano**: scraper di Google Hotels: prezzi degli hotel, tariffe di ogni sito di prenotazione, confronto prezzi, parità tariffaria.
- **日本語**：Google ホテルの価格取得：都市・ホテルごとの料金、予約サイト別の料金比較、レートパリティ、価格アラート。

### More from XPanda Labs

- [Google Flights Scraper & Fare Monitor](https://apify.com/xpandalabs/google-flights-fare-monitor): flight prices, cheapest-day fare calendar, price drop alerts
- [Google Trends Scraper & Monitor](https://apify.com/xpandalabs/google-trends-monitor): rising/falling verdict, rising and breakout searches, trending now
- [Google Shopping Scraper & Price Monitor](https://apify.com/xpandalabs/google-shopping-price-monitor): product prices, discounts, sellers, price-drop alerts in 31 countries

### Changelog

- **2026-11-22**: Amenities for every hotel (`amenities`, yes/no columns `freeWifi`, `freeBreakfast`, `freeParking`, `pool`, `petFriendly`), a *Must have amenities* filter, the full grouped amenity list from a hotel's page (`amenityDetails`) and vacation-rental details (`rentalDetails`). Fix: prices now read correctly when the language puts the currency after the number (German, French, Italian and others: `1.234 €`).
- **2026-11-21**: Fix: `totalPrice` is now the whole stay with taxes and fees (on multi-night stays it used to be one night with taxes). New field `nightlyPriceWithTax`. A sold-out hotel is reported as `unavailable` once instead of on every run, and as `available` when it is bookable again. Hotel names starting with "Hotel" are found more reliably.
- **2026-11-18**: Booking-site rates now $0.006 per hotel (was $0.01). Faster and steadier page loading: slow proxy IPs are bypassed automatically. Six ready-made example tasks. Price changes on rolling schedules (*Days ahead*) are compared by booking window.
- **2026-11-18**: Competitor rate shopping: your hotel vs competitors across up to 60 check-in dates, with price rank, gap to the competitor average, and a Rate report.
- **2026-11-17**: Fix: a hotel with no price for a date no longer shows a nearby hotel's price.
- **2026-11-16**: First release: destination searches, every booking site's rate, rate parity, price-change tracking.

# Actor input Schema

## `searches` (type: `array`):

Destinations as you would type them into Google Hotels, e.g. 'hotels in Sydney', '4-star hotels near Darling Harbour', 'hotels in Shanghai'. Results are paginated up to 'Max hotels per search'.

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

Hotel names (add the city for accuracy, e.g. 'Park Hyatt Sydney') or Google Hotels URLs. Each returns the hotel with every booking site's room rates.

## `maxHotels` (type: `integer`):

Google shows about 18 hotels per page; the Actor pages through results until this many hotels (after filters) are collected. For a quick answer (an AI assistant or a single question), use 18 or fewer: one results page, usually back in under 10 seconds.

## `myHotel` (type: `string`):

Your own hotel's name (add the city) or Google Hotels link. Every row then shows how each competitor's price compares with yours, and your price rank and gap to the competitor average, date by date.

## `datesToCheck` (type: `integer`):

How many check-in dates to price for Your hotel and Specific hotels, starting at the check-in date (or Days ahead). Example: 30 gives the next 30 nights. Destination searches always use one date. Each hotel and date is one result.

## `dateStepDays` (type: `integer`):

1 checks every night; 7 checks the same weekday each week.

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

YYYY-MM-DD. Leave empty to use 'Days ahead' instead (recommended for scheduled runs).

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

YYYY-MM-DD. Leave empty to use 'Nights'.

## `daysAhead` (type: `integer`):

When no check-in date is given, check in this many days from today. Lets a daily schedule always look at the same booking window.

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

Length of stay in nights.

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

Adults per room.

## `childrenAges` (type: `array`):

One entry per child, e.g. 4 and 9.

## `region` (type: `string`):

Sets currency, Google country and language in one go. Fields below override it.

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

ISO code, e.g. USD, AUD, CNY, HKD. Leave empty to use the region preset (USD if none).

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

Two-letter code Google should localise for, e.g. us, au, hk. Leave empty to use the region preset.

## `language` (type: `string`):

Interface language, e.g. en, zh-CN, ja. Leave empty to use the region preset.

## `minStars` (type: `integer`):

0 = any.

## `minRating` (type: `number`):

Google rating out of 5, e.g. 4.2. 0 = any.

## `minPrice` (type: `number`):

In the chosen currency. 0 = no minimum.

## `maxPrice` (type: `number`):

In the chosen currency. 0 = no maximum.

## `onlyWithPrice` (type: `boolean`):

Skip properties Google shows without a rate for your dates (often sold out).

## `requiredAmenities` (type: `array`):

Only hotels that have all of these, as listed on Google Hotels. Every result also includes its amenities list and yes/no columns for free Wi-Fi, free breakfast, free parking, pool and pet-friendly.

## `sortBy` (type: `string`):

Order of hotels within each search in the output.

## `includeBookingSiteRates` (type: `boolean`):

Also open each hotel's page to get the rate on every booking site (official site, Booking.com, Expedia...). Charged per hotel looked up ($0.006 on the free plan).

## `maxBookingSiteLookups` (type: `integer`):

Caps the extra lookups per run (top results first).

## `trackChanges` (type: `boolean`):

Remembers the last price per hotel, dates and currency, and reports the change on the next run.

## `onlyChanges` (type: `boolean`):

Skip hotels whose price did not move since the last run. Useful for alerts.

## `changeThresholdPct` (type: `number`):

Smaller moves count as unchanged.

## `watchHotels` (type: `array`):

Names (or part of a name) to flag in the output, e.g. your own hotel. Case-insensitive.

## `maxRetries` (type: `integer`):

How many times to retry a search with a fresh proxy session before giving up.

## `residentialFallback` (type: `boolean`):

If a page keeps failing on datacenter proxies, retry it through residential proxies (billed by Apify per GB).

## `maxConcurrency` (type: `integer`):

How many searches run at the same time.

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

Apify datacenter proxies are enough for most runs.

## Actor input object example

```json
{
  "searches": [
    "hotels in Sydney"
  ],
  "hotels": [],
  "maxHotels": 100,
  "datesToCheck": 1,
  "dateStepDays": 1,
  "daysAhead": 7,
  "nights": 1,
  "adults": 2,
  "childrenAges": [],
  "region": "",
  "minStars": 0,
  "minRating": 0,
  "minPrice": 0,
  "maxPrice": 0,
  "onlyWithPrice": false,
  "requiredAmenities": [],
  "sortBy": "relevance",
  "includeBookingSiteRates": false,
  "maxBookingSiteLookups": 20,
  "trackChanges": true,
  "onlyChanges": false,
  "changeThresholdPct": 1,
  "maxRetries": 3,
  "residentialFallback": true,
  "maxConcurrency": 3,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `hotels` (type: `string`):

One row per hotel: prices for your dates, booking-site rates, rate parity and price changes since the last run.

## `report` (type: `string`):

Price grid of your hotel and competitors by check-in date, with your rank and gap to the competitor average.

## `rateShop` (type: `string`):

Rows with price rank and gaps to your hotel and the competitor average.

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

Inputs that succeeded or failed, hotel and change counts, and dates and currency used.

# 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 = {
    "searches": [
        "hotels in Sydney"
    ],
    "hotels": [],
    "childrenAges": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("xpandalabs/google-hotels-rate-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 = {
    "searches": ["hotels in Sydney"],
    "hotels": [],
    "childrenAges": [],
}

# Run the Actor and wait for it to finish
run = client.actor("xpandalabs/google-hotels-rate-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 '{
  "searches": [
    "hotels in Sydney"
  ],
  "hotels": [],
  "childrenAges": []
}' |
apify call xpandalabs/google-hotels-rate-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,xpandalabs/google-hotels-rate-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/mHjYvGpoNHF6Hx1ZB/builds/h7iiBRMe528BMSgdD/openapi.json
