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.
One hotel delivered with name, rating, review count and indicative price. Cities that fail or return nothing are never charged.
ACTOR=steadydata~google-hotels-city URL="https://api.apify.com/v2/acts/$ACTOR/run-sync-get-dataset-items" curl -X POST "$URL?token=$APIFY_TOKEN" \ -H "Content-Type: application/json" \ -d '{"cities": ["Amsterdam", "Lisbon"], "maxHotelsPerCity": 20, "country": "US"}'
import os, requests ACTOR = "steadydata~google-hotels-city" URL = f"https://api.apify.com/v2/acts/{ACTOR}/run-sync-get-dataset-items" rows = requests.post( URL, params={"token": os.environ["APIFY_TOKEN"]}, json={'cities': ['Amsterdam', 'Lisbon'], 'maxHotelsPerCity': 20, 'country': 'US'}, timeout=900, ).json() # every row carries a status; failures are records, not exceptions ok = [r for r in rows if r.get("status") == "ok"] print(len(ok), "rows delivered")
const ACTOR = "steadydata~google-hotels-city"; const url = `https://api.apify.com/v2/acts/${ACTOR}/run-sync-get-dataset-items` + `?token=${process.env.APIFY_TOKEN}`; const rows = await fetch(url, { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({"cities": ["Amsterdam", "Lisbon"], "maxHotelsPerCity": 20, "country": "US"}), }).then((r) => r.json()); // one object per delivered row, same shape every time console.log(rows.filter((r) => r.status === "ok").length, "rows");
Point an MCP client at Apify's hosted server with this dataset in the tools list, or run our own server locally. The field explanations in the table below travel with the schema, so your agent reads them straight from the platform instead of from this page.
https://mcp.apify.com?tools=steadydata/google-hotels-city # the tool arrives in your agent as steadydata--google-hotels-city
| Field | Type | Name | What it does |
|---|---|---|---|
citiesrequired | array of string | Cities | One city per row, up to 200, as Google knows it: Amsterdam, Lisbon, New York. |
maxHotelsPerCity | integer | Max hotels per city | Cost ceiling per city. Google shows about 20 hotels on a city page; that is also the maximum here. |
country | string | Country (gl) | Two-letter country code for the market Google shows, for example US, NL, GB. |
language | string | Language (hl) | Two-letter language code for names and labels. |
{
"city": string | null,
"position": integer | null,
"name": string | null,
"rating": number | null,
"reviewCount": integer | null,
"priceFrom": number | null,
"currency": string | null,
"priceNote": string | null,
"country": string | null,
"locationId": string | null,
"status": string | null,
"input": string | null,
"errorCode": string | null,
"error": string | null
}| Field | Type | When it is filled |
|---|---|---|
city | string, null | |
position | integer, null | |
name | string, null | |
rating | number, null | |
reviewCount | integer, null | |
priceFrom | number, null | |
currency | string, null | |
priceNote | string, null | |
country | string, null | |
locationId | string, null | |
status | string, null | Either 'ok' or 'error'. An error row carries errorCode and error, and leaves the data fields empty; it is never charged. |
input | string, null | The input this row was built from, so a row can always be traced back. |
errorCode | string, null | Filled on an error row only; a delivered row leaves it empty. |
error | string, null | Filled on an error row only; a delivered row leaves it empty. |
Ads from Google's Ads Transparency Center per advertiser domain or advertiser id, per country or worldwide: creative id, advertiser name, preview image or preview URL, first and last shown dates and a link to the ad. Up to 200 advertisers per run. Pay only for delivered ads.
$1.40 per 1,000 · Ad listedGoogle's autocomplete suggestions for up to 500 seed keywords per run, per country and language, with optional a-to-z and question-word expansion for hundreds of long-tail keywords per seed. Ranked, with Google's relevance score and suggestion type. Pay only for delivered suggestions.
$0.35 per 1,000 · Suggestion listedFlight options from Google Flights for up to 200 searches per run: price, airlines, flight numbers, departure and arrival times, duration, stops and layover airports, aircraft and CO2 estimate, in Google's order. One-way or round trip, any cabin class and currency. Pay only for delivered flights.
$1.40 per 1,000 · Flight listedAlready using this one? Ratings are the first thing other buyers look at, and this dataset has none yet. If it does a job for you, a rating on its Apify page is the one thing that helps. It takes a minute and it is the only thing we ask for.