# Google Hotels Price Calendar Scraper (`scrapercompany/google-hotels-calendar-scraper`) Actor

Scrape Google Hotels nightly prices for up to 330 nights per hotel in one request: base rate, taxes, fees and total for every date, plus minimum-stay detection. SERP-compatible output available. No proxies or API key needed.

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

## Pricing

from $8.00 / 1,000 calendar requests

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

## Google Hotels Price Calendar Scraper

Google Hotels Price Calendar Scraper prices a hotel for a whole range of nights in a single request: up to **330 consecutive dates**, each with the base rate, taxes, mandatory fees and total that Google Hotels shows. It is built for revenue managers tracking a compset, analysts studying seasonality, and apps that need a forward rate calendar without hammering Google one date at a time.

Powered by the [ScraperCompany API](https://scrapercompany.com): requests, proxies, retries and anti-bot handling run on ScraperCompany's servers, so you don't need your own proxies or API key. Start a run, get structured JSON.

Prefer to call it from your own code? The same data is available as the [Google Hotels API](https://scrapercompany.com/google-hotels-api), with per-call pricing and a free tier.

### What can this scraper do?

- Price **up to 330 nights per hotel in one request** (the default run prices 30).
- Keeps **base rate, taxes, fees and total** separate, with the implied tax rate.
- Detects **minimum-stay nights** that Google otherwise shows as empty.
- Any **currency and market**, 1-8 adults, and a length of stay per quote.
- Optional **source spot-checks** that say which OTA a nightly price came from.
- Choose the native format or a **SERP-compatible** `google_hotels_calendar` response.

#### Modes

| Mode | What it returns | Price per request |
| --- | --- | --- |
| `calendar` | Nightly price (base, taxes, fees, total) for up to 330 consecutive nights | $0.008 |
| `serp` | The same calendar in the standard SERP API google_hotels_calendar field names | $0.008 |

### What data can you extract?

| Field | Description |
| --- | --- |
| `rates[].stay_date` | Night being priced |
| `rates[].rate / rate_base` | Nightly price before taxes and fees |
| `rates[].tax / fees` | Taxes and mandatory fees for the night |
| `rates[].rate_total` | All-in nightly total |
| `rates[].los / adults / currency / market` | What the price was quoted for |
| `unpriced_dates` | Nights Google could not price (sold out or closed) |
| `coverage` | Priced nights out of requested nights |
| `tax_profile` | Implied tax rate and whether prices include tax in that market |
| `calendar[]` | SERP-format rows (date, price, extracted_price_total, ...) when Output format is SERP-compatible |

Every dataset item also carries `input` (the exact request that was sent), `request_id` (quote it to support), `billed` and `scraped_at`.

### How to use Google Hotels Price Calendar Scraper

1. Open Google Hotels Price Calendar Scraper in Apify Console and go to the **Input** tab.
2. Paste one or more **Google Hotels property tokens**. Get a token from the Google Hotels Search Scraper or from the `ChUI...` value in a Google Hotels URL.
3. Adjust the options if needed. Dates accept an exact date (`2026-12-01`) or a relative one (`30 days` from today), so saved tasks and schedules never go stale.
4. Click **Start** and wait for the run to finish.
5. Download the results from the **Output** tab as JSON, CSV, Excel or HTML, or fetch them with the Apify API.

### Input example

This is the default input; running the Actor without changes uses it.

```json
{
  "mode": "calendar",
  "propertyTokens": [
    "ChUIoben2Mv6-CYaCi9tLzA3czVwbjQQAQ"
  ],
  "days": 30,
  "currency": "USD",
  "market": "US",
  "includeErrors": true,
  "maxConcurrency": 3,
  "maxRetries": 2
}
```

### Output example

One dataset item per request (trimmed here; real items contain every field the API returns):

```json
{
  "mode": "calendar",
  "endpoint": "/v1/calendar",
  "input": {
    "token": "ChUIoben2Mv6-CYaCi9tLzA3czVwbjQQAQ",
    "market": "US",
    "currency": "USD",
    "days": 30
  },
  "calendar_elapsed_s": 0.14,
  "collection_id": "ratecol_0123456789abcdef0123456789abcdef",
  "coverage": "84/84",
  "elapsed_s": 0.31,
  "market": "US",
  "observed_at": "2026-08-07T01:23:45.678Z",
  "rates": [
    {
      "adults": 2,
      "currency": "USD",
      "fees": 25,
      "implied_tax_rate": 0.203217,
      "los": 1,
      "market": "US",
      "provenance": {
        "collection_id": "ratecol_0123456789abcdef0123456789abcdef",
        "collector": "scrapingme.google_calendar",
        "derivation": "normalized_upstream",
        "egress_mode": "direct",
        "observation_id": "rateobs_0123456789abcdef0123456789abcdef",
        "observed_at": "2026-08-07T01:23:45.678Z",
        "price_basis": "room_base_before_taxes_and_fees",
        "requested_currency": "USD",
        "requested_market": "US",
        "returned_currency": "USD",
        "schema_version": 1,
        "source": "google_hotels_calendar",
        "source_kind": "calendar",
        "source_property_id": "ChUIoben2Mv6-CYaCi9tLzA3czVwbjQQAQ",
        "upstream_rate_id": null
      },
      "rate": 332.01,
      "rate_base": 332.01,
      "rate_total": 424.48,
      "rates_include_tax": false,
      "stay_date": "2026-08-04",
      "tax": 67.47
    }
  ],
  "requested_days": 90,
  "tax_profile": {
    "implied_tax_rate": 0.2032,
    "rates_include_tax": false
  },
  "token": "ChUIoben2Mv6-CYaCi9tLzA3czVwbjQQAQ",
  "unpriced_dates": [
    "2026-08-19"
  ],
  "validation": {
    "ok": true,
    "problems": []
  },
  "wire_bytes": 29804,
  "request_id": "req_3f9c0d6e2b8a4c1f9e7d5b3a1c0e8f6d",
  "billed": true,
  "scraped_at": "2026-10-01T14:03:27.512Z"
}
```

A request that fails is saved with an `error` message instead (turn off **Include failed requests** to skip those). Failed requests are never charged.

### How much does it cost?

This Actor uses **pay-per-event** pricing: you pay for successful API requests, not for compute time.

| Event | Charged when | Price | Per 1,000 |
| --- | --- | --- | --- |
| `calendar-request` | One property priced for a range of nights (up to 330) in one request. | $0.008 | $8.00 |
| `offers-page` | One extra offers page, fetched per night for the "mainstream" price basis or per spot-check when you ask to verify sources. | $0.005 | $5.00 |

For example, 1,000 hotel calendars (30, 90 or 330 nights each, same price) cost **$8.00**. Mainstream basis and source spot-checks add one `offers-page` event per extra page.

- Failed requests (errors, invalid input, blocked upstream after retries) are **free**.
- Requests where the source returns nothing at all (no results, nothing priced) are saved but **not charged**.
- Set **Maximum cost per run** when you start a run and the Actor stops cleanly before going over it.

### FAQ

#### Do I need proxies or a ScraperCompany API key?

No. Proxy rotation, retries and anti-bot handling run on the ScraperCompany side, and the Actor is already connected to the API. You only pay the per-event prices above.

#### How do I find a Google Hotels property token?

Run the Google Hotels Search Scraper in **Find property token** mode with the hotel name and city, or copy the `ChUI...` token from a Google Hotels URL.

#### Why are some dates missing?

Nights Google cannot price (sold out, closed, or below a minimum stay) are listed in `unpriced_dates`. With minimum-stay detection on, two-night-minimum nights are re-asked and priced as such.

#### Does a longer range cost more?

No. One request prices the whole range for the same price, whether it is 1 night or 330.

#### How is this cheaper than one search per date?

A Google Hotels search prices one check-in date at a time, so 90 dates take 90 searches. This Actor returns all 90 nights (up to 330) for one hotel in a single request and a single charged event.

#### Can I monitor a competitor set every day?

Yes. Put every competitor's property token in one run, save it as a task and schedule it daily. Each night comes back with base rate, taxes, fees and total.

#### Is it legal to scrape this data?

The Actor collects publicly available information that anyone can see without logging in. You are responsible for how you use the results: respect the source site's terms, copyright and privacy law (such as GDPR) and do not collect personal data without a lawful basis. If in doubt, ask a lawyer.

#### What happens when a request is blocked or rate-limited?

Rate limits (HTTP 429) and temporary errors (5xx) are retried automatically with exponential backoff, respecting `Retry-After`. If a request still fails it is saved with the error message and not charged, and the rest of the batch keeps going. A run only fails when every request failed.

#### Why did a request return an error?

Read the `error` field: validation problems (for example a malformed date or an unknown id) are reported exactly as the API sees them. Fix the input and run again; failed requests cost nothing.

#### How many requests can I run at once?

Any number per run. The Actor sends up to 3 requests in parallel by default (change it under **Run options**); larger batches simply take longer.

### Use it from your code

Call the Actor from any language through the [Apify API](https://docs.apify.com/api/v2). With the JavaScript client (`npm install apify-client`):

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('scrapercompany/google-hotels-calendar-scraper').call({
    "mode": "calendar",
    "propertyTokens": [
        "ChUIoben2Mv6-CYaCi9tLzA3czVwbjQQAQ"
    ]
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

With Python (`pip install apify-client`):

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("scrapercompany/google-hotels-calendar-scraper").call(run_input={
    "mode": "calendar",
    "propertyTokens": ["ChUIoben2Mv6-CYaCi9tLzA3czVwbjQQAQ"],
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

You can also schedule runs, chain them with webhooks, or connect them to Make, Zapier, n8n, Google Sheets and other integrations from the **Integrations** tab.

### Related scrapers

- [Google Hotels Property Scraper](https://apify.com/scrapercompany/google-hotels-property-scraper)
- [Google Hotels Search Scraper](https://apify.com/scrapercompany/google-hotels-search-scraper)
- [ScraperCompany Hotel Rates (all-in-one)](https://apify.com/scrapercompany/scrapercompany-hotel-rates)

### Support

Questions, a field you need, or a site that stopped working? Open an issue on the **Issues** tab or contact us at [scrapercompany.com](https://scrapercompany.com). Include the `request_id` from the dataset item so we can trace the request.

# Changelog

This Actor's version history is a separate document: https://apify.com/scrapercompany/google-hotels-calendar-scraper/changelog.md

# Actor input Schema

## `mode` (type: `string`):

Both formats price the same calendar. Pick SERP-compatible if your code already parses a SERP API's google_hotels_calendar responses.

## `propertyTokens` (type: `array`):

Google Hotels property tokens such as <code>ChUIoben2Mv6-CYaCi9tLzA3czVwbjQQAQ</code>, one request each. Find a token with the Google Hotels Search Scraper (Find property token mode) or in a Google Hotels URL.

## `start` (type: `string`):

First night to price: an exact date or a relative one such as <code>7 days</code> from today. Leave empty for tomorrow.

## `days` (type: `integer`):

Number of consecutive nights to price, 1-330. One request covers the whole range.

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

ISO 4217 currency for the prices, e.g. <code>USD</code>, <code>EUR</code>, <code>GBP</code>.

## `market` (type: `string`):

Country market such as <code>US</code>, <code>GB</code>, <code>MX</code>, <code>AU</code>. Sets Google's country and the default tax basis. Leave empty to derive it from the currency.

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

Guests per room, 1-8.

## `los` (type: `integer`):

Each night is priced as the first night of a stay this long. Nightly prices genuinely change with length of stay.

## `gl` (type: `string`):

Two-letter Google country used by the SERP-compatible format.

## `is_hostel` (type: `boolean`):

Turn on for hostels, which are priced per bed rather than per room.

## `probe_min_stay` (type: `boolean`):

Re-ask for nights that will not price as a single night, so a two-night minimum is reported as such instead of looking sold out.

## `basis` (type: `string`):

<b>Cheapest</b> returns Google's lowest bookable price per night from one fast request. <b>Mainstream</b> also loads the offers page for every night to report the price most travellers see; it is charged one extra <code>offers-page</code> event per night.

## `verify_sources` (type: `integer`):

Check this many nights (0-5) against the per-OTA offers page and return a <code>source_check</code> block naming which site the price came from. Each check is one extra <code>offers-page</code> event.

## `customRequests` (type: `array`):

Optional list of JSON objects, one request each, using the API field names shown above. Each object is merged over the options above, so you only need to give what differs. In SERP format use <code>property_token</code> instead of <code>token</code>. Example: <code>{"token":"ChUIoben2Mv6-CYaCi9tLzA3czVwbjQQAQ","start":"2026-12-20","days":14,"los":2}</code>

## `includeErrors` (type: `boolean`):

When on, a request that fails (for example an unknown property id) is saved as a dataset item with an <code>error</code> message so you can see what went wrong. Failed requests are never charged.

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

How many API requests run at the same time.

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

Retries for rate limits (HTTP 429), temporary server errors (5xx) and network errors, with exponential backoff. Validation errors are never retried.

## Actor input object example

```json
{
  "mode": "calendar",
  "propertyTokens": [
    "ChUIoben2Mv6-CYaCi9tLzA3czVwbjQQAQ"
  ],
  "days": 30,
  "currency": "USD",
  "market": "US",
  "adults": 2,
  "los": 1,
  "gl": "us",
  "is_hostel": false,
  "probe_min_stay": true,
  "basis": "cheapest",
  "verify_sources": 0,
  "includeErrors": true,
  "maxConcurrency": 3,
  "maxRetries": 2
}
```

# Actor output Schema

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

One dataset item per request.

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

Counts of succeeded, failed, skipped and charged requests.

# 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 = {
    "propertyTokens": [
        "ChUIoben2Mv6-CYaCi9tLzA3czVwbjQQAQ"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapercompany/google-hotels-calendar-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 = { "propertyTokens": ["ChUIoben2Mv6-CYaCi9tLzA3czVwbjQQAQ"] }

# Run the Actor and wait for it to finish
run = client.actor("scrapercompany/google-hotels-calendar-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 '{
  "propertyTokens": [
    "ChUIoben2Mv6-CYaCi9tLzA3czVwbjQQAQ"
  ]
}' |
apify call scrapercompany/google-hotels-calendar-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapercompany/google-hotels-calendar-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/H14zHAS6TxWE5wDGB/builds/743w8KdSUoqDCgmIF/openapi.json
