# Google Hotels by City: names, ratings, review counts, price (`steadydata/google-hotels-city`) Actor

The hotel landscape of a city from Google Hotels, up to 200 cities per run: hotel name, Google rating, number of reviews, indicative nightly price and currency, in Google's own order. No dates, no booking, no personal data: the market overview, not the rate search. Pay per delivered hotel.

- **URL**: https://apify.com/steadydata/google-hotels-city.md
- **Developed by:** [Steadydata Team](https://apify.com/steadydata) (community)
- **Categories:** Travel, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$4.00 / 1,000 hotel listeds

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 by City: names, ratings, review counts, price

The hotel landscape of a city from Google Hotels, up to 200 cities per run: hotel name, Google rating, number of reviews, indicative nightly price and currency, in Google's own order. No dates, no booking, no personal data: the market overview, not the rate search. Pay per delivered hotel.

### Why this scraper

- **Only delivered results are charged.** Inputs that fail come back as clear error
  records at no cost.
- **Measured on the real city page:** 20 hotels per city, 20 of 20 with a rating and a
  review count, 20 of 20 with an indicative price (Amsterdam, 15 September 2026).
- **Pay per hotel, nothing else.** No setup fee, no per-page fee: the alternative in the
  Store charges $0.02 per page plus a per-run fee. Here a city that fails costs nothing.
- **Unknown cities are refused, not invented.** When Google does not know the place it
  answers with a generic list without prices. This actor recognises that and returns an
  `UNKNOWN_CITY` error record instead of ten resorts labelled with your city.

### Who this is for

Market and destination research: which hotels dominate a city on Google, how they are
rated, how many reviews they carry and at what indicative price level. Hotel groups
benchmarking a city, travel marketplaces sizing supply, analysts tracking review counts
over time. Runs for up to 200 cities in one go.

### Who this is not for

- **You need rates for specific dates or guests.** This actor reads Google's city page,
  which has no date input; `priceFrom` is Google's indicative nightly price for its default
  dates and is marked as such in `priceNote`. Date-specific rate search is a different
  Google route that its robots.txt does not allow, so it is deliberately not offered.
- **You need more than about 20 hotels per city.** The city page shows one screen of
  hotels in Google's own order; there is no pagination on this route.
- **You need addresses, phone numbers or booking links.** Not delivered.

### Input example

```json
{
    "cities": [
        "Amsterdam",
        "Lisbon"
    ],
    "maxHotelsPerCity": 20,
    "country": "US",
    "language": "en"
}
```

### Output fields

- `city`
- `position`
- `name`
- `rating`
- `reviewCount`
- `priceFrom`
- `currency`
- `priceNote`
- `country`

`priceFrom` is the indicative price for Google's default dates and `currency` states which
currency that is, read from the page itself; it is usually USD and does not follow the
`country` field. `position` is Google's order on the page.

### Output example

```json
{
    "city": "Amsterdam",
    "position": 2,
    "name": "Leonardo Eden Hotel Amsterdam City Center",
    "rating": 4.1,
    "reviewCount": 4234,
    "priceFrom": 121,
    "currency": "USD",
    "priceNote": "indicative price for Google's default dates; set no dates on this route",
    "country": "US",
    "status": "ok"
}
```

Error codes: `INVALID_CITY` (empty city or a bad country code), `UNKNOWN_CITY` (Google does
not know the place and answered with a generic list), `BLOCKED` (consent or bot wall; the
actor retries on a fresh exit first), `NO_HOTELS`, `FETCH_FAILED`. None of them is charged.

### Related actors from steadydata

- [google-flights](https://apify.com/steadydata/google-flights): the flights to the same city, with prices
- [google-local](https://apify.com/steadydata/google-local): how those hotels rank in Google's local results
- [google-trends-batch](https://apify.com/steadydata/google-trends-batch): when interest in the destination peaks

### Pricing

Pay per event: one `hotel-listed` event per delivered result. No charge for inputs
that fail, no separate platform-usage surcharge.

**Free Apify plan:** this actor delivers up to 25 rows per run for accounts on the Apify free
plan, and then stops with a message. That limit is set by us, not by Apify. It exists so the
actor keeps paying for itself for the people who do pay. Any paid Apify plan runs it at full
size, billed per delivered row, with failed rows never charged.

**Reviews:** if this actor saves you time, a short review on this page is the one thing that
helps most. Ratings are what other buyers look at first, and we have no other way to ask.

### FAQ

**Why is the price called indicative?** Google's city page shows a nightly price for its
own default dates. It is a level, not a quote for your dates. Date-specific rates live on a
Google route that its robots.txt does not allow, so this actor does not go there.

**Why only about 20 hotels per city?** That is one city page in Google's order; there is no
pagination on this route. For a full inventory of a city you need a different source.

**What happens with a place Google does not know?** You get an `UNKNOWN_CITY` error record
and no charge. Google itself would show a generic list of resorts without prices; we do not
pass that off as your city.

**Which currency do I get?** Whichever one Google prices the page in, and every row states it
in `currency`, read from the price itself. That is usually USD. The `country` you set steers
which hotels Google shows, not the currency: Google decides that from where the request comes
out, and this actor rotates its exits to stay unblocked. Rows without a price carry no
currency. So always read `currency` instead of assuming one, and convert if you need a single
currency across cities.

**Are ratings and review counts exact?** They are what Google shows on the card at run time:
rating with one decimal, review count as a whole number.

**Is personal data collected?**
Maintained daily: every actor in this portfolio runs a live check each morning and a
content check against known facts each week. Report a problem through the Issues tab.

**What happens when the source changes?**
Sources change from time to time; that is the nature of this work. The actor is
monitored daily and fixed fast, and while it is broken you are not charged, because
only delivered results cost anything.

`rating` and `reviewCount` are empty for a hotel that has no reviews yet on Google (1 of 20 Amsterdam hotels on 16-09-2026).

# Changelog

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

# Actor input Schema

## `cities` (type: `array`):

One city per row, up to 200, as Google knows it: Amsterdam, Lisbon, New York.

## `maxHotelsPerCity` (type: `integer`):

Cost ceiling per city. Google shows about 20 hotels on a city page; that is also the maximum here.

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

Two-letter country code for the market Google shows, for example US, NL, GB.

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

Two-letter language code for names and labels.

## Actor input object example

```json
{
  "cities": [
    "Amsterdam",
    "Lisbon"
  ],
  "maxHotelsPerCity": 20,
  "country": "US",
  "language": "en"
}
```

# Actor output Schema

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

No description

# 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 = {
    "cities": [
        "Amsterdam",
        "Lisbon"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("steadydata/google-hotels-city").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 = { "cities": [
        "Amsterdam",
        "Lisbon",
    ] }

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

```

## MCP server setup

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

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/PJExsF1XDYSuC36vt/builds/BPbBUcc4bG9zBsbBG/openapi.json
