# Google Hotels Scraper (leads, emails, phones, prices) (`songd/hotel-leads-scraper`) Actor

Google Hotels scraper for hotel leads worldwide: emails, phone numbers, websites, WhatsApp and social profiles, ratings, amenities and OTA prices - plus a daily price & availability matrix (any dates, 1-6 guests, any currency). Multi-city or single-hotel. Pay per result.

- **URL**: https://apify.com/songd/hotel-leads-scraper.md
- **Developed by:** [Singed](https://apify.com/songd) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 80.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 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 Lead Scraper — Emails, Phones & Prices

Turn **Google Hotels / Google Travel** into a ready-to-use lead list: every
hotel in a city with **name, phone, email, website, WhatsApp, Instagram,
Facebook**, ratings, amenities — and an optional **daily price &
availability matrix** for 1–6 guests. No official API, no browser, no
click-automation: enter a city, get a dataset in minutes.

Looking for a *hotel email extractor*, a *hotel price monitor*, or
*Google Travel hotel data*? This actor is all three in one run — and it works
for **any city worldwide**.

### Why this Google Hotels scraper?

- **Lead generation built in.** Every hotel comes out with the contact data
  it publishes on Google: front-desk phone (normalized to E.164), booking
  email, official website, WhatsApp click-to-chat,
  Instagram/Facebook/YouTube/LinkedIn profiles — plus star rating, Google
  rating, review count, address and coordinates.
- **More hotels than Google's own count.** Google truncates its ranked list;
  this actor combines the browser's own list pagination with an adaptive
  tiled area sweep and **query-partition sweeps** (hostels, guest houses,
  apartments, budget and luxury hotels each carry their own rank budget)
  that keep growing until they cover — and often **exceed** — the number of
  results Google reports for the city. Rural guesthouses, hostels and motels
  outside the ranked list are not lost.
- **A real price matrix.** `includeMatrix` sweeps every check-in date in
  your window × each guest count (1–6) — one row per hotel × date × guests,
  with prices converted to the currency you choose (verified live: the same
  night returned €69.50 / US$76.20 / R$444 for the same hotel).
- **Single-hotel mode.** Already have hotel IDs? Skip discovery and get
  details + per-date prices for exactly those properties.
- **Cheap to run, resumable.** Plain HTTP with per-session throttling on
  Apify datacenter proxies; matrix sweeps cost **one request per
  date×guests combo**; interrupted runs can resume from a saved snapshot.

### What one run gives you

The dataset carries one row per hotel (`type: "hotel"`), joined output —
with `includeMatrix` on, the daily price & availability grid rides INSIDE
each hotel row as `price_matrix` (no separate price rows to join).

A hotel lead (Lisbon, real output, contacts enrichment on):

```json
{
  "type": "hotel",
  "enriched": true,
  "name": "Pestana Palace Lisboa",
  "phone": "+351213615600",
  "email": "reception.cph@pestana.com",
  "website": "https://www.pestana.com/en/hotel/pestana-palace",
  "instagram": "https://instagram.com/pestanahotelsresorts",
  "whatsapp": "+5511567483197",
  "socials": { "facebook": "https://facebook.com/pestanahotelsresorts",
               "youtube": "https://youtube.com/user/PestanaHotelsResorts",
               "linkedin": "https://linkedin.com/company/pestanagroup" },
  "address": "R. Jau 54, 1300-314 Lisboa, Portugal",
  "star_rating": 5.0,
  "google_rating": 4.7,
  "review_count": 4248,
  "min_price": 184.0,
  "currency": "EUR",
  "lat": 38.7035902, "lng": -9.186881699999999,
  "city": "Lisbon", "country": "PT",
  "availability_status": "available",
  "room_rates": [{ "room_name": "Superior Room", "ota": "google_travel",
                   "price": 184.0, "currency": "EUR",
                   "checkin_date": "2026-12-18", "checkout_date": "2026-12-19" }]
}
```

`enriched: false` marks thin rows (contacts off, or an enrichment that
failed) — the hotel is never lost, only thinner. `room_rates` carries the
per-room offers Google listed for the featured stay.

A price-matrix slice rides inside the hotel row (Diamantina, BR —
`includeMatrix` on):

```json
{ "type": "hotel", "enriched": false,
  "name": "Hotel Casa dos Montes",
  "city": "Diamantina", "country": "BR",
  "price_matrix": [
    { "checkin_date": "2026-12-05", "checkout_date": "2026-12-06",
      "guests": 2, "available": true, "min_price": 255.0,
      "currency": "BRL", "ota": "google_travel" },
    { "checkin_date": "2026-12-06", "checkout_date": "2026-12-07",
      "guests": 2, "available": true, "min_price": 249.0,
      "currency": "BRL", "ota": "google_travel" }
  ]
}
```

One caveat: in city sweeps, `available: false` can also mean the hotel fell
outside Google's ranked results for that combination, not strictly "sold
out".

Phones and WhatsApp numbers are normalized to **E.164** (`+<country><number>`,
no spaces) against the hotel's own country — a Paris hotel listed by Google as
"01 42 52 00 56" comes out as `+33142520056`, ready for dialers and CRMs.
Numbers that fail validation keep Google's raw display string, never null.

With `includeContacts: false` you get fast, cheap discovery stubs (`type:
"hotel"`, `enriched: false` — name, coordinates, rating, price) — 20 per city
is a typical multi-city scan.

### How to scrape hotel leads in three steps

1. **Add a city** — `city` + two-letter `country` code.
2. **Pick what you need** — contacts (default on), the price matrix, guest
   counts, a currency, a rating floor, or a per-city hotel cap.
3. **Run and export** — JSON, CSV or Excel from the dataset.

**Lead generation (contacts on, capped):**

```json
{
  "searches": [{ "city": "Lisbon", "country": "PT" }],
  "includeContacts": true,
  "maxResults": 25,
  "currency": "EUR"
}
```

**Price monitoring over a date range** (every date × guests combination):

```json
{
  "searches": [{ "city": "Diamantina", "country": "BR",
                 "checkInDate": "2026-12-05", "checkOutDate": "2026-12-07" }],
  "includeMatrix": true,
  "guests": [2],
  "includeContacts": false,
  "currency": "BRL"
}
```

**A custom matrix window and stay length** (the two extra knobs):

```json
{
  "searches": [{ "city": "Lisbon", "country": "PT" }],
  "includeMatrix": true,
  "matrixStartDate": "2027-01-02",
  "matrixEndDate": "2027-01-10",
  "matrixNights": 3,
  "guests": [2, 4]
}
```

The matrix window precedence: explicit `matrixStartDate`/`matrixEndDate`
(end **inclusive**) → the stay range when `checkOutDate` is set (every
check-in that starts a stay inside it) → `matrixDays` dates from check-in.
`matrixNights` is the length of each priced stay (default 1); it also
anchors the featured per-hotel price. All three exist per-search too.

**One known hotel, every night of a window** (entity ID or just the name):

```json
{
  "hotels": ["Copacabana Palace"],
  "checkInDate": "2026-11-20",
  "checkOutDate": "2026-11-22",
  "includeMatrix": true,
  "country": "BR",
  "currency": "BRL"
}
```

**Compare destinations in one run:**

```json
{
  "searches": [
    { "city": "Lisbon", "country": "PT" },
    { "city": "Porto", "country": "PT" }
  ],
  "includeContacts": false,
  "maxResults": 20,
  "currency": "EUR"
}
```

Leave everything empty and the actor runs a small demo search
(Paris, FR — 50 hotels with contacts).

### Input reference

| Field | Type | Default | Description |
|---|---|---|---|
| `searches` | object\[] | Paris demo | `{ city, country, region, checkInDate, checkOutDate, matrixStartDate, matrixEndDate, matrixNights, maxHotels }`. `country` is required (ISO alpha-2); `region` disambiguates same-named cities (e.g. Springfield → `"Illinois"`). The matrix fields override the top-level ones for that city. |
| `hotels` | string\[] | none | Google Travel entity IDs (`Ch…`) or hotel names. When set, discovery is skipped and only these hotels are scraped. |
| `country` | string | `US` | Point-of-sale country for specific-hotel lookups and the default for city searches. |
| `minRating` | number | off | Only push hotels rated at or above this Google rating (0–5). |
| `scope` | select | `municipality` | `municipality` or `metro` — metro sweeps the wider metropolitan area where the gazetteer has it. |
| `gridSize` | integer | adaptive | Base tile grid side (1–6) for the area sweep. Leave empty for adaptive coverage: the actor grows the grid until results cover Google's own reported count for the city. |
| `fpMaxDepth` | integer | `4` | How deep the batched first-page grid escalation grows (level N = `gridSize × 2^N` tiles per axis). First pages are the cheapest discovery phase (~1 request per 48 tiles, measured ~10× more entries per request than chained tiles). |
| `chainMaxDepth` | integer | `2` | Escalation levels that also run per-tile pagination chains — the expensive completeness phase (~7–10 requests per tile). Keep at or below `fpMaxDepth`. |
| `escalateMinNew` | integer | `30` | Marginal-yield stop: when an escalation phase adds fewer new hotels than this, the walk stops (deeper uniform grids are density-exhausted). |
| `partitionSweep` | boolean | `true` | After the grid escalation, re-sweep the deepest productive grid under partition phrases — Google truncates its ranked list per **query**, not per city, so each phrase ("hostels in X", "guest houses in X"…) surfaces properties the generic ranking never shows. |
| `queryPartitions` | string\[] | hostels, guest houses, apartments, budget hotels, luxury hotels | The partition phrases swept before the city name (see `partitionSweep`). Each becomes `"<phrase> in <city>"`. |
| `includeContacts` | boolean | `true` | Enrich each hotel with phone, email, website, WhatsApp, socials, amenities, OTA references. Off = faster, cheaper runs. |
| `includeMatrix` | boolean | `false` | Sweep the daily price/availability matrix (window: `matrixStartDate`/`matrixEndDate` → the stay range → `matrixDays`). |
| `matrixStartDate` | string | off | First check-in date of the matrix (YYYY-MM-DD). Overrides the stay-range/`matrixDays` window. |
| `matrixEndDate` | string | off | Last matrix check-in date, **inclusive** (YYYY-MM-DD). Requires `matrixStartDate`. |
| `matrixDays` | integer | `14` | Consecutive check-in dates swept when neither an explicit matrix range nor a check-out range is set. |
| `matrixNights` | integer | `1` | Length of each priced stay in nights (1–30). Applies to matrix sweeps and to the featured per-hotel price; change it with `resume` off. |
| `checkInDate` / `checkOutDate` | string | ~30 days out | Fallback dates for `hotels` mode and searches without their own dates. |
| `guests` | integer\[] | `[1, 2]` | Guest counts for the price matrix (1–6). |
| `currency` | string | `USD` | Currency of all prices — sent explicitly on every page request (verified live across BRL, EUR, USD). |
| `locale` | string | `en-US` | Interface locale for served pages. |
| `maxResults` / `maxHotels` | integer | `20` | Cap hotels per search. When capping, the most informative hotels are kept first (priced and named), so a capped run is still lead-ready. An explicit cap also skips the adaptive grid growth — it doubles as a cost control. Empty the field for uncapped city-wide discovery. |
| `skipSiteCrawl` | boolean | `false` | Also crawl each hotel's own website for extra contacts and marketing signals. |
| `resume` | boolean | `false` | Restore crawl state (already-swept matrix combos, recently enriched hotels) from the previous snapshot. For crash recovery; scheduled monitoring should keep this OFF so prices stay fresh. |
| `debug` | boolean | `false` | Verbose logging. |

### Who is it for?

- **Lead-generation agencies and sales teams** building hotel contact lists
  — every hotel in a city with phone, email, website and socials in one dataset.
- **Revenue managers and hoteliers** benchmarking rates against nearby
  properties across dates and guest counts.
- **Market analysts and travel startups** needing structured hotel data
  (ratings, prices, amenities) from Google Travel at city scale.
- **Investors and consultants** scanning hospitality markets across many
  cities and countries.

### Pricing

Pay-per-event — pay for the data you get, not for compute time:

| Event | Price | You are charged for |
|---|---|---|
| `hotel-result` *(primary)* | $0.50 / 1k | every dataset row NOT backed by an entity page: contacts-off discovery rows and rows whose enrichment failed |
| `hotel-detail` | $2.50 / 1k | every enriched hotel row (entity page fetched) — city search and specific-hotel mode alike. Includes the hotel-website crawl for emails/WhatsApp/socials and the price matrix |
| `price-rows` | $0.50 / 1k | every matrix row (one hotel × one date × one guest count) |

Features that need extra requests (the site crawl) are bundled into the
`hotel-detail` price — you are never billed for a site that yielded nothing.

Your **max total charge limit** always applies: once reached, charging stops
and the actor exits gracefully, keeping everything already delivered.

Cost examples: Lisbon with contacts, capped at 25 hotels ≈
25 × $0.0025 ≈ **$0.06**. A 30-day × 1-guest price matrix for 500 hotels ≈
15,000 rows × $0.0005 = **$7.50** (or ride it in `hotel-detail` rows).

### Speed and reliability

- **Plain HTTP, no browser** — minutes per city, not hours.
- **Worldwide coverage** — city resolution uses OpenStreetMap; Google Travel
  point-of-sale follows your `country`, `locale` and `currency`.
- **Throttled per proxy session** — the actor runs on Apify datacenter
  proxies with a session count that auto-scales to the workload (8–32
  sticky IPs; each IP is throttled independently at 0.2 s/request).
  Apify datacenter proxies have no per-account connection cap — the
  session count is bounded by your plan's IP pool, and sessions beyond
  that pool simply share IPs (still safe per above), so scaling sessions
  scales speed, never per-IP load.
- **One request per matrix combo** — the price matrix packs a whole city's
  results into single batched calls (measured: a 12-combo sweep in seconds).
- **Deduplicated by design** — hotels are merged by their canonical Google
  identifier, so the same property discovered twice appears once, with the
  best data kept.
- **Resumable** — killed runs pick up where they stopped; scheduled runs
  stay fresh.

### FAQ

**Can I scrape hotel emails and phone numbers from Google?**
Yes — that is this actor's main use case. With `includeContacts` (default)
each hotel's dataset item carries the phone, email, website, WhatsApp and
social profiles Google Travel shows publicly.

**Does it work outside my country?**
Yes — cities worldwide via OpenStreetMap; Google Travel's point-of-sale
follows your `country` and `currency`. Verified with BR, PT, FR and DE data.

**Can I track hotel prices over time?**
Yes — schedule the actor with `includeMatrix`. Each hotel row carries its
daily grid in `price_matrix` (one entry per check-in date × guest count).
Control the window with `matrixStartDate` / `matrixEndDate` (or
`matrixDays`) and the stay length with `matrixNights` (e.g.
`matrixNights: 7` prices weekly stays). Ready for dashboards or alerts.

**Can I scrape prices for just one hotel?**
Yes — put its Google Travel entity ID (or name) in `hotels`. Discovery is
skipped entirely.

**How complete is the hotel list?**
The actor combines Google's own city-list pagination with an adaptive tiled
sweep that grows until it matches — and usually exceeds — the result count
Google reports for the city. Duplicate listings are merged by their
canonical Google identifier.

**What if two cities have the same name?**
Add a `region` hint (e.g. `"Illinois"`); without one the actor fails with a
candidate list so you can pick the right one.

**Is the data legal to use?**
The actor collects publicly displayed data from Google Travel and hotel
websites, the same way a browser user sees it. Respect Google's terms and
local privacy law (e.g. LGPD/GDPR) when using contact data for outreach.

# Actor input Schema

## `searches` (type: `array`):

One entry per city to discover and enrich. Each item: city (required), country (required, ISO alpha-2), region (optional disambiguation, e.g. 'TX' or 'Bavaria'), checkInDate/checkOutDate (optional, YYYY-MM-DD — falls back to the top-level dates), maxHotels (optional cap for this city).

## `hotels` (type: `array`):

Google Travel entity tokens (Ch...) or hotel names. When set, ONLY these hotels are price-scraped/enriched and city discovery is skipped (single-hotel price-matrix parity).

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

Two-letter ISO code of the Google Travel point-of-sale used for Specific Hotels lookups and as the default for city searches (prices/currency presentation). City searches may carry their own country.

## `minRating` (type: `number`):

Only push hotels whose Google rating is at least this value (0 disables the filter). Filters the dataset, not the crawl.

## `scope` (type: `string`):

municipality (default) or metro — metro sweeps the wider metropolitan area where the gazetteer has it (Brazil always; elsewhere best-effort).

## `gridSize` (type: `integer`):

Base tile grid side N (N x N area tiles swept per city, 1-6). Bigger grids surface more of Google's rank-truncated results on large cities. Leave empty for adaptive coverage: the actor grows the grid automatically until results cover Google's own reported count for the city.

## `fpMaxDepth` (type: `integer`):

How deep the batched first-page grid escalation grows (level N = gridSize x 2^N tiles per axis). First pages are the cheapest discovery phase (~1 POST per 48 tiles) and measured ~10x more entries per request than chained tiles, so this bound sits above the chain depth. Default 4 (gridSize 3 -> up to 48x48 tiles).

## `chainMaxDepth` (type: `integer`):

Escalation levels (gridSize x 2^N) that also run per-tile pagination chains — the expensive completeness phase (~7-10 requests per tile). Keep at or below fpMaxDepth. Default 2 (gridSize 3 -> chains up to the 12x12 grid).

## `escalateMinNew` (type: `integer`):

Marginal-yield stop: when an escalation phase adds fewer NEW hotels than this, the walk stops (deeper uniform grids are density-exhausted). Default 30.

## `partitionSweep` (type: `boolean`):

After the grid escalation, re-sweep the deepest productive grid under partition phrases ("hostels in X", "guest houses in X", "apartments in X", ...). Google truncates its ranked list per QUERY, not per city, so each partition surfaces properties the generic ranking never shows. Adds one batched request per ~48 tiles per phrase.

## `queryPartitions` (type: `array`):

Partition phrases swept before the city name (see Query-Partition Sweep). Each phrase becomes "<phrase> in <city>".

## `includeContacts` (type: `boolean`):

Fetch each hotel's Google Travel entity page: phone, email, website, WhatsApp, socials, amenities and OTA references. Charged per hotel-detail event.

## `includeMatrix` (type: `boolean`):

Sweep a daily price/availability matrix. For city searches: every check-in date in the matrix window (explicit matrixStartDate..matrixEndDate range if given, else the stay range, else matrixDays from check-in) x each guests combination. For specific hotels: prices for every check-in date in the window. Charged per price-rows event.

## `matrixStartDate` (type: `string`):

First check-in date of the price matrix (YYYY-MM-DD). Overrides the stay-date window and matrixDays; a per-search matrixStartDate in the search entry wins over this top-level value. Leave empty to keep the default window behavior.

## `matrixEndDate` (type: `string`):

Last check-in date of the price matrix (YYYY-MM-DD, INCLUSIVE). Requires matrixStartDate. Without it, matrixDays dates are swept from matrixStartDate.

## `matrixDays` (type: `integer`):

Number of consecutive check-in dates swept when no explicit matrix range (matrixStartDate/matrixEndDate) and no explicit check-out range is given. Ignored when matrixStartDate or an explicit checkOutDate defines the window.

## `matrixNights` (type: `integer`):

Length of each priced stay in nights (1-30, default 1). Applies to matrix combos AND to featured prices when the stay dates don't define the length.

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

Top-level fallback check-in date (YYYY-MM-DD) for Specific Hotels mode and for city searches without their own dates. Empty = rolling +30 days from today.

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

Top-level fallback check-out date (YYYY-MM-DD). Empty = rolling +31 days from today.

## `guests` (type: `array`):

Adult counts swept in the price matrix (1-6 per combination).

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

ISO currency code used for all prices (Google Travel point-of-sale parameter).

## `locale` (type: `string`):

UI locale for Google Travel (e.g. en-US, pt-BR).

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

Cap the hotels pushed per city search (default 20). When capping, the most informative hotels are kept first (priced and named), so a capped run is still lead-ready. An explicit cap also skips the adaptive grid growth — it doubles as a cost control. Empty the field for no cap (uncapped city-wide discovery).

## `skipSiteCrawl` (type: `boolean`):

Disable crawling hotel websites for extra contacts/marketing signals (faster, cheaper runs).

## `resume` (type: `boolean`):

Restore the crawl state (matrix combos already swept, recently enriched hotels) from the previous run's snapshot in the actor's Key-Value store. Use for crash recovery; scheduled price monitoring should keep this OFF so prices are fresh every run.

## `debug` (type: `boolean`):

Enable verbose DEBUG logging for the run.

## Actor input object example

```json
{
  "searches": [
    {
      "city": "Paris",
      "country": "FR",
      "checkInDate": "2026-12-18",
      "checkOutDate": "2026-12-19"
    }
  ],
  "country": "US",
  "scope": "municipality",
  "fpMaxDepth": 4,
  "chainMaxDepth": 2,
  "escalateMinNew": 30,
  "partitionSweep": true,
  "queryPartitions": [
    "hostels",
    "guest houses",
    "apartments",
    "budget hotels",
    "luxury hotels"
  ],
  "includeContacts": true,
  "includeMatrix": false,
  "matrixDays": 14,
  "matrixNights": 1,
  "guests": [
    1,
    2
  ],
  "currency": "USD",
  "locale": "en-US",
  "maxResults": 20,
  "skipSiteCrawl": false,
  "resume": false,
  "debug": false
}
```

# Actor output Schema

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

One row per hotel. With includeMatrix on, every row carries its price_matrix slice (check-in dates × guests). Use the view selector to switch tables.

## `database` (type: `string`):

hotel_leads.sqlite3 key-value record: the full relational store (hotels, room_rates, availability_matrix, crawl_runs) for local joins and dashboards.

# 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 = {
    "searches": [
        {
            "city": "Paris",
            "country": "FR",
            "checkInDate": "2026-12-18",
            "checkOutDate": "2026-12-19"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("songd/hotel-leads-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 = { "searches": [{
            "city": "Paris",
            "country": "FR",
            "checkInDate": "2026-12-18",
            "checkOutDate": "2026-12-19",
        }] }

# Run the Actor and wait for it to finish
run = client.actor("songd/hotel-leads-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 '{
  "searches": [
    {
      "city": "Paris",
      "country": "FR",
      "checkInDate": "2026-12-18",
      "checkOutDate": "2026-12-19"
    }
  ]
}' |
apify call songd/hotel-leads-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,songd/hotel-leads-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/XqlOic3w7PbS9A1ft/builds/2ErNOkH7OCBmMou0d/openapi.json
