# Booking.com Scraper API (`api_harbor/booking-scraper`) Actor

Booking.com hotels API for any city: name, URL, stars, review score, address, GPS and price for your dates. Past the 1,000-result limit. $1 per 1,000 properties, down to $0.50 on higher plans. Pay-per-property, failed items never charged. Callable from any MCP client (Claude, Cursor, ChatGPT).

- **URL**: https://apify.com/api_harbor/booking-scraper.md
- **Developed by:** [Api Harbor](https://apify.com/api_harbor) (community)
- **Categories:** Travel, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.70 / 1,000 properties

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

## Booking.com Scraper

Scrape Booking.com search results for any city, region or district: hotel name, URL, property type, stars, review score, review count, address, GPS coordinates, photo, and the total price for your dates. Filter by stars, review score, property type and price. A Booking.com API from $1 per 1,000 properties: pay-per-property, failed items never charged, no proxy fees, no login. Callable from AI agents through MCP.

### What does Booking.com Scraper do?

Type a destination as you would on Booking.com (`Nice`, `Tuscany`, `Manhattan`). The scraper returns one row per property with:

- `name`, `url`, `type` (hotels, apartments, vacation homes, hostels...), `stars`
- `reviewScore`, `reviewScoreText`, `reviewCount`
- `address`, `city`, `countryCode`, `latitude`, `longitude`, `neighborhood`, `distanceFromCenter`
- `photo`
- `price`, `priceFormatted`, `currency` when you set check-in and check-out dates

Booking.com shows about 1,000 results per search. For bigger destinations, the scraper splits the search by property type and sort order and removes duplicates, so you get far more than the first 1,000. On Nice, France, a full run returned 4,043 unique properties.

### Why use this Booking.com scraper?

- **5x cheaper.** $1 per 1,000 properties, down to $0.50 on higher Apify plans. The most used Booking.com Actor on the Store charges $5 (and $1.25 at best).
- **Past the 1,000-result limit** on large cities, with no setup.
- **Real prices.** Set dates, guests and rooms: you get the total price shown to a visitor, in the currency you choose.
- **Ready for the next step.** Each `url` goes straight into [Booking.com Reviews Scraper](https://apify.com/api_harbor/booking-reviews-scraper).
- **Failures are free.** A destination that cannot be found returns a row with an `error` field and is never billed.

### Use cases

- **AI travel agents:** let an assistant search real hotels, prices and scores for given dates and answer in plain language.
- **LLM analysis:** feed prices, scores and neighborhoods to an LLM to compare destinations or spot underpriced areas.
- **RAG:** index properties with GPS and descriptions so a travel chatbot answers with up-to-date listings.
- **Hotel price monitoring and revenue management:** compare your rates with competitors for the same dates, every day.
- **Lead generation for hospitality suppliers:** every hotel, guesthouse or B\&B of a region, with its address and page.
- **Travel and market research:** supply, ratings and prices by city, neighborhood or property type.
- **Travel apps and AI agents:** structured hotel data with GPS coordinates, ready for maps, RAG or LLM answers.

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

| What | Price |
|---|---|
| Run start | $0.00005 per run |
| Property | $1 per 1,000 properties |

Higher Apify plans pay less per property:

| Apify plan | Price per 1,000 properties |
|---|---|
| Free | $1.00 |
| Starter (Bronze) | $0.90 |
| Scale (Silver) | $0.80 |
| Business (Gold) | $0.70 |
| Platinum | $0.60 |
| Diamond | $0.50 |

The free Apify plan's monthly credit covers about 5,000 properties.

### How to scrape Booking.com hotels

1. Click **Try for free**.
2. Type a **destination**, e.g. `Nice, France`.
3. Optionally set dates, guests, filters and a maximum number of properties.
4. Click **Start**, then download your data as JSON, CSV, Excel or HTML.

### Use it from AI agents (MCP)

This Actor is a ready-made tool for AI agents through the [Apify MCP server](https://mcp.apify.com). Any MCP client (Claude, Cursor, VS Code, ChatGPT) can call it and get structured JSON back.

- **MCP server URL:** `https://mcp.apify.com/?actors=api_harbor/booking-scraper`
- **Token:** your Apify API token, from Apify Console > Settings > Integrations.

**Claude Desktop** (`claude_desktop_config.json`):

```json
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com/?actors=api_harbor/booking-scraper",
      "headers": { "Authorization": "Bearer <APIFY_TOKEN>" }
    }
  }
}
```

**Claude Code:**

```bash
claude mcp add --transport http apify "https://mcp.apify.com/?actors=api_harbor/booking-scraper" --header "Authorization: Bearer <APIFY_TOKEN>"
```

**Cursor** (`.cursor/mcp.json`) or **VS Code** (`.vscode/mcp.json`, use `"servers"` instead of `"mcpServers"`):

```json
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com/?actors=api_harbor/booking-scraper",
      "headers": { "Authorization": "Bearer <APIFY_TOKEN>" }
    }
  }
}
```

Example prompts:

- "Find 4-star hotels in Nice rated 8+ for December 10 to 12 and list the 10 cheapest with their total price in EUR."
- "List every guesthouse and B\&B in Tuscany with its address and review score, as a table."
- "Get hotels in Manhattan near Times Square for next weekend and plot them on a map with price and score."

### Input

| Field | Description |
|---|---|
| `search` | Destination: city, region, district or landmark |
| `maxItems` | Maximum properties (default: all) |
| `checkIn`, `checkOut` | Stay dates (`YYYY-MM-DD`): adds prices, keeps available properties only |
| `adults`, `childrenAges`, `rooms` | Guests and rooms (default 2 adults, 1 room) |
| `currency` | Price currency, e.g. `EUR` (default `USD`) |
| `sortBy` | `popularity`, `price`, `price_from_high_to_low`, `bayesian_review_score`, `class`, `class_asc`, `distance_from_search` |
| `propertyTypes` | `hotels`, `apartments`, `vacation_homes`, `villas`, `hostels`, `guesthouses`, `bed_and_breakfasts`, `homestays`, `condo_hotels` |
| `stars` | Star ratings, e.g. `[4, 5]` |
| `minScore` | Minimum review score: `6`, `7`, `8` or `9` |
| `minPrice`, `maxPrice` | Price per night, with dates only |

```json
{
  "search": "Nice",
  "checkIn": "2026-12-10",
  "checkOut": "2026-12-12",
  "currency": "EUR",
  "stars": [4],
  "minScore": "8"
}
```

### What you get back

One JSON object per property. Fields are `null` when Booking.com does not show the value.

| Field | Type | Description |
|---|---|---|
| `id` | integer | Booking.com property ID |
| `name` | string | Property name |
| `url` | string | Property page URL (input of Booking.com Reviews Scraper) |
| `type` | string | Property type |
| `stars` | number | Star rating |
| `reviewScore` | number | Guest review score out of 10 |
| `reviewScoreText` | string | Score label, e.g. Excellent |
| `reviewCount` | integer | Number of reviews |
| `address` | string | Street address |
| `city` | string | City |
| `countryCode` | string | Country code |
| `latitude` | number | Latitude |
| `longitude` | number | Longitude |
| `neighborhood` | string | Neighborhood as shown by Booking.com |
| `distanceFromCenter` | string | Distance from downtown |
| `description` | string | Short description |
| `photo` | string | Main photo URL |
| `price` | number | Total price for the stay (with dates only) |
| `priceFormatted` | string | Price as displayed |
| `currency` | string | Currency |
| `checkIn` | string | Check-in date |
| `checkOut` | string | Check-out date |
| `search` | string | Destination searched |
| `input`, `error` | string | Only on failed items: the input and the reason. Never charged. |

### Output example

Item from a real run with the input above:

```json
{
  "id": 11825583,
  "name": "Mama Shelter Nice",
  "url": "https://www.booking.com/hotel/fr/mama-shelter-nice.html",
  "type": "hotels",
  "stars": 4,
  "reviewScore": 8.8,
  "reviewScoreText": "Excellent",
  "reviewCount": 786,
  "address": "21 boulevard de Riquier",
  "city": "Nice",
  "countryCode": "fr",
  "latitude": 43.703049,
  "longitude": 7.289079,
  "neighborhood": "Riquier, Nice",
  "distanceFromCenter": "1.7 km from downtown",
  "description": "",
  "photo": "https://cf.bstatic.com/xdata/images/hotel/square600/781587395.jpg?k=d7f8ffd8d27dca0bbae0880b80466dd22d5dd2864c4f7e9aec253ee72f618eb7&o=",
  "price": 191.92,
  "priceFormatted": "€ 191.92",
  "currency": "EUR",
  "checkIn": "2026-12-10",
  "checkOut": "2026-12-12",
  "search": "Nice"
}
```

`price` is the total for the stay, taxes and fees included, and is `null` without dates.

### Caching and errors

- **Cache:** identical requests made shortly after each other are served from cache, so repeated calls from an agent come back faster.
- **Structured errors:** an input that cannot be processed returns a row `{"input": "...", "error": "..."}` instead of failing the whole run. Rows with an `error` field are delivered but never charged. You pay only for properties actually delivered.

### FAQ

**Do I need a Booking.com account?**
No. Only public search results are read.

**Is it legal to scrape Booking.com?**
Search results are public business listings. You are responsible for complying with local laws and Booking.com's terms for your use case.

**Can I get more than 1,000 hotels for a city?**
Yes. When a search has more than 1,000 results, the scraper splits it automatically and removes duplicates.

**How do I get the reviews of these hotels?**
Pass the `url` of each property to [Booking.com Reviews Scraper](https://apify.com/api_harbor/booking-reviews-scraper).

**Can I use it from Python or through an API?**
Yes, with the Apify API or the `apify-client` package for Python or JavaScript.

**Can AI agents like Claude, Cursor or ChatGPT use it?**
Yes. Add `https://mcp.apify.com/?actors=api_harbor/booking-scraper` as an MCP server with your Apify token as a Bearer header. The agent can then call the Actor and read the results. See "Use it from AI agents (MCP)" above.

**Can I schedule it or connect it to Make, Zapier or n8n?**
Yes. Use Apify schedules, and the Make, Zapier and n8n integrations.

### Related Actors

- [Booking.com Reviews Scraper](https://apify.com/api_harbor/booking-reviews-scraper): every review of a hotel, with filters and new-reviews-only mode
- [Website Contact Scraper](https://apify.com/api_harbor/website-contact-scraper): emails and phones from hotel websites

# Actor input Schema

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

City, region, district or landmark, as typed in the Booking.com search box, e.g. Nice, Tuscany, Manhattan.

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

Maximum number of properties. Default: all. Large cities are split by property type to go past Booking.com's limit of about 1,000 results per search.

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

Check-in date (YYYY-MM-DD). Set check-in and check-out to get prices and only available properties.

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

Check-out date (YYYY-MM-DD).

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

Number of adults.

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

Age of each child, e.g. \[4, 9]. Empty: no children.

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

Number of rooms.

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

3-letter currency code for prices, e.g. USD, EUR, GBP.

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

Result order, as on Booking.com.

## `propertyTypes` (type: `array`):

Only these property types. Empty: all.

## `stars` (type: `array`):

Only these star ratings, e.g. \[4, 5].

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

Only properties with at least this guest review score.

## `minPrice` (type: `integer`):

Minimum price per night in the chosen currency. Needs check-in and check-out dates.

## `maxPrice` (type: `integer`):

Maximum price per night in the chosen currency. Needs check-in and check-out dates.

## Actor input object example

```json
{
  "search": "Nice, France",
  "maxItems": 100,
  "adults": 2,
  "rooms": 1,
  "currency": "USD",
  "sortBy": "popularity",
  "minScore": "any"
}
```

# Actor output Schema

## `results` (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": "Nice, France",
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("api_harbor/booking-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 = {
    "search": "Nice, France",
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("api_harbor/booking-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 '{
  "search": "Nice, France",
  "maxItems": 100
}' |
apify call api_harbor/booking-scraper --silent --output-dataset

```

## MCP server setup

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