# Google Hotels Scraper: Whole City, Stars & Booking-Site Prices (`fancyboeing/google-hotels-scraper`) Actor

Google Hotels for any city and dates: price per night and total with taxes, prices on up to 20 booking sites (Booking.com, Expedia, Hotels.com, the hotel's own site...), phone, address, website, hotel class, rating, reviews. The whole city, not page one. No browser, results in seconds

- **URL**: https://apify.com/fancyboeing/google-hotels-scraper.md
- **Developed by:** [Mike Moros](https://apify.com/fancyboeing) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 properties

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 Scraper: Whole City, Stars & Booking-Site Prices

Get every hotel and vacation rental Google Hotels shows for a city and your dates: price per night and for the whole stay (with and without taxes), hotel class (stars), rating, reviews, coordinates, and, as an add-on, the price on each booking site Google compares (Booking.com, Expedia, Hotels.com, Trip.com, Priceline, the hotel's own site and more) with a direct link to each offer, plus the hotel's address, phone, website and Google Place ID.

Plain HTTP, no browser: a city with 300 properties comes back in about 20 seconds.

### For AI agents

- Minimal input: `{"locations": ["Prague, Czechia"]}`. Everything else has a default (check-in 14 days from today, 2 nights, 2 adults, USD, up to 200 properties per location).
- Typical run: 10 to 20 seconds for 30 to 300 properties; with booking-site prices about 1 second per 5 properties more.
- Every row has the same fields; missing values are `null`. One row per property, no duplicates.
- The run status message sums up the result, e.g. `Done: 186 properties, 140 with a price, 24 with hotel class.`
- A run that finds nothing **fails with the reason** (location not found, nothing for these dates, all removed by your filters, Google did not answer) instead of succeeding empty. Nothing is billed then.

### Why this scraper

| | |
|---|---|
| **The whole city, not page one** | The map area is split into tiles wherever Google's answer is full, so dense centres are covered completely. On Prague: one request gives about 110 properties, the tiled search over 600. |
| **Only the place you asked for** | Google also returns properties around the area (for Bangkok, beaches 80 km away). Results are checked against the real outline of the location from OpenStreetMap and the rest is dropped before billing. |
| **Hotel class that others miss** | Stars come with every hotel whose class Google knows. An extra filtered search per class adds classed hotels that a plain search never shows. |
| **Booking-site prices (add-on)** | Up to about 20 sites per hotel (12 for a typical Prague hotel), cheapest first, each with per-night and total prices with and without taxes, a flag for the hotel's official site and for sponsored offers, and a direct link with your dates. |
| **Often cheaper than Google's own price** | Google's headline price is not always the lowest one. In our test runs (November 2026) the add-on found a lower price on a booking site for 7 of 64 hotels: Park Holiday Congress & Wellness Hotel, Prague: 173.59 EUR a night on Google, 126.95 EUR on the hotel's official site; Rezidence Muzeum, Prague: 459.42 EUR on Google, 342.32 EUR on Vio.com; Renaissance New York Harlem: $500.41 on Google, $447.02 on Trip.com. |
| **Contacts for free with the add-on** | Address, phone, the hotel's own website, Google Place ID (joins with Google Maps data), check-in and check-out times, neighbourhood, Google's description and ratings on Tripadvisor and other sites (one per site). |
| **Your real search** | Dates, number of adults and currency go into Google's own request, so prices match what a traveller sees for that search. |
| **Fair billing** | You pay for rows in your dataset (plus $0.00005 per run start). Duplicates, filtered-out rows, properties outside the area and failed requests are never billed. Your limits are checked before anything is billed. |
| **Cheap** | $1.50 per 1,000 properties. Booking-site prices: +$1.50 per 1,000 properties that have them. Platform usage is included. |

### Input

| Field | What it does |
|---|---|
| `locations` (required) | Cities or areas, e.g. `Prague, Czechia`, `Bangkok, Thailand`, `Manhattan, New York, USA`. Add the country to avoid a town with the same name elsewhere. |
| `checkIn`, `nights` | Stay dates. Empty check-in means 14 days from today. |
| `adults` | 1 to 8 adults; prices change with it as on Google. |
| `currency` | USD, EUR, GBP, THB, JPY and 15 more. |
| `maxItemsPerLocation`, `maxTotalItems` | Your spend control: hard caps checked before billing. |
| `hotelClass` | Only hotels of the chosen classes (5, 4, 3, 2 stars), exactly as Google's own filter. |
| `lookUpHotelClass` | Adds classed hotels a plain search misses. On by default; turn off for the fastest runs. |
| `includeBookingPrices` | Add-on: prices on every booking site for each property, plus contacts and details for free. |
| `includeVacationRentals`, `onlyWithPrice` | Keep or drop apartments, and properties without a price. |
| `boundingBox` | Also search an exact rectangle: `south,west,north,east`. |

Examples:

```json
{ "locations": ["Prague, Czechia"], "checkIn": "2026-12-10", "nights": 3, "adults": 2, "currency": "EUR" }
```

```json
{ "locations": ["Bangkok, Thailand"], "hotelClass": ["5", "4"], "includeBookingPrices": true }
```

### Output

One row per property (trimmed example, real data from Prague):

```json
{
  "name": "Hotel Golf Prague",
  "propertyType": "hotel",
  "hotelClass": null,
  "rating": 4.4,
  "reviewCount": 2950,
  "pricePerNight": 158.97,
  "pricePerNightWithTaxes": 183,
  "totalPrice": 318,
  "totalPriceWithTaxes": 365,
  "priceText": "$159",
  "currency": "USD",
  "checkIn": "2026-12-05",
  "checkOut": "2026-12-07",
  "nights": 2,
  "adults": 2,
  "latitude": 50.0674578,
  "longitude": 14.3448243,
  "googleMapsUrl": "https://www.google.com/maps/search/?api=1&query=50.0674578,14.3448243",
  "propertyToken": "ChgI9PDlw_OAps6vARoLL2cvMXYxc2p5am4QAQ",
  "searchLocation": "Prague, Czechia",
  "cheapestBookingSite": "Hotels.com",
  "cheapestBookingPrice": 158.97,
  "bookingPrices": [
    { "site": "Hotels.com", "officialSite": false, "sponsored": false, "pricePerNight": 158.97,
      "pricePerNightWithTaxes": 182.54, "totalPrice": 317.94, "totalPriceWithTaxes": 365.08,
      "priceText": "$159", "roomTypes": null, "url": "https://www.hotels.com/Hotel-Search?..." },
    { "site": "Hotel Golf Prague", "officialSite": true, "sponsored": false, "pricePerNight": 159.64,
      "pricePerNightWithTaxes": 164.03, "totalPrice": 319.28, "totalPriceWithTaxes": 328.05,
      "priceText": "$160", "roomTypes": null, "url": "https://wtbngprod-cdn.official-rates.com/..." },
    { "site": "Booking.com", "officialSite": false, "sponsored": false, "pricePerNight": 174.73,
      "pricePerNightWithTaxes": 201.91, "totalPrice": 349.45, "totalPriceWithTaxes": 403.81,
      "priceText": "$175", "roomTypes": null, "url": "https://www.booking.com/searchresults.en.html?..." }
  ]
}
```

With the add-on each row also gets contacts and details (real data, Hilton Prague Atrium):

```json
{
  "address": "Pobřežní 311/1, 186 00 Rohanský ostrov, Czechia",
  "phone": "+420 224 841 111",
  "website": "https://www.hilton.com/en/hotels/prghitw-hilton-prague-atrium/?SEO_id=GMB-EMEA-TW-PRGHITW",
  "googlePlaceId": "ChIJZV2CvL6UC0cRlztx6oFIAzw",
  "checkInTime": "3:00 PM",
  "checkOutTime": "12:00 PM",
  "neighborhood": "Karlín",
  "countryCode": "CZ",
  "description": "Casual quarters in a modern lodging offering dining & a rooftop lounge, plus an indoor pool & a spa.",
  "otherRatings": [
    { "site": "Tripadvisor", "rating": 4.2, "scale": 5, "reviewCount": 7131 },
    { "site": "Trip.com", "rating": 4.3, "scale": 5, "reviewCount": 407 }
  ]
}
```

All add-on fields (`bookingPrices`, `cheapestBookingSite`, `cheapestBookingPrice` and the contacts) are `null` when the add-on is off. The dataset has ready views: Overview, Prices, Location and IDs, Booking sites, Contacts and details.

### Pricing

Pay per event, no subscription, platform usage included:

| Event | Price |
|---|---|
| Property in the dataset | $1.50 per 1,000 |
| Booking-site prices for a property, contacts included (add-on, only when at least one price came back) | $1.50 per 1,000 |
| Run start | $0.00005 per run |

300 hotels with all booking sites cost about $0.90. Set "Maximum cost per run" when you start a run and it is never exceeded.

### Good to know

- **Hotel class** comes from Google and is filled only where Google knows it: in the US and Thailand for most hotels, in some European cities for few.
- **Prices** are what Google shows for the search at the time of the run. Some properties have no price on some dates; turn on `onlyWithPrice` to drop them.
- **Booking sites** differ by property: vacation rentals usually have fewer. Now and then the cheapest booking site costs more than Google's headline price (3 of 64 hotels in our tests): the source of Google's price is not always among the sites Google lists.
- **City border**: properties up to about 200 m outside the outline are kept, so a hotel right on the city line is not lost.
- **Very large areas** (a whole country) work but take longer; up to 300 requests per location.
- The scraper reads publicly available Google Hotels pages and does not log in anywhere.
- Hotel results can be sent directly to Google Sheets, Make, Zapier, or n8n.

### Changelog

See the Changelog tab.

# Changelog

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

# Actor input Schema

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

Cities or areas to search, one per line, for example <code>Prague, Czechia</code> or <code>Bangkok, Thailand</code>. Adding the country avoids picking a town with the same name elsewhere. Very large areas such as whole countries work but take longer; cities give the best coverage per request.

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

Arrival date as YYYY-MM-DD. Leave empty to use 14 days from today. A date in the past is replaced with 14 days from today.

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

Length of the stay. Prices per night are averaged over the stay; totals cover the whole stay.

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

Number of adult guests used for pricing.

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

Three-letter currency code for all prices.

## `maxItemsPerLocation` (type: `integer`):

Cap for each location, enforced before anything is billed.

## `maxTotalItems` (type: `integer`):

Hard ceiling for the whole run. <b>This is your spend control.</b> When it is reached, remaining locations are skipped and never billed.

## `includeVacationRentals` (type: `boolean`):

Keep apartments and holiday homes in the results. Turn off for hotels only. Removed rows are never billed.

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

Google shows no price for some properties on some dates. Turn on to return only priced properties. Removed rows are never billed.

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

Return only hotels of the chosen star classes, exactly as Google's own Hotel class filter does. Leave empty for all properties. Only hotels whose class Google knows can match, and vacation rentals are never included.

## `lookUpHotelClass` (type: `boolean`):

The star class comes with every hotel whose class Google knows (in some countries most hotels, in others few). This option adds one filtered search per class (5, 4, 3, 2) after the main search, to add classed hotels that the plain search does not show. It runs only while the per-location limit is not reached. Turn off for the fastest runs. Ignored when the Hotel class filter is set.

## `includeBookingPrices` (type: `boolean`):

For every property, also return the price on each booking site Google lists for your dates (Booking.com, Expedia, Hotels.com, Trip.com, Agoda, the hotel's own site and more), with a link to each offer. Included for free: address, phone, website, Google Place ID, check-in and check-out times, neighbourhood, description and ratings on other sites (Tripadvisor and more). One extra request per property, so runs take longer. Charged as a separate event only for properties where at least one booking-site price came back.

## `boundingBox` (type: `string`):

Also search an exact rectangle, in addition to the locations: <code>south,west,north,east</code> in degrees, for example <code>50.03,14.33,50.13,14.55</code>.

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

Optional. Runs work without a proxy; enable one for very large or frequent runs.

## Actor input object example

```json
{
  "locations": [
    "Prague, Czechia"
  ],
  "nights": 2,
  "adults": 2,
  "currency": "USD",
  "maxItemsPerLocation": 200,
  "maxTotalItems": 1000,
  "includeVacationRentals": true,
  "onlyWithPrice": false,
  "lookUpHotelClass": true,
  "includeBookingPrices": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `properties` (type: `string`):

All scraped properties.

# 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": [
        "Prague, Czechia"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("fancyboeing/google-hotels-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": ["Prague, Czechia"] }

# Run the Actor and wait for it to finish
run = client.actor("fancyboeing/google-hotels-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": [
    "Prague, Czechia"
  ]
}' |
apify call fancyboeing/google-hotels-scraper --silent --output-dataset

```

## MCP server setup

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