# Booking.com Hotels Search Scraper (`deepmine/booking-hotels-rust`) Actor

Search Booking.com hotels by place and dates: price for the stay with taxes, stars, review score, free cancellation, meal plan, district, coordinates, plus description, fine print, policies and room types. No login, fast.

- **URL**: https://apify.com/deepmine/booking-hotels-rust.md
- **Developed by:** [DeepMine](https://apify.com/deepmine) (community)
- **Categories:** Travel, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 61.5% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.99 / 1,000 hotels

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

### What does Booking.com Hotels Search Scraper do?

**Booking.com Hotels Search Scraper** gets the hotels Booking.com lists for any city, region, district or hotel name
and your dates: price for the stay, taxes and fees, price before discount, stars, review score and count, meal plan,
free cancellation and until when, no-prepayment, district, distance from the centre, coordinates, photo and link. With
**Hotel details** on (the default, no extra charge) each hotel also gets its description, fine print, check-in and
check-out times, every facility by name, the most popular facilities, every room with its name, description, size and
facilities, every room offer with its price for your dates (meal plan, cancellation, taxes left out), the hotel's
surroundings (top attractions, restaurants, cafes, metro, train, airports, beaches with distances), full address with
postal code, staff languages, pets, child and extra-bed policy and sustainability, the house rules, Booking's AI review
summary, the minimum stay for your dates, the hotel chain, the host's profile (homes) and the EU trader details Booking
publishes (company, email, phone, register number). The region, the breadcrumb trail and photo upload dates come with
**Include page-only details**. No login, no browser.

### Why scrape Booking.com hotels?

- **Price monitoring and revenue management**: track prices with taxes for a city and dates, every day.
- **Market research**: list every hotel of an area by stars, score, property type and price band.
- **Travel apps and lead lists**: hotel names, addresses, coordinates, ratings and descriptions in one table.

### How to scrape Booking.com hotels

1. Type a destination (one per line for several), like `Prague` or `Lisbon`, or paste Booking search URLs from your
   browser: their destination, dates, guests, filters, order and flexible dates are used as they are.
2. Set check-in and check-out dates (default: 7 days from today, one night), adults, children and rooms, and
   **Flexible dates** (± 1, 2, 3 or 7 days) if your dates can move.
3. Optional: stars, minimum review score, property type, price range per night, order and currency.
4. Click **Start** and download the hotels as JSON, CSV, Excel or HTML, or read them through the Apify API.

### Input example

```json
{"search": "Prague", "checkIn": "2026-12-08", "checkOut": "2026-12-10", "adults": 2, "maxItems": 100,
 "sortBy": "price", "starsCountFilter": ["4", "5"], "minScore": "8", "currency": "EUR"}
```

Or a search pasted from the browser (its own dates and filters; `userData` comes back in each row's `customData`):

```json
{"startUrls": [{"url": "https://www.booking.com/searchresults.html?ss=Lisbon&checkin=2026-12-08&checkout=2026-12-10&group_adults=2&no_rooms=1&nflt=class%3D4", "userData": {"tag": "lisbon-4-star"}}]}
```

### What data do you get?

Real rows from a run on 2026-11-10 (Lisbon, EUR, details on):

| Hotel | Stars | Score | Reviews | Price | Taxes | Free cancel | District | Postal code | Room types |
|---|---|---|---|---|---|---|---|---|---|
| Casa Portuguesa Fanqueiros | 4 | 8.2 | 201 | €274.06 | €26.56 | no | Santa Maria Maior | 1100-107 | 3 |
| MASA Hotel & Spa Campo Grande Collection | 4 | 8.5 | 11,659 | €150.94 | €25.06 | yes | Alvalade | 1700-093 | 8 |
| Hotel Ibis Lisboa Parque das Nações | 3 | 8.5 | 5,851 | €130.90 | €23.85 | yes | Parque das Nacoes | 1990-203 | 4 |
| Hotel Portuense Lisboa | 2 | 8.6 | 1,947 | €179.25 | €26.75 | yes | Santo Antonio | 1150-267 | 4 |
| Maxime Boutique Hotel Avenida da Liberdade | 3 | 8.8 | 3,608 | €320.75 | €35.25 | yes | Santo Antonio | 1250-004 | 7 |

One full row (Prague, 2026-11-11 run on build 0.1.16; long lists cut to their first item):

```json
{"order": 1, "url": "https://www.booking.com/hotel/cz/mizu-house-by-prague-days.html?checkin=2026-11-18&checkout=2026-11-19&group_a…", "name": "MIZU House by Prague Days", "type": "apartment", "stars": 4, "price": 126.08, "currency": "USD", "rating": 9, "ratingLabel": "Superb", "reviews": 417, "breakfast": "Breakfast included", "location": {"lat": 50.0782852, "lng": 14.406636}, "address": {"full": "9 Vodní, Hlavní město Praha", "street": "9 Vodní", "postalCode": "150 00", "city": "Hlavní město Praha", "district": "Prague 5", "region": null, "country": "Czech Republic", "countryCode": "cz"}, "image": "https://cf.bstatic.com/xdata/images/hotel/max1024x768/862933214.webp?k=8a978a2323cf1e60e62463284f06c5c80e12ddb…", "hotelId": 9688580, "pageName": "cz/mizu-house-by-prague-days", "propertyTypeId": 201, "starsType": "tiles", "priceFormatted": "US$126.08", "taxesAndFees": 72.65, "priceWithTaxes": 198.73, "priceBeforeDiscount": 210.14, "originalPrice": 2751.6, "originalCurrency": "CZK", "mealPlan": "Breakfast included", "freeCancellation": false, "freeCancellationUntil": null, "noPrepayment": false, "room": {"roomId": 968858005, "name": "King Studio with Sofa Bed", "persons": 2, "beds": null, "bedrooms": null, "bathrooms": null, "size": null, "mealPlanId": 1}, "district": "Prague 5, Prague", "distanceFromCenter": "1.4 km from centre", "isClosed": false, "checkIn": "2026-11-18", "checkOut": "2026-11-19", "adults": 2, "roomsBooked": 1, "search": "Prague", "checkInDate": "2026-11-18", "checkOutDate": "2026-11-19", "persons": 2, "roomType": "King Studio with Sofa Bed", "startUrlOrQuery": "Prague", "timeOfScrapeISO": "2026-11-11T08:02:19.934Z", "flexWindow": null, "customData": null, "minimumNights": 1, "minimumNightsByDate": [{"checkIn": "2026-11-18", "available": true, "minimumNights": 1}], "surroundings": [{"category": "Top attractions", "name": "Prague Botanical Garden", "type": "Gardens", "cuisine": null, "distanceKm": 1.3, "distance": "0.8 mi", "latitude": 50.0712261, "longitude": 14.4211195}, "…"], "checkInTime": "16:00 - 23:00", "checkOutTime": "00:00 - 10:00", "minCheckInAge": null, "petsAllowed": false, "facilities": ["Iron", "…"], "popularFacilities": ["Non-smoking rooms", "…"], "highlights": ["Superb free WiFi", "…"], "rooms": [{"roomId": 968858001, "name": "King Studio with Sofa Bed", "description": "Providing free toiletries, this studio includes a private bathroom with a shower and a hairdryer. In the well-…", "sizeM2": 39.9, "roomTypeId": 12, "facilities": ["Iron", "…"]}, "…"], "roomsAvailable": 1, "roomOffers": [{"roomId": 968858005, "roomName": "King Studio with Sofa Bed", "blockId": "968858005_375952343_2_1_0", "maxPersons": 2, "price": 171.63, "currency": "USD", "mealPlan": "breakfast", "cancellation": "special_condition", "isGeniusRate": false, "roomsLeft": 1, "excludedCharges": ["12 % VAT: USD 20.59 for the stay", "…"]}, "…"], "images": ["https://cf.bstatic.com/xdata/images/hotel/max1024x768/862933214.jpg?k=26c6fa858c6da5763e53a28a7599d77d3fe95cbb…", "…"], "categoryReviews": [{"title": "Location", "score": 9.5, "name": "hotel_location", "reviews": 406}, "…"], "reviewSummary": {"summary": null, "pros": [{"description": "Location: Short walk to the city center and close to public transport stops.", "numberOfMentions": 62, "sentiment": "POSITIVE"}, "…"], "cons": [{"description": "Breakfast: Served at a nearby cafe, but the menu offers very limited choices.", "numberOfMentions": 18, "sentiment": "MIXED"}, "…"], "language": "en", "numReviews": 64}, "roomImages": [{"id": "862933214", "thumbUrl": "https://cf.bstatic.com/xdata/images/hotel/max200/862933214.jpg?k=26c6fa858c6da5763e53a28a7599d77d3fe95cbb5d4a9…", "largeUrl": "https://cf.bstatic.com/xdata/images/hotel/max1024x768/862933214.jpg?k=26c6fa858c6da5763e53a28a7599d77d3fe95cbb…", "associatedRoomIds": ["968858001"], "orientation": "landscape", "created": null, "grid": {"photoWidth": 6033, "photoHeight": 4014}}, "…"], "breadcrumbs": null, "traderInfo": {"isBusiness": true, "email": "reception@praguedays.com", "phone": "+420 770 162 019", "companyName": "Curso s.r.o.", "firstName": null, "middleName": null, "lastName": null, "registrationNumber": "04933133", "tradeRegisterName": "Curso", "address": {"street": "Revoluční 764/17", "street2": null, "city": "PRAGUE", "state": null, "postalCode": "11000", "countryCode": "cz"}, "isTrader": true}, "licenseInfo": null, "hostInfo": {"name": "Prague Days", "imageUrl": "https://cf.bstatic.com/xdata/images/xphoto/max500_ao/202693641.jpg?k=f1d5a282a96edf9ff404a2ed6e89e5628d954c157…", "reviewsCount": 2637, "reviewsScore": 9.1, "welcomeMessage": null, "ownerInfo": "At Prague Days, we believe in recognizing familiar faces, welcoming new ones and treating every single guest a…", "neighboorhoodInfo": null, "familyTips": null, "language": "en", "spokenLanguages": ["cs", "…"], "yearsOnWebsite": 9, "managedProperties": 136}, "hotelChain": "Prague Days", "policies": [{"title": "Check-in", "content": "From 16:00 to 23:00"}, "…"], "roomOfferings": {"roomDetail": {"areaMeasurementUnit": "SQUARE_FEET", "hasRoomsWithDifferentPrivacyLevels": false, "highlightsForAllRooms": [{"roomId": 968858001, "roomHighlights": [{"privacyLevel": "PRIVACY_LEVEL_2"}, "…"]}, "…"], "categorizedFacilitiesForAllRooms": [{"roomId": 968858001, "categorizedFacilities": [{"category": "KITCHENETTE", "facilities": [{"id": 116, "name": "Cleaning products"}, "…"]}, "…"]}, "…"], "property": {"id": 9688580, "name": "MIZU House by Prague Days", "hasDesignatedSmokingArea": false, "roomsDetails": [{"id": 968858001, "room": {"roomKey": "968858001", "bookingRoomId": 968858001}, "roomFloor": [], "translations": {"name": "King Studio with Sofa Bed", "description": "Providing free toiletries, this studio includes a private bathroom with a shower and a hairdryer. In the well-…"}, "roomTypeId": 12, "roomSizeM2": 39.9, "roomPhotos": [{"id": 862933200, "photoUri": "/xdata/images/hotel/max1024x768/862933200.jpg?k=30205f8304660c0fcd1e96eed6f6b8cc692338a92a3803549783bf2635e4b5…", "thumbnailUri": "/xdata/images/hotel/square60/862933200.jpg?k=30205f8304660c0fcd1e96eed6f6b8cc692338a92a3803549783bf2635e4b56b&…"}, "…"], "bedConfigurations": [{"configurationId": 1, "beds": [{"bedType": "LARGE_DOUBLE_BED", "count": 1}]}], "apartmentRooms": [{"id": 73841553, "roomType": "Bedroom", "beds": [{"bedType": "LARGE_DOUBLE_BED", "count": 1}], "maxPersons": 1, "ensuiteBathroom": 0}, "…"], "isSmoking": false, "bathroomCount": 1, "isBiggerThanAverageRoomInUfi": false, "occupancy": {"maxChildren": 0, "maxGuests": 4, "maxPersons": 4}, "cribsAvailableForFree": false, "childAndBedOptions": {"allowCribAndExtraBed": false, "numCribs": 1, "numExtraBeds": 0}}, "…"], "accommodationType": {"id": 201, "type": "APARTMENT"}}}, "reviewScores": [{"name": "hotel_staff", "value": 9.2, "count": 378, "customerType": "ALL", "translation": null}, "…"]}, "description": "Offering garden views, MIZU House by Prague Days is an accommodation situated in Prague, 2.7 km from St. Vitus…", "finePrint": null, "languagesSpoken": ["cs", "…"], "childPolicy": {"childrenAllowed": true, "minChildAge": 0, "cribs": true, "extraBeds": false, "rules": [{"ageFrom": 0, "ageTo": 2, "bed": "crib", "price": 1200, "priceFormatted": "1,200 Kč", "priceType": "fixed", "per": "per night"}]}, "sustainable": false, "sustainabilityCertifications": null, "workFriendly": true, "newlyOpened": false, "roomTypes": [{"roomId": 968858001, "roomTypeId": 12, "maxPersons": 4, "bathrooms": 1, "cribs": 1, "cribAndExtraBed": false}, "…"], "roomTypesCount": 15, "soldOut": false, "cityId": -553173, "detailsStatus": "complete"}
```

The **Output** tab (OUTPUT record) gives each search's total number of hotels on Booking.com.

### How many hotels can you get?

One Booking search pages through about 1,100 hotels. When a destination has more and you ask for more, the Actor
splits the search into price bands by itself and merges them, one row per hotel: London (6,002 hotels for two nights)
gave 1,150 unique hotels in 21 seconds with details off (live run on Apify, 256 MB). Hotels Booking shows without a price for your dates fall
outside every price band, so a split list holds the priced hotels. The **Output** tab says how many bands were used.

### How much does it cost to scrape Booking.com hotels?

You pay per hotel saved, nothing per run, and hotel details are included. At the Starter price of $1.95 per 1,000
hotels, the prefilled input (100 hotels in Prague) costs about **$0.20**. Free-plan users can try it on their monthly
free credit.

### Notes

- Prices are for the whole stay in the currency you choose; `taxesAndFees` is what Booking adds on top.
- Hotel details come from Booking's own data calls: hotel data, room offers and area info (no browser, no login, no
  page download). `roomOffers` lists every room and rate Booking offers for your dates; `roomsAvailable` counts the
  rooms. `categoryReviews` is Booking's score per category (Staff, Facilities, Cleanliness, Comfort, Value for money,
  Location, Free WiFi) and `images` the hotel's photo gallery (1024x768).
