# Google Hotels Price Scraper: Hotel Prices by Booking Site (`metallic_pastry/google-hotels-price-scraper`) Actor

Hotel prices from Google Hotels for any city or a list of hotels and your dates, guests and currency: nightly and total price, price on each booking site (Booking.com, Expedia, the hotel's own site...), rating, reviews, address and link. Plain HTTP, no browser, built for daily rate monitoring.

- **URL**: https://apify.com/metallic_pastry/google-hotels-price-scraper.md
- **Developed by:** [Simon Liarsgård](https://apify.com/metallic_pastry) (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

from $1.40 / 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 Price Scraper: track hotel prices and competitor rates by booking site

**Monitor what your competitors charge, every day, without opening a browser.** Give it a list of hotels, or a city, plus dates, guests and currency. For each hotel you get back Google Hotels' nightly rate, the total for the stay, and the price on every booking site Google compares (Booking.com, Expedia, Hotels.com, Agoda, the hotel's own website and more). Each row also has the rating, review count, address, coordinates and a link.

Built for **hotel revenue managers, rate-parity checks, travel startups and analysts** who need the same numbers every morning in a spreadsheet or database.

- **$2 per 1,000 hotels.** Searches that find nothing are free.
- **Plain HTTP, no browser.** 102 hotels in four cities, with every booking-site price, in under 3 minutes on 256 MB memory.
- **Rolling dates** ("14 days from today", "next Friday, 2 nights") so a schedule never asks for dates in the past.
- **Named hotels are checked.** If Google can't find your hotel you get `not_found` with the closest match, not a random hotel, and you are not charged.

### A real result

Three Stockholm hotels for one night on 10 December 2026, 2 adults, EUR, run on 10 November 2026. These are the five cheapest booking sites per hotel (run `rKox0GecRHLp4vuJ8`):

| Hotel | Google nightly | Total incl. taxes | Cheapest booking sites (per night) | Hotel's own site |
|---|---|---|---|---|
| Scandic Continental ★4.2 (5,030) | €140.70 | €157.58 | Traveluro €141 · Vio.com €141 · goseek €141 · Etrip €141 · Super.com €142 | not listed |
| Clarion Hotel Sign ★4.2 (5,981) | €160.66 | €181.62 | Booking.com €161 · Traveluro €169 · trivago €171 · Hotelscombined €173 · momondo €173 | not listed |
| Hilton Stockholm Slussen ★4.2 (4,206) | €259.86 | €291.04 | Super.com €260 · Traveluro €268 · trivago €270 · Stayforlong €285 · BusinessHotels €292 | €264 |

What one run shows: for that night both competitors are 38–46% cheaper than the Hilton, and a third-party site undercuts the Hilton's own website by €4.

### How it compares

Google Hotels scrapers in Apify Store, measured on 10 November 2026 from Apify's public API (`api.apify.com/v2/acts/<actor>`). Failure rate = failed, timed-out and aborted runs ÷ all runs in the last 30 days. Price = price for Apify's free plan, primary event.

| Actor | Price (free plan) | Failure rate, 30 days | Booking-site prices | Input |
|---|---|---|---|---|
| **This Actor** | **$2.00 / 1,000 hotels** | 0 of 9 runs so far (new, not enough runs for a 30-day rate) | Yes, every site Google lists | Cities, free-text searches **and** named hotels; fixed or rolling dates |
| zerobreak/google-hotels-scraper | $4.99 / 1,000 items | 22.0% (3,761 of 17,071) | Yes (optional) | Search query |
| factden/google-hotels-scraper | $4.00 / 1,000 items | 0.5% (34 of 6,820) | Yes (optional) | Destination |
| vittuhy/google-travel-hotel-prices | $1.00 / 1,000 items | 6.6% (658 of 10,046) | Yes, one item per provider | One hotel, consecutive dates |
| johnvc/google-hotels-search-scraper | $0.02 per page | 0.03% (1 of 2,880) | Not stated in its output schema | Search query |

Pick this Actor if you watch a **fixed set of competitor hotels** on a schedule and want one clean row per hotel with all booking sites. If you only need one hotel across many dates, vittuhy's per-provider items are cheaper per item.

### Use cases

- **Competitor rate monitoring.** Put your hotel and 3–10 competitors in *Hotels*, set *Rolling check-in* to 7, 14 or 30 days, and schedule it daily.
- **Rate-parity checks.** `bookingSites[].isOfficialSite` marks the hotel's own website, so you can spot OTAs selling below it.
- **Market snapshots.** `"locations": ["Lisbon"]` with `maxHotelsPerLocation: 200` gives a city's hotels sorted the way Google ranks them, with prices.
- **Travel apps and dashboards.** Numeric prices, coordinates and stable `hotelId`s are ready for a database.

### Input

| Field | What it does |
|---|---|
| Cities or searches | `Stockholm` becomes "hotels in Stockholm". Full searches such as `boutique hotels in Lisbon` or `hotels near Times Square` are used as written. |
| Hotels | Specific hotels, e.g. `Hilton Stockholm Slussen` or `The Plaza, New York`. Adding the city avoids mix-ups. |
| Check-in / Check-out | Fixed dates `YYYY-MM-DD`. Leave empty to use rolling dates. |
| Rolling check-in: days from today, weekday, Nights | e.g. 0 days + `friday` + 2 nights = the coming weekend, every time the task or schedule runs. Default: 14 days ahead, 1 night. |
| Adults | 1–12, default 2. |
| Currency | Any 3-letter code Google Hotels supports: USD, EUR, GBP, SEK, JPY... |
| Max hotels per city or search | Default 20. More pages are fetched until the number is reached. |
| Include price per booking site | On by default. Turn off for the fastest list with Google's lowest price only. |
| Language, Country, Parallel requests, Proxy | Advanced. |

Track three competitors, two weeks ahead, every day:

```json
{
    "hotels": ["Hilton Stockholm Slussen", "Scandic Continental, Stockholm", "Clarion Hotel Sign, Stockholm"],
    "checkInDaysFromToday": 14,
    "nights": 1,
    "adults": 2,
    "currency": "EUR"
}
```

Hotels in Paris for the coming weekend:

```json
{
    "locations": ["Paris"],
    "checkInDaysFromToday": 0,
    "checkInWeekday": "friday",
    "nights": 2,
    "currency": "EUR",
    "maxHotelsPerLocation": 40
}
```

### Output

One row per hotel. The **Prices** view shows the main columns, **Booking sites** has one row per hotel and booking site, and **Inputs without results** lists searches or names that found nothing.

```json
{
    "input": "Hilton Stockholm Slussen",
    "name": "Hilton Stockholm Slussen",
    "checkIn": "2026-12-10",
    "checkOut": "2026-12-11",
    "nights": 1,
    "adults": 2,
    "pricePerNight": 259.86,
    "totalPrice": 291.04,
    "taxesAndFees": 31.19,
    "currency": "EUR",
    "priceAvailable": true,
    "lowestPrice": 259.86,
    "lowestPriceSource": "Google Hotels lowest",
    "bookingSites": [
        { "name": "Super.com", "pricePerNight": 260, "totalPrice": 260, "isOfficialSite": false, "link": "https://www.google.com/travel/lodging/clk?..." },
        { "name": "Hilton Stockholm Slussen", "pricePerNight": 264, "totalPrice": 264, "isOfficialSite": true, "link": "https://www.google.com/travel/lodging/clk?..." }
    ],
    "rating": 4.2,
    "reviewCount": 4206,
    "address": "Guldgränd 8, 104 65 Stockholm, Sweden",
    "latitude": 59.3204765,
    "longitude": 18.0692835,
    "hotelId": "ChkI8Y_pr-m2za-aARoML2cvMTFkeWp6dHZ0EAE",
    "googleHotelsUrl": "https://www.google.com/travel/hotels/entity/ChkI8Y_pr-m2za-aARoML2cvMTFkeWp6dHZ0EAE/prices?...",
    "scrapedAt": "2026-11-10T07:23:33.164Z"
}
```

Shortened from run `rKox0GecRHLp4vuJ8` (booking sites cut to two, links truncated). Your results show prices at the time of your run.

### Use it from Python

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("metallic_pastry/google-hotels-price-scraper").call(run_input={
    "hotels": ["Hilton Stockholm Slussen", "Scandic Continental, Stockholm"],
    "checkInDaysFromToday": 14,
    "currency": "EUR",
})
for hotel in client.dataset(run.default_dataset_id).iterate_items():
    if hotel["status"] == "ok":
        print(hotel["name"], hotel["pricePerNight"], hotel["currency"], hotel["lowestPriceSource"])
```

(`apify-client` 3.x; in 1.x/2.x use `run["defaultDatasetId"]`.)

Step-by-step guide with SQLite storage, daily runs and undercut alerts: [How to track competitor hotel prices from Google Hotels with Python](https://eris-ai.hashnode.dev/how-to-track-competitor-hotel-prices-from-google-hotels-with-python).

### FAQ

**Are prices with or without taxes?**
`pricePerNight` and the booking-site prices are what Google displays for the chosen *Country*. With the default `us`, Google shows nightly rates **before** taxes and fees. `totalPrice` is always the full stay **including** taxes and fees, and `taxesAndFees` is the difference. Keep *Country* the same between runs so your numbers stay comparable.

**Why is `pricePerNight` null for some hotels?**
Google has no rate for those dates, usually because the hotel is sold out or does not take bookings that far ahead. The row is still returned with `priceAvailable: false` and the hotel's details. You are charged for it, because it is a real answer for your dates.

**How do I monitor prices daily?**
Save your input as a task, or use one of the example tasks. Use the rolling date fields instead of fixed dates and add a schedule in Apify. Each run then prices the same distance ahead, and you can append the dataset to Google Sheets, a webhook or your own database.

**How many hotels per city can I get?**
Google lists 18–20 hotels per page and the Actor follows the pages. Large cities have hundreds of results. Set *Max hotels per city or search*.

**What if Google blocks requests?**
Requests go direct first. On HTTP 429 or a captcha page, the Actor backs off exponentially, retries, and switches to Apify Proxy for the rest of the run. `RUN_SUMMARY` in the key-value store shows requests, retries and proxy use.

**Can I search with children?**
Not yet. Prices are for the number of adults you set.

**How fresh is the data?**
Live. Every run reads Google Hotels at that moment. Nothing is cached.

### Pricing

**$2.00 per 1,000 hotel rows** ($0.002 per hotel) on Apify's free plan, with lower prices on paid Apify plans. Searches and hotel names that find nothing, and errors, are free. Apify adds a tiny fee per run start. Set a maximum charge for a run and the Actor stops when it is reached.

### Limits

- Stays of up to 30 nights, starting at most about 330 days ahead (Google's limits).
- Google Hotels can change its pages at any time. The Actor is tested against live pages and updated when that happens.

### Support

Open an issue on the Actor's Issues tab with your run ID and the input that misbehaved.

# Changelog

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

# Actor input Schema

## `locations` (type: `array`):

One per line. A city ("Stockholm", "Paris") becomes "hotels in Stockholm". A full search such as "boutique hotels in Lisbon" or "hotels near Times Square" is used as written.

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

Specific hotels to price, one per line, for example your own hotel and your competitors. Add the city to avoid mix-ups: "Hilton Stockholm Slussen", "The Plaza, New York".

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

YYYY-MM-DD. Leave empty to use rolling dates (below), which is what you want for schedules and saved tasks.

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

YYYY-MM-DD. Empty = check-in plus "Nights". Stays up to 30 nights.

## `checkInDaysFromToday` (type: `integer`):

Used when Check-in date is empty. 14 = two weeks from the day the run starts, so a daily schedule always prices the same distance ahead.

## `checkInWeekday` (type: `string`):

Optional. Moves the rolling check-in forward to the next given weekday, e.g. "friday" with 0 days = this or next Friday (a weekend stay).

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

Length of stay when Check-out date is empty.

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

Number of adult guests.

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

3-letter code that Google Hotels supports, for example USD, EUR, GBP, SEK, JPY.

## `maxHotelsPerLocation` (type: `integer`):

Google shows about 20 hotels per page; more pages are fetched until this number is reached or the results run out.

## `includeBookingSites` (type: `boolean`):

Opens each hotel's Prices tab to list every booking site's nightly and total price, and the street address. Turn off for a faster list with Google's lowest price only.

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

Google interface language (hl), e.g. en, de, fr. Affects hotel descriptions.

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

Google country (gl), e.g. us, gb, de. Booking sites and prices can differ by country.

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

How many pages to fetch at once.

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

Requests go direct first. If Google rate-limits them (HTTP 429 or a captcha page), the Actor backs off and retries through this proxy.

## `alwaysUseProxy` (type: `boolean`):

Send every request through the proxy instead of only after Google pushes back.

## Actor input object example

```json
{
  "locations": [
    "Stockholm",
    "Paris"
  ],
  "checkInDaysFromToday": 14,
  "checkInWeekday": "any",
  "nights": 1,
  "adults": 2,
  "currency": "USD",
  "maxHotelsPerLocation": 20,
  "includeBookingSites": true,
  "language": "en",
  "country": "us",
  "maxConcurrency": 4,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "alwaysUseProxy": false
}
```

# Actor output Schema

## `prices` (type: `string`):

Default dataset, Prices view: nightly and total price, lowest booking site, rating, reviews, address and link per hotel.

## `bookingSites` (type: `string`):

Default dataset, Booking sites view: one row per hotel and booking site.

## `allFields` (type: `string`):

Default dataset with every field per hotel.

## `runSummary` (type: `string`):

RUN_SUMMARY record in the default key-value store: hotels, prices found, requests, retries and proxy use.

# 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 = {
    "locations": [
        "Stockholm",
        "Paris"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("metallic_pastry/google-hotels-price-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 = {
    "locations": [
        "Stockholm",
        "Paris",
    ],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("metallic_pastry/google-hotels-price-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 '{
  "locations": [
    "Stockholm",
    "Paris"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call metallic_pastry/google-hotels-price-scraper --silent --output-dataset

```

## MCP server setup

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