# Google Hotels Price Calendar Scraper - Hotel Rates API (`conserving_windflower/hotel-price-calendar`) Actor

Google Hotels price calendar API: up to 330 check-in dates per hotel in one request, vacation rentals, hotels x dates matrix, booking-site rates optional. Only the first 3 priced dates per hotel are charged ($0.009 max per hotel). $3.00 per 1,000 calendar days.

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

## Pricing

from $3.00 / 1,000 price-calendar dates

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 - Hotel Rates API

This Actor builds a hotel price calendar from Google Hotels over plain HTTP. Give a city, hotel names or Google Hotels URLs, and get nightly prices for each check-in date (up to 330 nights per hotel in one request), with a hotels×dates price matrix. Vacation rentals are supported. Optional booking-site (OTA) rates in search mode.

### What it does

- **Price calendar (default):** one row per hotel or vacation rental and check-in date, with nightly and stay totals with taxes when Google provides them, plus a summary per listing (cheapest and most expensive date, median). Fast mode prices the whole range with one request per listing.
- **Search (optional):** one row per hotel for a single date range, with filters (stars, rating, price, amenities, brands, eco-certified) and optional booking-site rates.
- **Price matrix:** `PRICE_MATRIX` (JSON) and `PRICE_MATRIX_CSV` in the key-value store — one line per hotel, one column per date, cheapest hotel per date marked.

### Input (typical)

```json
{
  "queries": ["hotels in Barcelona"],
  "calendarTopHotels": 5,
  "calendarStartDate": "2026-12-10",
  "calendarDays": 30,
  "calendarNights": 1,
  "currency": "EUR"
}
```

Named hotels:

```json
{
  "hotelNames": ["Hotel Adlon Berlin"],
  "calendarStartDate": "2026-12-10",
  "calendarDays": 14,
  "currency": "EUR"
}
```

Vacation rentals:

```json
{
  "queries": ["Riga"],
  "propertyKind": "vacationRentals",
  "minBedrooms": 2,
  "calendarTopHotels": 5,
  "calendarStartDate": "2026-12-10",
  "calendarDays": 30,
  "calendarNights": 2,
  "currency": "EUR"
}
```

### Pricing

Pay per event:
| Event | Price |
|---|---|
| Price-calendar row with a price | $3.00 per 1,000, only the first 3 priced dates of each hotel |
| Hotel search row (optional mode) | $2.50 per 1,000 |
| Booking-site rates for one hotel | $2.00 per 1,000 |

One hotel calendar costs at most $0.009, however many dates you request (up to 330). Dates without a price are never charged.

### FAQ

**How is the calendar billed?**\
Only the first 3 priced dates of each hotel are billed. Remaining priced dates for that hotel are free.

**Can I compare hotels across dates?**\
Yes. Use the hotels×dates price matrix in the key-value store.

### Limitations

- Prices are those shown by Google at the time of the run and can change.
- The Actor depends on the structure of Google's pages and may need updates when it changes.

### Disclaimer

This Actor is not affiliated with, endorsed by or sponsored by Google LLC. Google and Google Hotels are trademarks of Google LLC. Data is provided as is, without warranty of accuracy or completeness. Users are responsible for using the Actor and its output in compliance with applicable laws and terms of service. The Actor does not collect personal data.

# Changelog

This Actor's version history is a separate document: https://apify.com/conserving_windflower/hotel-price-calendar/changelog.md

# Actor input Schema

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

Price calendar (default): one row per hotel and check-in date. Search: one row per hotel for one date range. Price monitor: compare prices with the previous run.

## `monitorId` (type: `string`):

Optional label for price-monitor mode so later runs compare against the same previous snapshot. If empty, an id is derived from the query, dates, party size and filters. Letters, digits, dots, underscores and hyphens, up to 64 characters.

## `monitorIncludeUnchanged` (type: `boolean`):

In price-monitor mode, also emit a row for hotels whose price did not change. Off by default: only new, removed, sold-out, back-in-stock and price-change rows are written.

## `monitorReset` (type: `boolean`):

Ignore any stored previous snapshot and treat this run as the first observation for this monitor id.

## `queries` (type: `array`):

One Google Hotels search per entry, e.g. "hotels in Barcelona". Optional in price-calendar mode when hotel URLs or names are given.

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

YYYY-MM-DD. If empty, Google's default dates are used.

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

YYYY-MM-DD, after the check-in date.

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

Number of adult guests. Prices depend on party size.

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

List of ages, e.g. \[5, 9]. Leave empty for no children.

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

ISO 4217 code, e.g. USD, EUR, GBP.

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

Google interface language code (hl), e.g. en, de.

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

Google country code (gl), e.g. us, gb. Can affect which prices and booking sites are shown.

## `hotelClass` (type: `array`):

Any of 2, 3, 4, 5, e.g. \[4, 5]. Leave empty for all classes.

## `minRating` (type: `string`):

Google guest-rating filter.

## `minPrice` (type: `integer`):

Whole units of the selected currency.

## `maxPrice` (type: `integer`):

Whole units of the selected currency.

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

Sort order applied by Google.

## `amenities` (type: `array`):

Return only properties that have all selected amenities.

## `freeCancellation` (type: `boolean`):

Google filter for rates with free cancellation.

## `specialOffers` (type: `boolean`):

Google filter for rates marked as special offers.

## `ecoCertified` (type: `boolean`):

Google filter: only hotels with an eco-certification. Hotels only.

## `brands` (type: `array`):

