# Booking Hotel Prices Scraper: Rates by Date (`mrbridge/booking-hotel-prices-scraper`) Actor

Booking.com scraper for hotel prices over a grid of dates. Give destinations, check-in dates and stay lengths, get one row per property and stay with total price, charges outside the total, price per night, free cancellation, meal plan and search rank. For hotel rate shopping across cities.

- **URL**: https://apify.com/mrbridge/booking-hotel-prices-scraper.md
- **Developed by:** [MrBridge](https://apify.com/mrbridge) (community)
- **Categories:** Travel, E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/store.md#pay-per-usage

## 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

## Booking.com Hotel Prices Scraper

Booking.com Hotel Prices Scraper collects hotel prices and availability from [Booking.com](https://www.booking.com/) over a grid of stays. Give it one or more destinations, a list of check-in dates and one or more lengths of stay, and it returns one row per property and per stay, ready for JSON, CSV or Excel. No account and no API key are needed.

For example, set this Booking.com scraper to `Lisbon` and `New York, United States`, with check-in in 30, 45 and 60 days, 2 nights and 2 sort orders. It plans 12 searches and returns 41 columns covering dates, occupancy, property details, review scores, prices and stay conditions.

### What is Booking.com Hotel Prices Scraper?

This Booking scraper reads public Booking.com search results pages without signing in. Each search reads the first results page only, about 20 properties (15 to 25), with no pagination.

You can scrape Booking.com across up to 10 destinations, every requested check-in date and length of stay, and up to 4 sort orders. Duplicate properties are removed, leaving one row per property and stay.

#### What data can I extract with it?

As a hotel data scraper, it returns dates, occupancy, currency, rank, property identity, stars, district, coordinates, review score and count, prices, room, cancellation, prepayment, meal plan, rooms left, sold-out status, unavailable share, host type and scrape time.

It does not return review text, review authors, host names, street addresses, or property-page content such as room lists, photos and descriptions.

#### How can I use the results?

- Track prices for a market by comparing the same stays across successive runs.
- Study seasonality by comparing `marketUnavailablePercent`, the unavailable share of each search, across check-in dates. The value is the same on every row of a search.
- Compare several cities on the same dates, with every destination searched at every requested date and length of stay.
- Find the properties with the lowest `priceTotal` or highest `reviewScore` for a stay.
- For hotel rate shopping, compare one hotel's `priceTotal` with other properties returned for its market and dates. As a rate shopping tool, the Actor provides one row per property and stay for that comparison.

### How to use it

1. Open this Apify Booking scraper in Apify Console. The Actor is a serverless cloud program that runs on the Apify platform.

2. Fill in the destinations, check-in dates and lengths of stay. Write each check-in as `YYYY-MM-DD` or `+N` for N days after the run day in UTC. Use precise destination names with a country or state.

   You can add 1 to 20 `startUrls` for Booking.com search pages when a stay needs its own dates, filters and occupancy. The form's dates and lengths do not apply to these URLs. They are added to the destination grid in the same run, not used instead of it.

3. Set `maxItems` and start the run.

This example plans 12 searches:

```json
{
  "destinations": [
    "Lisbon",
    "New York, United States"
  ],
  "checkInDates": [
    "+30",
    "+45",
    "+60"
  ],
  "nights": [
    2
  ],
  "adults": 2,
  "currency": "EUR",
  "sortOrders": [
    "popularity",
    "price"
  ],
  "maxItems": 200
}
```

### Input

| Field | Type | Default | What it does |
|---|---|---|---|
| `destinations` | list of text | none | 1 to 10 city, region or landmark names, as typed in the Booking.com search box. Give the country or the state. Each one is searched at every check-in date and length of stay. |
| `startUrls` | list of URLs | none | 1 to 20 search results pages of `https://www.booking.com/searchresults.html`, each with `checkin` and `checkout`. Each URL is one stay, with its own dates, filters and occupancy. The dates and lengths of the form do not apply to them. Their check-in obeys the same bound as `checkInDates`. |
| `checkInDates` | list of text | none | Required with `destinations`, 1 to 30 dates. Each is `YYYY-MM-DD` or `+N` for N days after the day of the run (UTC), for example `+30`. From `+0` to `+500` days. A past date or a later one stops the run with an input error. |
| `nights` | list of integers | `[1]` | 1 to 3 lengths of stay, each from 1 to 30 nights. Every check-in date is searched with every length. |
| `adults` | integer | 2 | Adults of the stay, 1 to 30. |
| `childrenAges` | list of integers | empty | The age of each child on the check-in day, 0 to 17, at most 10 children. |
| `rooms` | integer | 1 | Rooms of the stay, 1 to 30, at most one per adult. |
| `currency` | text | `EUR` | `EUR` or `USD`. If Booking.com renders another one, the rows keep the currency it rendered and the run log says so. |
| `sortOrders` | list of text | `["popularity"]` | 1 to 4 of `popularity`, `price`, `review_score`, `distance`. One search per order. See [Sort orders](#sort-orders). |
| `includeSoldOut` | boolean | `false` | Also return the properties shown as sold out for the stay, usually without a price. |
| `maxItems` | integer | 1000 | Hard cap on the rows returned and billed, 1 to 50000. A run makes at most 60 searches, so it returns about 1,200 rows at most whatever this cap. |

The number of searches is (destinations x check-in dates x lengths of stay + start URLs) x sort orders. A start URL is searched once per sort order, so it counts against the cap once per order. The sample gives (2 x 3 x 1 + 0) x 2 = 12 searches.

A run makes at most 60 searches. A plan above 60 searches is refused with an input error before any request. No search is made, and the run does not stop part way. This gives about 1,200 rows at most. For a grid of more than 60 searches, split it into several runs of 60 searches or fewer each. The Actor never splits it. Check-in can be up to `+500` days after the run day, and splitting a grid does not lift this bound.

### Output

A column is null when Booking.com does not show its value.

| Column | What it holds |
|---|---|
| `offerId` | Row ID: property ID, check-in date and nights, joined by `\|`. |
| `destination` | The destination searched: your text, or the `ss` parameter of a search URL. |
| `destinationResolved` | What Booking.com resolved: `name`, `destId` and `destType`. The name carries no country, use `countryCode`. |
| `checkIn` | Check-in date, `YYYY-MM-DD`. |
| `checkOut` | Check-out date. |
| `nights` | Length of stay. |
| `adults` | Adults of the search. |
| `children` | Children of the search. |
| `rooms` | Rooms of the search. |
| `currency` | Currency of the prices as rendered by Booking.com. |
| `rank` | Position of the property on the page of its sort order, 1 first. |
| `sortOrder` | The sort order whose page returned the property first. |
| `propertyId` | Booking.com property ID. |
| `name` | Property name, as published. |
| `url` | Property page with the dates, the occupancy and the currency, without tracking parameters. |
| `propertyTypeId` | Accommodation type ID, raw value (204 is a hotel). |
| `stars` | Star or tile rating. |
| `starsType` | `stars` (official rating) or `tiles` (rating given by Booking.com). |
| `district` | District shown on the card. |
| `city` | City of the property. |
| `countryCode` | Two-letter country code. |
| `latitude` | Latitude. |
| `longitude` | Longitude. |
| `reviewScore` | Average review score out of 10. |
| `reviewCount` | Number of reviews. |
| `priceTotal` | Total price of the stay as Booking.com shows it. |
| `priceOriginal` | Price before discount, null when there is none. |
| `discountPct` | Discount in percent. |
| `taxesAndCharges` | Taxes and charges Booking.com does not include in `priceTotal`. |
| `taxesIncluded` | Taxes and charges already included in `priceTotal`. |
| `pricePerNight` | Average price per night as Booking.com shows it. |
| `roomName` | Room of the offer. |
| `freeCancellation` | Free cancellation, when shown. |
| `freeCancellationUntil` | Free cancellation deadline, ISO date and time, when shown. |
| `noPrepayment` | No prepayment, when shown. |
| `mealPlan` | Meals included, as shown. |
| `roomsLeft` | Rooms left at this price, when shown. |
| `isSoldOut` | Sold-out flag. |
| `marketUnavailablePercent` | Share of the properties of the destination unavailable at these dates, in percent. It is the same on every row of a search. |
| `hostType` | `professional` or `private`, as declared to Booking.com. Another label is kept in lower case. |
| `scrapedAt` | ISO time the row was built. |

The following row was the first row of an offline test run on a Lisbon search. It used stored pages and a test clock of 2026-11-17, so `+30` produced 2026-12-17. It was not a live run.

```json
{
  "offerId": "5082523|2026-12-17|2",
  "destination": "Lisbon",
  "destinationResolved": {
    "name": "Lisbon",
    "destId": -2167973,
    "destType": "CITY"
  },
  "checkIn": "2026-12-17",
  "checkOut": "2026-12-19",
  "nights": 2,
  "adults": 2,
  "children": 0,
  "rooms": 1,
  "currency": "EUR",
  "rank": 1,
  "sortOrder": "popularity",
  "propertyId": 5082523,
  "name": "My Story Hotel Figueira",
  "url": "https://www.booking.com/hotel/pt/my-story-figueira.en-gb.html?checkin=2026-12-17&checkout=2026-12-19&group_adults=2&no_rooms=1&group_children=0&selected_currency=EUR",
  "propertyTypeId": 204,
  "stars": 4,
  "starsType": "stars",
  "district": "Santa Maria Maior",
  "city": "Lisboa",
  "countryCode": "pt",
  "latitude": 38.71346522524278,
  "longitude": -9.137542592013366,
  "reviewScore": 9.1,
  "reviewCount": 2643,
  "priceTotal": 230.43,
  "priceOriginal": null,
  "discountPct": null,
  "taxesAndCharges": 8,
  "taxesIncluded": 13.83,
  "pricePerNight": 115.21,
  "roomName": "Double Room",
  "freeCancellation": false,
  "freeCancellationUntil": null,
  "noPrepayment": false,
  "mealPlan": null,
  "roomsLeft": null,
  "isSoldOut": false,
  "marketUnavailablePercent": 46,
  "hostType": "professional",
  "scrapedAt": "2026-11-17T12:00:00.000Z"
}
```

### Prices

Compare offers on `priceTotal`, the total price of the stay as Booking.com shows it.

The `pricePerNight` value is Booking.com's average per night. It is copied and never recalculated. It can differ from `priceTotal / nights`, and the page does not state the cause. Compare offers on `priceTotal`.

The rows keep the currency Booking.com rendered. If it renders a currency other than the requested `EUR` or `USD`, the run log says so.

`taxesAndCharges` contains charges that are not included in `priceTotal`. For the full cost of a stay, add `taxesAndCharges` to `priceTotal`.

`taxesIncluded` contains charges already included in `priceTotal`. It is for information only. Each of the two columns is 0 when the page lists charges but none of that kind, and null when the page lists no charges at all. The share outside the total varies by destination.

### Exit country

The Actor reads pages from a United States IP, and `OUTPUT` records `exitCountry` as `us`. Booking.com can show different prices to visitors from another country.

Ambiguous destination names resolve to a US place first. Adding a country or state avoids this ambiguity.

`Cambridge` gives Cambridge (Massachusetts), while `Cambridge, United Kingdom` gives properties in `gb`. `Springfield` gives Springfield (Missouri), while `Springfield, Illinois` gives Springfield (Illinois). `Valencia` is a well known name, so it resolves to the Spanish city instead of a US place.

Check `countryCode` and `destinationResolved` to confirm the resolved place.

### Sort orders

The Actor makes one search of one results page per sort order and stay.

| Order | What it brings back |
|---|---|
| `popularity` | The properties Booking.com ranks first by default. |
| `price` | The cheapest properties of the destination. |
| `review_score` | The best reviewed properties, by the Bayesian score Booking.com uses. |
| `distance` | The properties closest to the centre. |

Each page keeps the order Booking.com gives it. That order is not a strict sort on `priceTotal`, `reviewScore` or distance, so neighbors inside one page can be slightly out of order.

A property found by multiple orders is returned once, with its first `rank` and `sortOrder`. Using all 4 orders gives about 80 distinct properties per stay.

### Limits

- Each search reads only the first results page, about 20 properties (15 to 25). There is no pagination.
- A run makes at most 60 searches and returns about 1,200 rows at most. A plan above 60 searches is refused before any request. For a larger grid, split it into several runs of 60 searches or fewer each. The Actor never splits it.
- Check-in can be up to `+500` days after the run day. Splitting a grid does not lift this bound.
- The Actor returns no review text or review author.
- It returns no host name, street address, or property-page content such as room lists, photos and descriptions.
- Sold-out properties are left out unless `includeSoldOut` is on. They usually have no price.
- Language is fixed to `en-gb`. The requested currency is `EUR` or `USD`. If Booking.com renders another currency, the rows keep it and the run log says so.

### Speed and memory

In four owner test runs on 2026-11-19 with 512 MB, 6 searches took about 40 s, and 12 searches took about 70 s, including a forced reboot. Peak memory was 138 MB.

The Actor's current default memory is 512 MB.

### Billing

Billing uses one `stay-offer` event per row delivered. Error rows are never billed. About 50 searches give 1,000 rows.

The Pricing tab of the Actor shows the current prices.

### Run summary and early stops

The key-value store's `OUTPUT` record starts with `source` and `input`, followed by request and page counters, offer and duplicate counts, `errorsByKind`, `stoppedBy`, walk and sold-out counters, and `searchCoverage`. It ends with `exitCountry` and the closing request, credit and retry counters.

```json
{
  "source": "Booking.com",
  "input": {
    "destinations": [
      "Lisbon"
    ],
    "startUrls": [],
    "checkInDates": [
      "2026-12-17"
    ],
    "nights": [
      2
    ],
    "adults": 2,
    "childrenAges": [],
    "rooms": 1,
    "currency": "EUR",
    "sortOrders": [
      "popularity"
    ],
    "includeSoldOut": false,
    "maxItems": 20
  },
  "requestsMade": 1,
  "requestsByStatus": {
    "200": 1
  },
  "pagesRead": 1,
  "lastPageRead": 1,
  "pagesPlanned": 1,
  "pagesRereadAfterResume": 0,
  "offersRead": 5,
  "offersInvalid": 0,
  "filteredOut": 0,
  "duplicatesSkipped": 0,
  "offersEmitted": 5,
  "offersCharged": 5,
  "errorsByKind": {},
  "stoppedBy": null,
  "walksFailed": 0,
  "failedWalks": [],
  "soldOutSkipped": 0,
  "searchCoverage": [
    {
      "search": "Lisbon / 2026-12-17 / 2 nights / popularity",
      "announced": 3677,
      "rows": 5,
      "pagesRead": 1,
      "endedBy": "pageRead"
    }
  ],
  "route": "render-service",
  "exitCountry": "us",
  "engineRequests": 1,
  "engineCredits": 1,
  "stealthRetries": 0
}
```

Each `searchCoverage` entry records `announced`, `rows`, `pagesRead` and `endedBy` for one search. The 4 end reasons are:

- `pageRead`: the page of the search was read.
- `emptyPage`: the page of the search served no property.
- `runStopped`: the run stopped on `maxItems` or its charge limit while the rows of this search were being returned, so some were not delivered. A search the run never reached has no entry.
- `error`: the search ended on an error row of the `errors` dataset.

After a resume, `announced` is null only for searches restored from the dataset, not for every search.

`stoppedBy` keeps the first stop reason only. Its 8 values are:

- `null`: all the requested work was done.
- `maxItems`: the row cap was reached.
- `chargeLimit`: the maximum charge set for the run was reached.
- `deadline`: the run reached its internal time limit.
- `circuitOpen`: every request was refused, or too many protection pages came in a row.
- `pageBudget`: the run's page budget was spent. Rows already returned are kept.
- `badInput`: Booking.com refused a request of the run itself as invalid. This is not the Actor's input check. Every input the Actor refuses, including a plan above 60 searches, is written as `BAD_INPUT` rows in the `errors` dataset before any request.
- `fetchFailed`: a search ended on a page that could not be read, even after its attempts.

Every error is a row of the `errors` dataset with a `kind`. The 8 kinds are `BAD_INPUT`, `TARGET_BLOCKED`, `RATE_LIMITED`, `FETCH_FAILED`, `UPSTREAM_ERROR`, `SCHEMA_CHANGED`, `LISTING_INVALID` and `NOT_FOUND`.

### Personal data and GDPR

Some properties have private hosts. `hostType` records `professional` or `private`, as declared to Booking.com. Another label is kept in lower case.

The Actor returns no host name or street address. Property names are returned as published.

If EU data protection law applies to your use, you are responsible for establishing a lawful basis, providing required information, setting retention and handling data-subject rights. Keep only the columns you need.

### Legal and responsible use

The data source is Booking.com at https://www.booking.com. Its terms may forbid automated access and commercial reuse.

The Actor reads public pages without sign-in, but you must check the source's terms and the law that applies to your use. You remain responsible for how you access and use the data.

### Frequently asked questions

#### Why did I get fewer rows than `maxItems`?

A run makes at most 60 searches of about 20 properties, giving about 1,200 rows at most. A property found by two sort orders is returned once. Sold-out properties are also left out unless `includeSoldOut` is on.

Check `searchCoverage` to see what each search returned.

#### Why did I get the wrong city?

An ambiguous name can resolve to a US place first. Add a country or state to the destination to avoid the ambiguity, and check `countryCode` and `destinationResolved` in the rows.

#### Why are some prices empty?

Sold-out properties usually have no price. Booking.com also does not always show a price for every offer. The row keeps its other columns when the price is empty.

#### Why does `pricePerNight` differ from `priceTotal / nights`?

`pricePerNight` is Booking.com's average per night, copied and never recalculated. The page does not state the cause of the difference. Compare offers on `priceTotal`.

#### Can I use this Actor through MCP?

Yes. Any Apify Actor can be called from an MCP client through the Apify MCP server. See the [Apify MCP documentation](https://docs.apify.com/platform/integrations/mcp) for the setup.

#### Can I start a run from code?

For scripted access, the Apify API provides the hotel price API workflow: start a run with a POST request to the Actor's runs endpoint, then read rows as JSON from the dataset items endpoint.

This is Apify's platform API, not an official Booking.com API. MrBridge is not affiliated with Booking.com.

### Your feedback

We're always working on improving the performance of our Actors. So if you've got any technical feedback for Booking.com Hotel Prices Scraper or simply found a bug, please create an issue on the Actor's [Issues tab](https://apify.com/mrbridge/booking-hotel-prices-scraper/issues).

An honest review helps the next users decide. You can also bookmark this Actor, and use the Issues tab for bugs or other problems.

More tools, scrapers, MCP servers and data studies from the same team: [mr-bridge.com](https://mr-bridge.com).

# Changelog

This Actor's version history is a separate document: https://apify.com/mrbridge/booking-hotel-prices-scraper/changelog.md

# Actor input Schema

## `destinations` (type: `array`):

City, region or landmark names as typed in the Booking.com search box, 1 to 10. Give a precise name with the country or the state, for example Cambridge, United Kingdom: a bare ambiguous name resolves first to a place in the United States. Check countryCode and destinationResolved in the rows. Each one is searched at every check-in date and length of stay below.

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

Booking.com search results pages (https://www.booking.com/searchresults.html), 1 to 20, with checkin and checkout in the URL. Each URL is one stay: its own dates, its filters and its occupancy. The check-in dates and lengths of stay below do not apply to them. A checkin more than 500 days after the day of the run (UTC) stops the run with an input error.

## `checkInDates` (type: `array`):

Required with destinations, 1 to 30 dates. Each date is YYYY-MM-DD or +N for N days after the day of the run (UTC), for example +30. A date in the past, or more than 500 days after the day of the run (+0 to +500), stops the run with an input error.

## `nights` (type: `array`):

1 to 3 lengths of stay, each from 1 to 30 nights. Every check-in date is searched with every length.

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

Adults of the stay, from 1 to 30.

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

The age of each child on the check-in day, 0 to 17, at most 10 children. Empty for no child.

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

Rooms of the stay, from 1 to 30, at most one per adult.

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

Currency of the prices. If Booking.com renders another one, the rows keep the currency it rendered and the run log says so.

## `sortOrders` (type: `array`):

1 to 4 orders, each read as one page of about 20 properties per stay, in Booking's own order (not a strict sort): popularity, price (lowest first), review_score (top reviewed), distance (from the centre). More orders give more distinct properties per stay. A property found by several orders is returned once, with the rank of the first order.

## `includeSoldOut` (type: `boolean`):

Also return the properties shown as sold out for the stay (usually without a price). Off by default.

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

Hard cap on the rows returned and billed, from 1 to 50000. The run stops once that many rows are delivered. A run makes at most 60 searches: (destinations x check-in dates x lengths of stay + search URLs) x sort orders, so it returns about 1,200 rows at most whatever this cap.

## `capturePlan` (type: `string`):

Maintainer only. Name of a closed diagnostic capture campaign. Requires Internal capture mode. The allowlist lives in the code: any other value is rejected without issuing a request.

## `internalCaptureMode` (type: `boolean`):

Maintainer only. When true, captures raw responses to the default key-value store of the run for building test fixtures. Not for normal use.

## Actor input object example

```json
{
  "destinations": [
    "Lisbon"
  ],
  "checkInDates": [
    "+30"
  ],
  "nights": [
    2
  ],
  "adults": 2,
  "childrenAges": [],
  "rooms": 1,
  "currency": "EUR",
  "sortOrders": [
    "popularity"
  ],
  "includeSoldOut": false,
  "maxItems": 20,
  "internalCaptureMode": false
}
```

# Actor output Schema

## `offers` (type: `string`):

Direct link to all dataset items produced by the run.

## `summary` (type: `string`):

Direct link to the OUTPUT record: requests made, stay offers read, returned and billed, errors by kind and the reason of an early stop.

# 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 = {
    "destinations": [
        "Lisbon"
    ],
    "checkInDates": [
        "+30"
    ],
    "nights": [
        2
    ],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("mrbridge/booking-hotel-prices-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 = {
    "destinations": ["Lisbon"],
    "checkInDates": ["+30"],
    "nights": [2],
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("mrbridge/booking-hotel-prices-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 '{
  "destinations": [
    "Lisbon"
  ],
  "checkInDates": [
    "+30"
  ],
  "nights": [
    2
  ],
  "maxItems": 20
}' |
apify call mrbridge/booking-hotel-prices-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mrbridge/booking-hotel-prices-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/fyxPxbL7mRmE6FEe2/builds/7jr94HKNOvtpXoFmi/openapi.json