- Each room offer's `excludedCharges` lists the taxes and fees left out of its price, each with its amount for the
  whole stay in your currency, for example `"City tax: EUR 8.00 for the stay"` or `"14 % VAT: EUR 72.52 for the
  stay"` (a charge Booking gives no amount for is just its name). `blockId` is the id Booking's room list uses for the
  offer (room, rate, occupancy, meal plan).
- When Booking's room list has no offer for a hotel the search priced (it happens for some families with children,
  where Booking's hotel page still sells rooms), the Actor reads that hotel's page instead, so the row keeps its
  offers. If even the page has none, `detailsStatus` says so instead of `complete`.
- Three facts exist only on the hotel's web page: `breadcrumbs`, `address.region` and each photo's upload date
  (`roomImages[].created`). They are empty unless you turn on **Include page-only details**
  (`includePageOnlyDetails`), which downloads each hotel's page too: about ten times the data per hotel and a few
  seconds slower. `address.region` is the region Booking files the hotel under: filled for most resort and regional
  destinations (Hurghada hotels: "Red Sea Governorate"), while big cities (Prague, Lisbon, London) have none. Turn the
  option on when you need it.
- Every row has `detailsStatus`: `complete`, or which fields it lacks and why (for example a hotel page that took
  over 15 s on each of its IPs: `no hotel-page fields (...): the hotel page took over 15 s on 2 IPs`). Such a row is
  still saved with everything else, and the run's status line and **Output** tab count the rows that are not complete.
