# Google Hotels API & Scraper - Prices, Ratings & Deals (`signalmine/google-hotels-scraper`) Actor

Google Hotels API: nightly and total prices in your currency for any destination and dates, deals, stars, ratings, review topics, amenities, coordinates, nearby places and photos. Hotels and rentals. Fast, no browser. $0.003 per hotel, pay only for results. Works via API and MCP.

- **URL**: https://apify.com/signalmine/google-hotels-scraper.md
- **Developed by:** [Signalmine](https://apify.com/signalmine) (community)
- **Categories:** Travel, E-commerce, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$3.00 / 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.

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 API & Scraper — prices, ratings & deals

**Google Hotels Scraper** is a pay-per-result API that returns Google Hotels search results for any destination and dates: **nightly and total price in your currency**, Google's **deal badge** ("23% less than usual"), **star class**, **guest rating and review count**, **what reviewers say** about service, location, cleanliness and more, **amenities**, **coordinates**, **nearby places with travel times**, **photos** and a direct Google Hotels link. Hotels and vacation rentals are both supported.

**In short**

- **What it is:** a Google Hotels API for price monitoring and hotel data, without running a browser or managing proxies.
- **Best for:** hotel price tracking, revenue management and rate benchmarking, travel apps and comparison sites, market research and AI travel agents.
- **How it works:** it uses the same search data endpoint as the Google Hotels website, so there is no page rendering. Runs are fast and cheap, and a blocked session is retried automatically on a fresh one.
- **Reliability:** in our tests on the Apify platform (September 2026), **300 of 300 hotels were returned for 5 destinations on 3 continents, in EUR, in 22 seconds, with zero retries**.
- **Price:** $0.003 per hotel returned. **Failed searches are never charged.**
- **Works with AI agents:** callable via REST API, Python and JavaScript clients, and as an **MCP tool** in Claude, Cursor, VS Code and other MCP clients.

### What data does it return?

| Group | Fields |
|---|---|
| Price | price per night (number and formatted), total price for the stay, deal badge vs usual price |
| Quality | star class, guest rating, review count, 1–5 star breakdown, review topics with positive/negative mentions |
| Property | name, description, website, check-in and check-out times, amenity codes, named amenities and details for vacation rentals |
| Location | latitude, longitude, country, nearby landmarks, transit and airports with walking, transit or taxi times |
| Media & IDs | thumbnail, photos, Google Hotels link, property token, Google Maps ID |
| Search context | search query, rank position, dates, nights, adults, currency, timestamp |

### How to use it

#### 1. In Apify Console (no code)

Enter one or more destinations, your dates and currency, and click **Start**. Download the results as JSON, CSV, Excel or HTML.

#### 2. Python

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("signalmine/google-hotels-scraper").call(run_input={
    "searchQueries": ["Lisbon", "hotels near Times Square New York"],
    "checkInDate": "2026-12-04",
    "checkOutDate": "2026-12-07",
    "currency": "EUR",
    "maxResultsPerQuery": 60,
})
for hotel in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(hotel["name"], hotel["pricePerNightDisplay"], hotel["rating"])
```

#### 3. JavaScript / Node.js

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('signalmine/google-hotels-scraper').call({
    searchQueries: ['Tokyo'],
    checkInDate: '2026-11-10',
    checkOutDate: '2026-11-13',
    currency: 'USD',
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

#### 4. REST API (one call, results in the response)

```bash
curl -X POST "https://api.apify.com/v2/acts/signalmine~google-hotels-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"searchQueries": ["Barcelona"], "checkInDate": "2026-12-04", "checkOutDate": "2026-12-07", "currency": "EUR"}'
```

#### 5. AI agents via MCP (Claude, Cursor, VS Code)

```json
{
  "mcpServers": {
    "google-hotels": {
      "url": "https://mcp.apify.com?tools=signalmine/google-hotels-scraper",
      "headers": { "Authorization": "Bearer <YOUR_APIFY_TOKEN>" }
    }
  }
}
```

Then ask your assistant things like *"Find 4-star hotels in Lisbon for December 4–7 under 150 EUR a night with a rating above 4.5"* or *"Which hotels near Times Square are cheaper than usual next weekend?"*

### Input

| Field | Description |
|---|---|
| `searchQueries` | Destinations or searches, e.g. `["Lisbon", "hotels near Times Square", "beach resorts in Cancun"]`. Plain place names get "hotels in" added automatically |
| `checkInDate` / `checkOutDate` | `YYYY-MM-DD` (default: 14 days from today, 2 nights; max 30 nights) |
| `adults` | Number of adults, 1–10 (default 2) |
| `currency` | Price currency: `USD`, `EUR`, `GBP`, `JPY`… (default `USD`) |
| `maxResultsPerQuery` | Properties per search (default 40; about 20 per page, paginated automatically) |
| `language` / `country` | Google `hl` / `gl` (default `en` / `us`) |

### Output example

A real result (trimmed) from a search for Madrid:

```json
{
  "searchQuery": "Madrid",
  "position": 1,
  "name": "The Hat Madrid",
  "hotelClass": "2-star hotel",
  "stars": 2,
  "rating": 4.3,
  "reviewCount": 4793,
  "ratingBreakdown": [
    {
      "stars": 5,
      "percent": 59,
      "count": 2705
    },
    {
      "stars": 4,
      "percent": 27,
      "count": 1335
    }
  ],
  "reviewAspects": [
    {
      "name": "Bar or lounge",
      "mentions": 219,
      "positive": 176,
      "negative": 21
    },
    {
      "name": "Food and Beverage",
      "mentions": 135,
      "positive": 110,
      "negative": 16
    }
  ],
  "pricePerNight": 53.489834,
  "pricePerNightDisplay": "$53",
  "totalPriceDisplay": "$160",
  "dealText": "23% less than usual",
  "description": "Bright rooms & dorms in a laid-back lodging with a rooftop bar, plus free Wi-Fi & breakfast.",
  "latitude": 40.41431,
  "longitude": -3.70707,
  "countryCode": "ES",
  "website": "http://www.thehatmadrid.com/",
  "checkInTime": "3:00 PM",
  "checkOutTime": null,
  "amenityCodes": [
    165,
    29,
    17,
    2,
    4,
    23,
    14,
    31,
    27,
    11
  ],
  "nearbyPlaces": [
    {
      "name": "Plaza Mayor",
      "travelTimes": [
        {
          "mode": "walking",
          "duration": "2 min"
        }
      ]
    },
    {
      "name": "Sol",
      "travelTimes": [
        {
          "mode": "walking",
          "duration": "7 min"
        }
      ]
    }
  ],
  "thumbnail": "https://lh3.googleusercontent.com/gps-cs-s/AHRPTWmzGHy-rwcvV…",
  "photos": [
    "https://lh3.googleusercontent.com/gps-cs-s/AHRPTWmzGHy-rwcvV…",
    "https://lh3.googleusercontent.com/gps-cs-s/AHRPTWnIcQGuUH918…"
  ],
  "propertyToken": "ChoIu5WerdPL2MTsARoNL2cvMTFiNjRxMXB0YxAB",
  "googleMapsId": "0xd42287f399c8ac1:0xec89625d35a78abb",
  "googleHotelsUrl": "https://www.google.com/travel/hotels/entity/ChoIu5WerdPL2MTsARoNL2cvMTFiNjRxMXB0YxAB",
  "currency": "USD",
  "checkInDate": "2026-11-10",
  "checkOutDate": "2026-11-13",
  "nights": 3,
  "adults": 2,
  "scrapedAt": "2026-09-23T21:13:27.047153+00:00"
}
```

### Use cases

- **Hotel price monitoring:** track nightly rates for a destination or a competitor set every day and alert on changes.
- **Revenue management & rate shopping:** benchmark your property against nearby hotels with a similar star class for the same dates.
- **Travel apps & comparison sites:** feed prices, ratings, photos and coordinates into your product.
- **Market research:** supply, star mix, ratings and price levels by city or neighborhood.
- **Deal finding:** surface properties Google marks as cheaper than usual.
- **AI travel agents:** let an assistant search and compare hotels with real prices.

### Pricing

Pay per event: **$0.003 per hotel** returned, all fields included.

| Volume | Cost |
|---|---|
| 100 hotels | $0.30 |
| 1,000 hotels | $3.00 |
| 10,000 hotels | $30.00 |

Failed searches are free. Apify platform usage is included in the price.

### FAQ

**Is there a Google Hotels API?**
Google does not offer a public API for Google Hotels search results; its travel partner APIs are for hotels and partners managing their own inventory. This Actor gives you the search results as an API: call it over REST, from Python or JavaScript, or as an MCP tool.

**Can I get prices in my currency?**
Yes. Set `currency` to an ISO code such as USD, EUR, GBP or JPY and prices come back in that currency.

**What price is returned?**
The lowest nightly price Google shows for your dates and number of adults, plus the total for the stay. Properties with no availability for those dates come back without a price.

**How many hotels can I get per destination?**
As many as Google lists for the search, collected automatically about 20 per page. Set `maxResultsPerQuery` to control volume and cost.

**Does it include vacation rentals?**
Yes. Rentals include named amenities and details such as bedrooms, bathrooms, capacity and size.

**What are `amenityCodes`?**
Google's numeric amenity IDs for hotels. Vacation rentals also include named `amenities`.

**Can AI assistants use it?**
Yes. It works as an MCP tool in Claude, Cursor, VS Code and any MCP-compatible client through `https://mcp.apify.com?tools=signalmine/google-hotels-scraper`.

**Is it legal to scrape Google Hotels?**
This Actor collects publicly available information about businesses (hotels), not personal data. You are responsible for using the data in line with applicable laws and Google's terms.

**Something missing or broken?**
Open an issue on the Issues tab and it will be looked at quickly.

### Related Actors by Signalmine

- [Google Trends Scraper](https://apify.com/signalmine/google-trends-scraper): interest over time, by region and related queries for any keyword, with no 429 errors.

# Actor input Schema

## `searchQueries` (type: `array`):

A city, area, landmark or full query, e.g. 'Paris', 'hotels near Times Square', 'beach resorts in Cancun'. Plain place names get 'hotels in' added automatically.

## `checkInDate` (type: `string`):

YYYY-MM-DD. Defaults to 14 days from today.

## `checkOutDate` (type: `string`):

YYYY-MM-DD. Defaults to 2 nights after check-in. Max 30 nights.

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

Number of adult guests (1-10).

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

ISO currency code for prices, e.g. USD, EUR, GBP, JPY.

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

How many properties to collect for each search (about 18-20 per page).

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

Interface language (hl), e.g. en, es, fr, de.

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

Google country (gl), e.g. us, gb, de. Affects which offers Google shows.

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

How many searches run at the same time.

## `maxRetries` (type: `integer`):

Fresh sessions to try per page before giving up.

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

Residential proxies give the best success rate with Google.

## Actor input object example

```json
{
  "searchQueries": [
    "Lisbon"
  ],
  "adults": 2,
  "currency": "USD",
  "maxResultsPerQuery": 40,
  "language": "en",
  "country": "us",
  "maxConcurrency": 3,
  "maxRetries": 6,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

One item per property with prices, ratings, amenities and 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 = {
    "searchQueries": [
        "Lisbon"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("signalmine/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 = { "searchQueries": ["Lisbon"] }

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,signalmine/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/6wnbbcWanwSRYrKDS/builds/dWRp0V8bXEknSKujY/openapi.json
