# Google Hotels Scraper - Hotel Prices, Ratings & Contacts (`aolmo/google-hotels`) Actor

Hotels and nightly prices from Google Hotels for any destination and dates, without login: price per night and total, stars, rating, reviews, address, phone, website, coordinates and check-in times. Up to 90 hotels per search. Scheduled runs flag price changes. $0.002 per hotel.

- **URL**: https://apify.com/aolmo/google-hotels.md
- **Developed by:** [Antonio del Olmo Tena](https://apify.com/aolmo) (community)
- **Categories:** Travel
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 hotel scrapeds

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

Export hotels and nightly prices from Google Hotels for any destination and dates. Give destinations or searches and the Actor returns one row per hotel with price per night and total, stars, rating, reviews, address, phone, website, coordinates and check-in times. Schedule it and hotels whose price changed are flagged. Rate shopping, travel apps, market research and hotel lead lists at $0.002 per hotel.

### What you get

**Hotel** (one row each): `name`, `url`, `propertyType`, `stars`, `rating`, `reviewsCount`, `pricePerNight`, `priceText`, `totalPrice`, `currency`, `nights`, `address`, `phone`, `website`, `mapsUrl`, `latitude`, `longitude`, `checkInTime`, `checkOutTime`, `description`, `imageUrl`, `position`, `id`.

**Search** on every row: `search`, `checkIn` and `checkOut`.

**Changes** on scheduled runs: `priceChanged` and `previousPrice` for hotels whose nightly price moved since the previous run of the same search.

Searches without results return nothing and are not charged.

### How to use it

1. Open the **Input** tab.
2. Add **Destinations or searches**, one per line: `Madrid`, `hotels near Times Square` or `4 star hotels in Lisbon` (up to 50 per run).
3. Set **Check-in** and **Check-out**. With no dates the Actor searches 30 days ahead for two nights, so a schedule never expires.
4. Set **Max hotels per search**.
5. Click **Start** and export the rows as JSON, CSV or Excel.
6. To track prices, schedule the Actor with fixed dates.

### Input

```json
{
  "searches": ["hotels in Madrid", "4 star hotels in Lisbon"],
  "checkIn": "2026-12-10",
  "checkOut": "2026-12-12",
  "country": "ES",
  "maxHotels": 40
}
```

### Output

```json
{
  "search": "hotels in Madrid",
  "checkIn": "2026-12-10",
  "checkOut": "2026-12-12",
  "position": 4,
  "id": "ChoIrdLMscjb88WKARoNL2cvMTF4dm5nNW1jeBAB",
  "name": "Hotel Zentral Castilla",
  "url": "https://www.google.com/travel/hotels/entity/ChoI...?q=hotels%20in%20Madrid...",
  "propertyType": "hotel",
  "stars": 4,
  "rating": 4.4,
  "reviewsCount": 2311,
  "pricePerNight": 74,
  "priceText": "€74",
  "totalPrice": 147,
  "currency": "EUR",
  "nights": 2,
  "address": "C. de Carlos Fernández Casado, 36",
  "phone": "919 49 92 06",
  "website": "https://www.example-hotel.com/",
  "mapsUrl": "https://maps.google.com/maps?...",
  "latitude": 40.487,
  "longitude": -3.61,
  "checkInTime": "3:00 PM",
  "checkOutTime": "12:00 PM",
  "description": "Modern rooms in a design hotel with a gym and a terrace.",
  "imageUrl": "https://lh3.googleusercontent.com/...",
  "previousPrice": null,
  "priceChanged": false,
  "timestamp": "2026-11-01T10:00:00.000Z"
}
```

### Pricing

Pay per event: **$0.002 per hotel** and **$0.001 per price change** detected on a scheduled run. Empty searches are free. A search of 40 hotels costs $0.08.

### Limits and notes

- Each search returns about 18 hotels. For more, general searches such as `hotels in Madrid` are repeated by star category and merged, up to about 90. Named hotels and searches that already mention stars are not widened, so split large cities by neighbourhood for wider coverage.
- Prices come back in the currency Google chooses for the request, which the `currency` field states on every row. They use Google's default occupancy of two adults.
- `pricePerNight` is the lowest price Google shows, and it is null when the hotel shows none for those dates. The list of booking sites per hotel is not included.

### Related Actors

- **Google Flights Scraper**: fares for the same destination and dates.
- **Google Maps Places Scraper**: places and businesses from Google Maps.
- **Airbnb Search Scraper**: short-term rentals.

# Actor input Schema

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

One per line: Madrid, hotels near Times Square or 4 star hotels in Lisbon. Up to 50 per run.

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

YYYY-MM-DD. Empty means 30 days from today, so a saved or scheduled run does not expire.

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

YYYY-MM-DD. Empty means two nights after check-in.

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

Two-letter code of the market, such as US, ES or GB.

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

Each search returns about 18 hotels. Above that, general searches such as hotels in Madrid are widened by star category, up to about 90.

## `product` (type: `string`):

Internal. Leave as is.

## Actor input object example

```json
{
  "searches": [
    "hotels in Madrid"
  ],
  "country": "US",
  "maxHotels": 18,
  "product": "google-hotels"
}
```

# Actor output Schema

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

Dataset items: url, changed, events, data, timestamp and error (when the target failed).

# 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 Madrid"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("aolmo/google-hotels").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 Madrid"] }

# Run the Actor and wait for it to finish
run = client.actor("aolmo/google-hotels").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 Madrid"
  ]
}' |
apify call aolmo/google-hotels --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,aolmo/google-hotels"
        }
    }
}
```

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/buQvGICRfJcuTQ6KM/builds/bOLcf49cgLSq5tQ6U/openapi.json