- `checkIn` and `checkOut` are your stay's **dates** (also in `checkInDate`/`checkOutDate`); the hotel's check-in and
  check-out **times** are `checkInTime`/`checkOutTime` (and the "Check-in"/"Check-out" entries of `policies`). Moving
  from a scraper whose `checkIn` is a time window? Read `checkInTime`.
- `traderInfo` is the trader block Booking publishes under the EU Digital Services Act (company, email, phone,
  registration number, address); it is null for a private host. `hostInfo` is the host's profile Booking shows for
  homes and apartments (null for hotels, which have none); `licenseInfo` the licence numbers the host gives (null when
  none). `minimumNights` is the minimum stay for your check-in date and `minimumNightsByDate` the same per night of
  your stay, from Booking's availability calendar. `roomImages` is every gallery photo with the room ids it shows
  (`created` is the upload time where the hotel page prints it, with Include page-only details on; null otherwise).
- `reviewSummary`, `traderInfo` and `roomOfferings` use the same inner key names as other Booking scrapers
  (`description`/`numberOfMentions`, `street`/`street2`, `roomDetail.property.roomsDetails`, `reviewScores` with
  `name`/`value`/`count`), so an existing column mapping keeps working.
- With **Flexible dates** the price is Booking's for the best dates in the window; `checkIn`/`checkOut` in the row
  are the dates you searched around and `flexWindow` the window.