Google Hotels brand filter ids (integers), e.g. \[28, 46] for Hilton Honors and Marriott Bonvoy. Hotels only; not available for vacation rentals. Common ids: 28 Hilton Honors, 46 Marriott Bonvoy, 17 IHG, 33 Accor, 37 Hyatt, 18 Best Western, 20 Choice, 80 Radisson. Full list in README.

## `propertyKind` (type: `string`):

Search hotels (default) or vacation rentals (apartments, houses). Also applies in price-calendar mode. Vacation-rental rows include sleeps, bedrooms, bathrooms, beds and area when Google shows them.

## `minBedrooms` (type: `integer`):

Vacation rentals only: Google's bedrooms filter (1-10+). Rows are checked against the parsed bedroom count.

## `minBathrooms` (type: `integer`):

Vacation rentals only: Google's bathrooms filter. Rows are checked against the parsed bathroom count.

## `strictFilters` (type: `boolean`):

Check class, rating, price and supported amenities on every row and drop rows that do not match. Dropped rows are not charged. If off, such rows are kept and marked in filterMismatch.

## `maxResultsPerQuery` (type: `integer`):

Results are paginated automatically. Google may return fewer hotels than requested.

## `includeOffers` (type: `boolean`):

Adds rates from booking sites and the hotel's official site, with links. One extra request per hotel, charged as a separate event.

## `maxOfferHotels` (type: `integer`):

Limits how many hotels per query get booking-site rates. 0 means all.

## `hotelUrls` (type: `array`):

Google Hotels property URLs or entityToken values from search results.

## `hotelNames` (type: `array`):

Hotel name and city, e.g. "Hotel Adlon Berlin". If Google does not find the hotel directly, nearby hotels are checked for a close name match. Names that still do not match are returned as error rows and not charged.

## `calendarTopHotels` (type: `integer`):

Number of hotels from each search query to include in the calendar. 0 means only the hotels listed above.

## `calendarStartDate` (type: `string`):

YYYY-MM-DD. If empty, the check-in date above is used, or 7 days from today.

## `calendarDays` (type: `integer`):

Check-in dates to price per hotel. Up to 330 with fast mode (one request per hotel prices the whole range); up to 90 when fast mode is off or booking-site offers are included.

## `calendarStepDays` (type: `integer`):

1 means every day, 7 means the same weekday each week.

## `calendarNights` (type: `integer`):

Length of each priced stay. If empty, the stay length from the dates above is used, or 1 night.

## `calendarFastMode` (type: `boolean`):

Price each hotel's whole date range with one request (the same prices as the Google Hotels date picker, with taxes and fees). Hotels that cannot be priced this way fall back to search result pages and hotel pages. Turn off to read every date from the hotel page (slower, includes the cheapest booking site).

## `calendarListPages` (type: `integer`):

In fast mode, how many search result pages to check for each date before opening individual hotel pages for hotels that were not listed. More pages usually means fewer requests in total.

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

Number of parallel requests.

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

Optional. The run slows down automatically if requests start failing and stops if the success rate falls below 50%.

## Actor input object example

```json
{
  "mode": "priceCalendar",
  "monitorIncludeUnchanged": false,
  "monitorReset": false,
  "queries": [
    "hotels in Barcelona"
  ],
  "adults": 2,
  "childrenAges": [],
  "currency": "USD",
  "language": "en",
  "country": "us",
  "hotelClass": [],
  "minRating": "any",
  "sortBy": "relevance",
  "amenities": [],
  "freeCancellation": false,
  "specialOffers": false,
  "ecoCertified": false,
  "brands": [],
  "propertyKind": "hotels",
  "strictFilters": true,
  "maxResultsPerQuery": 50,
  "includeOffers": false,
  "maxOfferHotels": 0,
  "hotelUrls": [],
  "hotelNames": [],
  "calendarTopHotels": 5,
  "calendarDays": 14,
  "calendarStepDays": 1,
  "calendarFastMode": true,
  "calendarListPages": 2,
  "maxConcurrency": 3,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

One row per hotel (search mode).

## `offers` (type: `string`):

Hotels with booking-site rates (includeOffers=true).

## `calendar` (type: `string`):

One row per hotel and check-in date (price-calendar mode).

## `runStats` (type: `string`):

Request and result counts for the run.

## `priceMatrix` (type: `string`):

Hotels x check-in dates grid of the lowest price, cheapest hotel per date and overall cheapest (price-calendar mode).

## `priceMatrixCsv` (type: `string`):

Spreadsheet-friendly version: one line per hotel, one column per check-in date, last line is the cheapest price per date (price-calendar mode).

## `priceChanges` (type: `string`):

In price-monitor mode: summary plus each hotel that appeared, disappeared, sold out, came back or changed price.

## `priceChangesCsv` (type: `string`):

Spreadsheet-friendly list of price-monitor changes.

## `priceSnapshot` (type: `string`):

Current prices saved after a price-monitor run, used as the baseline for the next run with the same monitor id.

# 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 = {
    "queries": [
        "hotels in Barcelona"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("conserving_windflower/hotel-price-calendar").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 = { "queries": ["hotels in Barcelona"] }

# Run the Actor and wait for it to finish
run = client.actor("conserving_windflower/hotel-price-calendar").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 '{
  "queries": [
    "hotels in Barcelona"
  ]
}' |
apify call conserving_windflower/hotel-price-calendar --silent --output-dataset

```

## MCP server setup

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

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/YEp6gfErchrvMNd6o/builds/yEkLanFzzwIRjDF4x/openapi.json
