# Google Hotels Scraper for AI Agents — Prices, Ratings & Summary (`signalbox/google-hotels-for-ai-agents`) Actor

\[$1.50 / 1K hotels · no start fee] Google Hotels search as one compact JSON per location: up to 20 hotels with nightly price, star class, rating, reviews, coordinates, website + price min/median/max, cheapest, top-rated and best-value picks. Built for LLM agents and MCP.

- **URL**: https://apify.com/signalbox/google-hotels-for-ai-agents.md
- **Developed by:** [Signalbox](https://apify.com/signalbox) (community)
- **Categories:** Travel, AI, MCP servers
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$30.00 / 1,000 search reports

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 for AI Agents — prices & ratings in one report

Ask for a place, get **one compact JSON report**: up to 20 hotels from Google Hotels with nightly price, star class, guest rating, review count, coordinates and website — plus a ready-made summary your agent can act on directly.

```json
{
  "location": "Paris",
  "checkIn": "2026-11-10", "checkOut": "2026-11-12", "nights": 2, "adults": 2,
  "currency": "USD",
  "count": 20,
  "summary": {
    "priceMin": 55, "priceMedian": 84, "priceMax": 171,
    "avgRating": 3.92,
    "topRated": "Generator Paris",
    "cheapest": "Generator Paris",
    "bestValue": "Generator Paris"
  },
  "hotels": [{
    "name": "Hôtel Des Ducs D'Anjou",
    "pricePerNight": 171, "priceText": "$171",
    "hotelClass": 4, "type": "4-star tourist hotel",
    "rating": 3.9, "reviews": 545,
    "lat": 48.8599, "lng": 2.3470,
    "description": "Fashionable property offering chic rooms...",
    "website": "http://www.hotelducsdanjou.fr/",
    "googleUrl": "https://www.google.com/travel/hotels/entity/..."
  }]
}
```

### Why this one

- **One charge per location, not per hotel.** $0.03 for up to 20 hotels and a price/rating summary — cheaper per hotel than per-row scrapers, and far fewer tokens for an LLM.
- **Built-in picks**: cheapest, top-rated and `bestValue` (rating weighted against price).
- **Filters**: minimum rating, max price per night.
- **Reliable**: retries with backoff and escalates direct → datacenter → residential proxy only when blocked. Blocked locations come back with an `error` field and **are not charged**.

### Input

```json
{
  "locations": ["Paris", "Shinjuku, Tokyo", "Gangnam, Seoul"],
  "checkIn": "2026-11-10",
  "checkOut": "2026-11-12",
  "adults": 2,
  "maxResults": 20,
  "minRating": 4.0,
  "maxPricePerNight": 200
}
```

Empty dates = tonight, one night.

### Pricing (pay per event)

| Event | Price |
|---|---|
| Search report (1 location, up to 20 hotels + summary) | $0.03 |

### Use with AI agents (MCP)

Available through the Apify MCP server (`https://mcp.apify.com`). Example prompts:

- "Find 4-star+ hotels in Lisbon under $150 for Dec 3–6 and tell me the best value."
- "Compare median hotel prices in Shibuya vs Shinjuku next weekend."

Prices are what Google Hotels shows for the dates and guests (typically the lowest nightly rate found across booking sites), in the currency Google returns.

# Actor input Schema

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

City, neighborhood or landmark. Each location = one report (charged once). Max 30.

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

YYYY-MM-DD. Empty = tonight.

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

YYYY-MM-DD. Needed together with check-in.

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

Number of adult guests.

## `maxResults` (type: `integer`):

Up to 20 hotels per report.

## `minRating` (type: `number`):

Drop hotels rated below this (0-5). 0 = no filter.

## `maxPricePerNight` (type: `number`):

In the returned currency. 0 = no filter.

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

Used only after a direct request is blocked.

## Actor input object example

```json
{
  "locations": [
    "Paris"
  ],
  "checkIn": "",
  "checkOut": "",
  "adults": 2,
  "maxResults": 20,
  "minRating": 0,
  "maxPricePerNight": 0,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `reports` (type: `string`):

One compact JSON item per location.

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

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

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

```

## MCP server setup

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

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/HFpZUrQJgVHXWXFJE/builds/xVlgRpPeBJCs1zlXD/openapi.json
