# Hotel Prices by City with Ratings and Review Counts (`steadydata/google-hotels-city`) Actor

Hotel prices by city with ratings, 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. Pay per hotel.

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

## Pricing

from $5.20 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## Hotel Prices by City with Ratings and Review Counts

Hotel prices by city with ratings, 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. Pay per hotel.

### Why this scraper

- **More than a price list.** Every hotel also comes with its GPS coordinates, hotel class and star rating, check-in and check-out time, the price including taxes, Google's amenity codes and the website Google lists. Measured on 20 Lisbon hotels on 03-10-2026: coordinates for all 20, class and stars for the 14 with a star rating, check-in times for 16.
- **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`. For prices on your own dates, per booking
  site, use [Google Hotels Prices by Date](https://apify.com/steadydata/google-hotels-prices)
  with the same city; it takes check-in and check-out dates.
- **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 fields

| Field | Type | Required or default | What it does |
|---|---|---|---|
| `cities` | list of text | required | One city per row, up to 200, as Google knows it: Amsterdam, Lisbon, New York. |
| `maxHotelsPerCity` | number | 20 | Cost ceiling per city. Google shows about 20 hotels on a city page; that is also the maximum here. |
| `country` | text | US | Two-letter country code for the market Google shows, for example US, NL, GB. |
| `language` | text | en | Two-letter language code for names and labels. |

### Input example

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

`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

| Field | Type | What it holds | Example |
|---|---|---|---|
| `city` | text | The city this row was searched in. | `Amsterdam` |
| `position` | number | The place in the source's own order, counting from 1. | `1` |
| `name` | text | The name of the hotel. | `The Flying Pig Downtown Hostel` |
| `rating` | number | The average star rating. | `4.3` |
| `reviewCount` | number | How many reviews that average rests on. | `2761` |
| `priceFrom` | number | The lowest price per night Google shows for the searched dates. | `46` |
| `currency` | text | The currency that price is in. | `USD` |
| `priceNote` | text | What that price says about itself, for example whether taxes are included. | `indicative price for Google's default dates; set no dates...` |
| `country` | text | The country the request was made from; the answer differs per country. | `US` |
| `locationId` | text | Google's own id for the hotel, the key to follow it over time. | `/m/0k3p` |
| `latitude` | number | Latitude of the hotel, from Google's own map data. | `38.6985453` |
| `longitude` | number | Longitude of the hotel, from Google's own map data. | `-9.1867144` |
| `hotelClass` | text | The hotel class as Google states it, for example '5-star hotel'; empty for rentals without stars. | `5-star hotel` |
| `starRating` | number | The number of stars of that class, 1 to 5; empty for rentals without stars. | `5` |
| `checkInTime` | text | Check-in time as Google lists it for the hotel. | `3:00 PM` |
| `checkOutTime` | text | Check-out time as Google lists it for the hotel. | `12:00 PM` |
| `priceWithTaxes` | number | The indicative price per night including taxes and fees, in the same currency as priceFrom. | `297.5` |
| `amenityCodes` | list | Google's numeric codes for the amenities it lists for the hotel (Wi-Fi, pool, parking and so on). | `[165, 29, 17]` |
| `website` | text | The link Google shows as the hotel's website; for holiday rentals this is often the listing site. | `https://www.hyatt.com/hyatt-regency/en-US/lishr-hyatt-reg...` |

```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.

### Use with AI agents

AI assistants such as Claude, ChatGPT or Cursor can run this actor through Apify's own MCP server. Ask for the actor `steadydata/google-hotels-city` by its full name, so the assistant does not pick a different one, and start from this minimal input:

```json
{
  "cities": [
    "Amsterdam",
    "Lisbon"
  ]
}
```

The assistant can read the price per event from the Pricing section above before the first paid run. Failed input comes back as an error row, as described above.

### 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. For a quote on your dates, per
booking site, use [Google Hotels Prices by Date](https://apify.com/steadydata/google-hotels-prices).

**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?**
No. Hotel names, prices, ratings and review counts as Google shows them; no reviewer names or review texts.

**What do the fields mean?**
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).

**Is this an alternative to the Amadeus Self-Service hotel API?**
For an overview of hotels and their lowest shown price per city, yes. Amadeus switched off its
self-service APIs on 17 July 2026. This actor returns the hotels Google Hotels lists for a city,
with price, rating, stars, location and amenities. It does not book rooms and does not return
prices per stay date.

**Can I call it from my own code, like an API?**
Yes. Every run is available through the Apify API: start it with one HTTP request, then read
the results as JSON, CSV or Excel from the dataset endpoint, or use the official Python and
JavaScript clients. The input is the same JSON as in the input example above, so a scheduled
script, a Make or Zapier step or an AI agent can call it without any changes.

# 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/tJ6deWMbfYWgk2hg2/openapi.json