- Turn **Hotel details** off for the fastest price scan, or keep them on and turn **Room offers and house rules**
  off to skip the room offers, rooms, facilities and photos: description, policies, postal code and surroundings
  stay.
- If Booking.com ever puts its bot check in front of the data this Actor reads, the run fails with one clear line
  instead of finishing empty, and nothing is charged for hotels it could not read.
- Looking for guest reviews of a hotel? Use **Booking.com Reviews Scraper**.

### Feedback

Missing a field or found a bug? Open an issue on the Issues tab and we'll fix it fast. If the Actor saves you time,
a review on the Store helps other users find it.

# Actor input Schema

## `search` (type: `string`):

A city, region, district or hotel name, as you would type it on Booking.com. One per line for several. Or use Booking search URLs below.

## `startUrls` (type: `array`):

Or paste searches from your browser (https://www.booking.com/searchresults.html?ss=...). The URL's destination, dates, guests, rooms, children's ages, filters (nflt), sort order and flexible dates are used for that search; this form's filters are added to the URL's. A hotel page URL (https://www.booking.com/hotel/...) gives that one hotel, for the URL's dates and guests or this form's.

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

Default: 7 days from today. A date in the past (a saved task whose dates went by) moves to the default.

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

Default: the day after check-in.

## `flexWindow` (type: `string`):

Booking's flexible dates: also list hotels available up to this many days before or after your dates (the search box's 'flexible dates'). Each row's flexWindow says which window was searched.

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

