# Google Hotels Scraper: Prices, OTA Rates & Ratings (`xmolodtsov/google-hotels-scraper`) Actor

Scrape Google Hotels property prices, OTA rates, ratings, amenities and locations for your requested stay. Export one row per property with nested booking sources.

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

## Pricing

from $2.25 / 1,000 items

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

Scrape google hotels for a destination or hotel name and a requested stay. This scraper returns one property row with nightly and total prices, OTA rates, ratings, amenities and location. Use it for accommodation research, destination comparisons and repeated price snapshots. Booking sources are nested inside each property, so a hotel with several providers remains one result.

### What data you get

Each row identifies a public Google Hotels property and the stay you requested. Prices can be absent when Google does not show availability. Hotels and other property cards returned by the same search are retained, including cards without a Maps identifier. A rental can have no hotel class. Null values mean the source omitted that field; they do not mean zero.

With `includeBookingSources: true`, the actor makes one detail request per property to collect the provider price table and address. Each provider entry contains `provider`, `nightlyPrice`, `totalPrice`, `currency` and `bookingUrl`. Links are returned as Google supplied them, with relative links made absolute. The actor does not visit a booking provider, reserve rooms or test whether an offer can still be purchased. There is no reviews feed, price calendar or room breakdown.

### How to use it

1. Open the actor in [Apify Console](https://console.apify.com/actors), choose Input and enter one or more search phrases such as `Paris hotels`.
2. Leave dates empty for a two-night stay beginning 21 days ahead, or supply check-in and check-out in `YYYY-MM-DD` format. Set adults and currency.
3. Start with a small `maxResults`. Keep booking sources enabled when you need provider comparisons; disable them for a lighter list export.
4. Run the actor and open the dataset. Download JSON for nested provider data, or CSV/Excel for a property table.

The Console prefill requests three Paris properties, with booking sources. Dates are computed at run time, so the example remains usable without editing old dates. You can also call the [Apify API](https://docs.apify.com/api/v2):

```sh
curl --request POST \
  'https://api.apify.com/v2/acts/xmolodtsov~google-hotels-scraper/run-sync-get-dataset-items?timeout=120' \
  --header "Authorization: Bearer $APIFY_TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{"queries":["Paris hotels"],"maxResults":3,"includeBookingSources":true}'
```

For longer jobs, start an asynchronous run and fetch the dataset when it finishes. Use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp) to let a compatible assistant run the actor and read its structured results. Supply the same input object; MCP does not change field meanings or result limits.

### Pricing

One saved property row is one billed result, including its nested provider prices when enabled. There are no actor start fees or separate provider events. The configured prices per 1,000 saved results are:

| Apify plan | Price per 1,000 results |
| --- | --- |
| FREE | $3.21 |
| BRONZE | $2.89 |
| SILVER | $2.57 |
| GOLD | $2.25 |

For example, ten saved properties cost $0.0321 on FREE or $0.0225 on GOLD at these event prices; 200 saved properties cost $0.642 or $0.45 respectively. Platinum and Diamond use the Gold price. A property with twelve providers still produces one event. Duplicate properties within the same stay are not saved twice. Failed requests produce no property event. Check the actor's active Store pricing before running; platform account allowances and credits are managed by Apify.

#### Is it free?

The Apify free plan allows **100 results per run and 20 runs per month**, enforced by the developer per user and UTC calendar month. Your Apify credits may cover usage at the FREE event price. After twenty admitted runs, another run succeeds with zero rows and makes no source requests. The allowance resets on the first day of the next UTC month. These are developer limits; paid plans, the developer owner and Apify TEST runs are exempt. Free runs use Apify Proxy only and ignore custom proxy routes. If the quota service is unavailable, admission fails closed.

### Input

| Field | Meaning and default |
| --- | --- |
| `queries` | Required array of 1–100 nonempty destination or hotel phrases; Console prefill: `["Paris hotels"]`. |
| `checkIn` | Optional ISO date; empty or omitted means 21 days after the run starts. |
| `checkOut` | Optional ISO date; empty or omitted means two nights after check-in. |
| `adults` | Integer from 1 to 6; default 2. Children are not supported. |
| `currency` | Supported uppercase currency code; default USD. See the input selector for choices. |
| `maxResults` | Maximum unique properties encountered per query, 1–10,000; default 100, prefill 3. The free plan also caps the whole run at 100 saved rows. |
| `includeBookingSources` | Default true; adds one detail call per property. False uses list data only. |
| `proxyConfiguration` | US Apify datacenter by default. Paid runs can use their own HTTP(S) proxies or request direct access. |

Dates must be valid calendar dates, cannot be in the past, and must describe a stay of 1–28 nights. Check-out must follow check-in. All input is validated before quota admission and proxy/source use. Unsupported proxy protocols, residential groups under either SDK alias, non-US countries, subdivision and tiered routes fail as `invalid:`. US datacenter exits avoid the consent page seen on some European routes. Caller-supplied proxies may still produce consent or challenge responses.

`maxResults` is a cap, not a completeness promise. Google overlaps pages and may stop its cursor before listing every property. The actor follows at most 100 pages per query and stops ahead of the run deadline. A query can return fewer rows because of overlap with another query, sparse results, a cursor end, a charge cap or a blocked page. Raising the cap cannot guarantee more results.

### Output

The default Property rows output link returns every field, including nested provider prices. The overview view is a smaller tabular projection. The dataset contains the following complete row from a live private proof run. The fields are stable even when individual values are null. `scrapedAt` is the UTC observation time; prices reflect the source response at that time.

```json
{
  "name": "Gorgeous Paris St Germain des Près - Studio",
  "nightlyPrice": 277.75,
  "totalPrice": 555.5,
  "currency": "USD",
  "rating": 4.5245614,
  "reviewCount": 114,
  "hotelClass": null,
  "amenities": [
    "Air conditioning",
    "Kid-friendly",
    "Heating",
    "Hot tub",
    "Ironing board",
    "Kitchen",
    "Microwave",
    "Oven stove",
    "Pet-friendly",
    "Smoke-free",
    "Cable TV",
    "Washer",
    "Wheelchair accessible",
    "Free parking",
    "Free Wi-Fi",
    "No airport shuttle"
  ],
  "address": null,
  "latitude": 48.851478576660156,
  "longitude": 2.3377699851989746,
  "image": "https://lh3.googleusercontent.com/grass-proxy/AIM7gW0lBbLz0cHGW5ONmpq0D9TpWX99hSRBHYDviDLnmEygIg_2uwQAqovx8ozTJG2rX_GyYAxzsEw6bqKY-zQPTl5_z3MSa_WR_Xjj6B1kBnA4r3jBkpKRvVKlyNieA6asPVHF9tJMwCvNY8b24xVWxflzfjFJCE03EbST2s7OsAC1P54T0V05-F83=s287-w287-h192-n-k-no-v1",
  "googleHotelsUrl": "https://www.google.com/travel/hotels/entity/ChoQi7Ds2ojz9JjJARoNL2cvMTF2M183dzdwNBAC?hl=en&gl=US&curr=USD",
  "entityKey": "ChoQi7Ds2ojz9JjJARoNL2cvMTF2M183dzdwNBAC",
  "providerPrices": [
    {
      "provider": "Vrbo.com",
      "nightlyPrice": 277,
      "totalPrice": 554,
      "currency": "USD",
      "bookingUrl": "https://www.google.com/travel/lodging/clk?pc=AJ0xEyhsFRPTyEsmaiL5vyYdOBHVekzOUVVsPY4sX1OPpCNMRIlU_khmvScNE0m2EHOgDWmH8_yARjPcYSmZfW7GIqaiH6UrmiaJbfSh6sks3NL_nQbg_ovf1-Ep8eHfZOQ4CK2XZSj5YkR_02_8q4Q0X-XSPqH-nYuYS5sBRV5uGN9Jce6x3NFX1w&pcurl=https://www.vrbo.com/en-gb/search?selected%3D42697028%26startDate%3D2026-12-10%26endDate%3D2026-12-12%26adults%3D2%26children%3D%26MDPCID%3DVRBO-GB.META.HPA.ORGANIC-desktop.VR%26MDPDTL%3DHTL.42697028.20261210.20261212.DDT.21.CID..AUDID..RRID.vrbo_gb_desktop%26mctc%3D10%26ct%3Dhotel%26mpg%3DUSD%26mpf%3D553.71%26mpj%3D139.57%26mpr%3D71.21%26mpl%3DEUR%26langid%3Den%26rateplanid%3D000005979c7b89bb4cc09b7a20e12d55b408%26mpm%3D103%26mpn%3D42697028%26mpo%3DEC%26mpe%3D1795029942%26mpp%3D1&s=ALZo0YL0luwCRb_Yl245z9MTZ1YT&ap=1"
    },
    {
      "provider": "Expedia.co.uk",
      "nightlyPrice": 278,
      "totalPrice": 556,
      "currency": "USD",
      "bookingUrl": "https://www.google.com/travel/lodging/clk?pc=AJ0xEygRqaixh23exKmId7r-EznltgDAOj7LnAysV2WJMvsnodUfAwqMAx43HPPa1MWbIEshYIoM8OEVXfZl668sI9-kwyaj0HjuBzJ-7JVZysh1V3e0vYt0gXKyk4DtTKaGaFktvUq0K4tnLl0RTiIZlCeuak_BrbcnF7-8VxLstHLTnGpAfsQ9CjSlvCWk3iHzIflCbyagvTEFt-oW1NLzG1k&pcurl=https://www.expedia.co.uk/Hotel-Search?selected%3D42697028%26startDate%3D2026-12-10%26endDate%3D2026-12-12%26MDPCID%3DGB.META.HPA.ORGANIC-desktop.VR%26adults%3D2%26children%3D%26MDPDTL%3DHTL.42697028.20261210.20261212.DDT.21.CID..AUDID.%26mctc%3D10%26ct%3Dhotel%26exp_curr%3DUSD%26exp_dp%3D555.50%26exp_tx%3D140.03%26mpr%3D71.45%26exp_pg%3Dgoogle%26langid%3Den%26ad%3D2%26tp%3D%26utm_source%3Dgoogle%26utm_medium%3Dcpc%26utm_term%3D42697028%26utm_content%3Dlocaluniversal%26utm_campaign%3DHotelAds%26rateplanid%3D000005979c7b89bb4cc09b7a20e12d55b408%26mpm%3D103%26mpn%3D42697028%26mpo%3DEC%26mpe%3D1795029942%26mpp%3D1&s=ALZo0YKtUkuhvS-IVr2ipxVkrVQ9&ap=1"
    }
  ],
  "checkIn": "2026-12-10",
  "checkOut": "2026-12-12",
  "adults": 2,
  "query": "Paris hotels",
  "scrapedAt": "2026-11-19T04:28:11.902Z",
  "rowKey": "[\"ChoQi7Ds2ojz9JjJARoNL2cvMTF2M183dzdwNBAC\",\"2026-12-10\",\"2026-12-12\",2,\"USD\"]"
}
```

![Google Hotels property dataset preview](https://api.apify.com/v2/key-value-stores/2DxCOvbMjhvK3S1qP/records/google-hotels-scraper-output.png)

`entityKey` is Google's public property token, independent of Maps IDs. `rowKey` is a JSON string containing `[entityKey, checkIn, checkOut, adults, currency]`. The same property for overlapping queries and the same stay is saved once; `query` records the first query that saved it. A different stay, adult count or currency describes a different price observation and therefore a different identity. On restart the writer seeds **the same rowKey** from the dataset through an empty page. Dates resolved from omitted input are retained for that run. Across independent runs, new snapshots are expected and intentional.

`currency` is the requested price denomination, retained even for an unpriced property. `nightlyPrice` and `totalPrice` are amounts from that property’s quote only; missing quotes stay null. Provider prices may differ due to inclusions, fees or offer conditions, and a nightly amount multiplied by nights need not equal the displayed total. Preserve both numbers and the currency rather than treating one as a computed substitute for the other. `rating`, `reviewCount`, `hotelClass`, `address`, coordinates and `image` are nullable. `amenities` and `providerPrices` are arrays; an empty array means none were exposed in that response.

### Guarantees and failure semantics

Rows are saved through a serialized writer. Dedup identities are committed after persistence, and appends are not retried when their acknowledgement is uncertain. A durable pending-write marker stops further work after restart until the run is inspected. Existing rows count toward both the result cap and the dataset-based charge admission limit.

A later failure preserves earlier saved rows and finishes SUCCEEDED with partial coverage described in `STATISTICS`. A unit is complete only after its terminal cursor response and all eligible rows have been saved. A page cap, repeated cursor, result cap or deadline never establishes source exhaustion. Up to five fresh US proxy sessions retry a failed page or detail after the first attempt. Details use at most three workers.

A zero-row run with no usable answer is FAILED, with a leading `blocked:`, `network:`, `timeout:`, `invalid:` or `outdated:` token. Empty RPC arrays are ambiguous on this source: they are retried on fresh sessions and remain a blocked/limited stop if unresolved, rather than being called no results. Unknown response formats fail explicitly. Quota refusal and a user charge limit are successful limit exits. Statistics are saved on success, partial completion and failure. The actor reserves thirty seconds before the run timeout to finish safely.

### Integrations

Use JSON exports to retain provider arrays, or the overview dataset view for tabular exports. [Apify integrations](https://docs.apify.com/platform/integrations) support scheduling, webhooks and automation workflows. You can connect dataset output to n8n, Make or Zapier, or retrieve it directly from the API. For a recurring comparison, store separate run timestamps and compare identical stay/adult/currency combinations. Provider links can expire, so refresh prices before a purchase decision.

### More scrapers from this developer

**TikTok:** [TikTok Search Scraper](https://apify.com/xmolodtsov/tiktok-search-scraper): Videos and creators for any keyword, pay per result ·
[TikTok Profile Scraper (Pay Per Result)](https://apify.com/xmolodtsov/tiktok-profile-scraper): Profiles, followers and latest posts by username ·
[TikTok Comments Scraper](https://apify.com/xmolodtsov/tiktok-comments-scraper): Comments and full reply threads from any video ·
[TikTok Hashtag Scraper](https://apify.com/xmolodtsov/tiktok-hashtag-scraper): Videos for any hashtag, with views, likes and music ·
[TikTok Sound & Music Scraper](https://apify.com/xmolodtsov/tiktok-sound-scraper): Videos that use a sound or song ·
[TikTok Top Ads Scraper](https://apify.com/xmolodtsov/tiktok-top-ads-scraper): Public Creative Center ad rankings, engagement, media and landing pages

**Social & news:** [Reddit Search Scraper](https://apify.com/xmolodtsov/reddit-scraper): Posts by keyword, subreddit or author ·
[Google News Scraper](https://apify.com/xmolodtsov/google-news-scraper): Google News results as clean full-text articles ·
[Threads Replies Scraper](https://apify.com/xmolodtsov/threads-replies-scraper): Public post replies, likes, authors and inline nested replies ·
[Threads Posts Scraper](https://apify.com/xmolodtsov/threads-posts-scraper): Public profile timelines with likes, replies and reposts ·
[Pinterest Videos Scraper](https://apify.com/xmolodtsov/pinterest-videos-scraper): Public Pinterest videos by keyword or board, with MP4 links and stats

**Instagram:** [Instagram Reel Scraper](https://apify.com/xmolodtsov/instagram-reel-scraper): Public profile reels, plays, captions, music and media URLs ·
[Instagram Comment Scraper](https://apify.com/xmolodtsov/instagram-comment-scraper): Public post and reel comments, likes, timestamps and usernames ·
[Instagram Post Scraper](https://apify.com/xmolodtsov/instagram-post-scraper): Public profile posts, likes, captions, locations and media URLs

**E-commerce:** [Prom.ua Product Search Scraper](https://apify.com/xmolodtsov/prom-ua): Prom.ua product search results, no browser needed ·
[Amazon Product Search & Bestsellers Scraper](https://apify.com/xmolodtsov/amazon-search-scraper): Search results, product details from Amazon ·
[AliExpress Search Scraper](https://apify.com/xmolodtsov/aliexpress-search-scraper): AliExpress products by keyword with prices, orders and shipping ·
[AliExpress Product Reviews Scraper](https://apify.com/xmolodtsov/aliexpress-reviews-scraper): Public product reviews, ratings, buyer photos and follow-up feedback

**Maps & leads:** [Google Maps Scraper](https://apify.com/xmolodtsov/google-maps-scraper): Places, leads and emails from Google Maps

**Ads:** [Facebook Ad Library Scraper (Meta Ads Library)](https://apify.com/xmolodtsov/facebook-ads-library-scraper): Ads from the Meta Ad Library, with EU reach and payers ·
[Google Ads Transparency Scraper](https://apify.com/xmolodtsov/google-ads-transparency-scraper): Google ad creatives by advertiser or domain, with regional details

**Video:** [YouTube Transcript Scraper](https://apify.com/xmolodtsov/youtube-transcript-scraper): Transcripts, subtitles and captions from YouTube videos ·
[YouTube Shorts Scraper](https://apify.com/xmolodtsov/youtube-shorts-scraper): Shorts of any channel with exact views, likes and duration ·
[YouTube Channel Scraper](https://apify.com/xmolodtsov/youtube-channel-scraper): Every video of a channel, with channel stats ·
[YouTube Search Scraper](https://apify.com/xmolodtsov/youtube-search-scraper): Search results and videos for any keyword ·
[YouTube Comments Scraper](https://apify.com/xmolodtsov/youtube-comments-scraper): Comments, replies and likes from any video ·
[Bilibili Comments Scraper](https://apify.com/xmolodtsov/bilibili-comments-scraper): Public hot comments and reply threads by video or keyword

**Jobs:** [SEEK Job Listings Scraper](https://apify.com/xmolodtsov/seek-jobs-scraper): Public AU/NZ job listings, salaries and redacted descriptions

### FAQ

#### Why did a city return fewer properties than requested?

The cap limits work; it does not request a complete city inventory. Google controls ranking, overlap and cursor depth. Inspect `STATISTICS.outcomes` for `cursor-end`, `limit`, `page-cap`, `repeated-cursor` or a failure token. If a page stops after saved rows, the run is partial even when its overall status is SUCCEEDED.

#### Can I fetch only hotels or only vacation rentals?

This actor exports the property cards returned by the public hotel search. It does not offer a separate rental-only mode. Keep class-null cards if your analysis needs all property types; a missing class alone does not establish the type.

#### Why are some prices or booking sources missing?

Google may show an unpriced property or omit a provider table for your dates. Disabling booking sources also skips the detail request. Null prices are retained, and the actor does not invent availability or replace missing prices with zero.

#### Is it legal to scrape Google Hotels?

Use this actor only for public data and for a purpose you are authorized to carry out. Assess applicable source terms and your obligations under GDPR, CCPA and other laws for your own use case. Avoid collecting personal data you do not need, set appropriate retention limits and do not use exported data to infer private guest information. This actor does not log in or access private accounts.

### Support

For a reproducible issue, use the actor's [Apify Store page](https://apify.com/xmolodtsov/google-hotels-scraper) to contact the developer. Include the run ID, failure token and expected property fields. Remove credentials and private information from examples. The run's `STATISTICS` record helps distinguish a source change, transient block, result cap and quota refusal.

# Changelog

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

# Actor input Schema

## `queries` (type: `array`):

Destination or hotel search text. Each query has its own maxResults cap; overlapping properties for the same stay are saved once.

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

Optional YYYY-MM-DD UTC date. Empty or omitted computes check-in 21 days ahead at run time; no expired date defaults.

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

Optional YYYY-MM-DD UTC date. Empty or omitted means two nights after check-in. Supported stays are 1 to 28 nights; dates cannot be past.

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

Number of adult guests for the requested stay, from 1 to 6. Child occupancy is not supported.

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

Three-letter supported price currency used in search and provider price tables.

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

Cap per query, not a completeness promise. Apify free plan: 100 results per run, 20 runs per month. Overlapping properties are deduplicated across queries.

## `includeBookingSources` (type: `boolean`):

Default true: one detail request per property adds nested OTA provider prices and address. False uses list results only and finishes sooner.

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

US Apify datacenter proxy by default. Residential and non-US routes are rejected. Paid runs may supply HTTP(S) proxies or direct access. Free runs ignore custom routes.

## Actor input object example

```json
{
  "queries": [
    "Paris hotels"
  ],
  "checkIn": "",
  "checkOut": "",
  "adults": 2,
  "currency": "USD",
  "maxResults": 3,
  "includeBookingSources": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

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

Google Hotels prices, OTA rates, ratings, amenities and locations for the requested stay.

# 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 = {
    "queries": [
        "Paris hotels"
    ],
    "maxResults": 3,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("xmolodtsov/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 = {
    "queries": ["Paris hotels"],
    "maxResults": 3,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyCountry": "US",
    },
}

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

```

## MCP server setup

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