Guests aged 18 and over.

## `children` (type: `integer`):

Counted as 8 years old; give exact ages in Children's ages.

## `childrenAges` (type: `array`):

Like \[4, 9]. Overrides Children.

## `rooms` (type: `integer`):

Rooms to book.

## `maxItems` (type: `integer`):

Hotels to save per destination or search URL. One Booking search pages through about 1,100 hotels; above that the Actor splits the search into price bands and merges them (one row per hotel), so a big city returns its full priced list.

## `includeDetails` (type: `boolean`):

A few small data calls per hotel to Booking's own hotel data (no page download). Adds the description, fine print, check-in and check-out times, minimum check-in age, pets, every facility by name, the most popular facilities, highlights, staff languages, child and extra-bed policy, sustainability, postal code and district, every room with its name, description, size, facilities and maximum guests, every room offer with its price for your dates (meal plan, cancellation, taxes left out with their amounts), and the hotel's surroundings (attractions, restaurants, transport, airports with distances). Included in the hotel price (no add-on). Turn off for the fastest price scan.

## `includeHotelPage` (type: `boolean`):

With Hotel details on: also get each hotel's room offers with prices for your dates, check-in and check-out times, named facilities and rooms, category scores, the photo gallery, the trader, licence and host details and the AI review summary. Read from Booking's own data calls (two small calls per hotel, no page download); turn it off to keep the description, policies, postal code and surroundings and finish faster. A row that could not read them still saves and names what it lacks in detailsStatus.

## `includePageOnlyDetails` (type: `boolean`):

With Hotel details on: also download each hotel's web page for the three facts only the page carries: the breadcrumb trail (country, region, city, district), the region in address.region and the upload date of each photo (roomImages created). Off by default, these three stay empty. Turning it on makes each hotel about ten times heavier to fetch and a few seconds slower.

## `sortBy` (type: `string`):

Order of the hotels, as on Booking.com.

## `starsCountFilter` (type: `array`):

Only hotels with these star ratings.

## `minScore` (type: `string`):

Only hotels with at least this guest review score.

## `propertyType` (type: `string`):

Only this kind of property.

## `minMaxPrice` (type: `string`):

min-max in the chosen currency, like 50-200.

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

Three-letter code: USD, EUR, GBP...

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

Booking language code for labels: en-gb, en-us, de, fr, es...

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

Apify datacenter proxy is enough.

## Actor input object example

```json
{
  "search": "Prague",
  "flexWindow": "0",
  "adults": 2,
  "children": 0,
  "rooms": 1,
  "maxItems": 100,
  "includeDetails": true,
  "includeHotelPage": true,
  "includePageOnlyDetails": false,
  "sortBy": "popularity",
  "propertyType": "any",
  "currency": "USD",
  "language": "en-gb",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

No description

## `summary` (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 = {
    "search": "Prague",
    "maxItems": 100,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("deepmine/booking-hotels-rust").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 = {
    "search": "Prague",
    "maxItems": 100,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("deepmine/booking-hotels-rust").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 '{
  "search": "Prague",
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call deepmine/booking-hotels-rust --silent --output-dataset

```

## MCP server setup

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

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/kQWyfigWDtC1igfYK/builds/3El1prWmGdhC9Fejv/openapi.json
