# HRS Hotel Reviews Scraper (`datascrapers/hrs-hotel-reviews-scraper`) Actor

Extract hotel details, room offers, and guest reviews from HRS hotel URLs.

- **URL**: https://apify.com/datascrapers/hrs-hotel-reviews-scraper.md
- **Developed by:** [Data Scrapers](https://apify.com/datascrapers) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 hotels

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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

**HRS Hotel Reviews Scraper** creates a structured dataset of hotel records collected from HRS. Each dataset item is one hotel and can include the hotel id, name, star rating, address, coordinates, public contact fields, amenities, a review summary, and individual reviews when reviews are requested. Query the source with a hotel URL or a hotel id, choose the page language, and limit hotels and reviews with `maxItems` and `maxReviewsPerHotel`. Retrieve records through the Apify Dataset API or export them as JSON, CSV, Excel, or XML.

[![HRS Hotel Reviews Scraper — input to structured data](https://raw.githubusercontent.com/faizanalii/apify-actor-assets/main/hrs-hotel-reviews-scraper/hrs-hotel-reviews-scraper-value-demo.gif)](https://apify.com/datascrapers/hrs-hotel-reviews-scraper)

### Dataset at a glance

| Property | Value |
|---|---|
| Source | HRS hotel pages |
| Record unit | One hotel |
| Input methods | Hotel URL or hotel id |
| Main identifiers | `hotelId`, `url` |
| Delivery | Apify Dataset and API |
| Export formats | JSON, CSV, Excel, XML, RSS |
| Update model | Fresh records per Actor run |
| Pricing | $2.00 per 1,000 items (`dataset-item`) |

### Coverage and available records

Provide `hotelUrls` or `hotelIds`. The URL prefill is `https://www.hrs.com/en/detail?hn=525919`. `language` defaults to `en`. `includeHotelDetails` and `includeReviews` default to true.

`maxItems` at `0` means no hotel cap. The prefill is 10. `maxReviewsPerHotel` at `0` means no review cap. The prefill is 10. Room offers, picture lists, and amenity groups are included with hotel details. The Actor does not collect private bookings or guest accounts.

### Data dictionary

| Field | Type | Nullable | Description | Example |
|---|---|---:|---|---|
| hotelId | string | no | HRS hotel id. Use this to deduplicate | 105179 |
| url | string | yes | Public hotel URL | https://www.hrs.com/en/detail?hn=105179 |
| hotelName | string | yes | Hotel name | Saumur Hôtel Le Londres The Originals Boutique |
| displayName | string | yes | Display name | Saumur Hôtel Le Londres The Originals Boutique |
| status | string | yes | Open or closed status | OPEN |
| stars | string | yes | Star rating as text | 3 |
| street | string | yes | Street | 48, Rue D'orléans |
| zipCode | string | yes | Postal code | 49400 |
| city | string | yes | City | Saumur |
| district | string | yes | District | null |
| country | string | yes | Country code | FRA |
| countryAlpha2 | string | yes | Two-letter country | FR |
| phone | string | yes | Public phone | +33 241512398 |
| email | string | yes | Public hotel email | h4909@theoriginalshotels.com |
| homepage | string | yes | Hotel site | www.theoriginalshotels.com/hotels/saumur-le-londres |
| chainName | string | yes | Chain name | The Originals |
| currency | string | yes | Offer currency | EUR |
| latitude | string | yes | Latitude | 47.259095 |
| longitude | string | yes | Longitude | -0.079112 |
| checkInFrom | string | yes | Check-in time | null |
| checkOutUntil | string | yes | Check-out time | null |
| pictureUrls | array | yes | Photo URLs | \[] |
| features | object | yes | Feature groups | {} |
| amenities | object | yes | Amenity groups | {} |
| reviewSummary | object | yes | Aggregate scores | {"averageRating": 5.4, "ratingCount": 1} |
| reviews | array | yes | Review objects when reviews are enabled | \[] |

Deduplicate on `hotelId`. `reviewSummary.averageRating` and `reviewSummary.ratingCount` are the summary fields observed on a stored hotel. Review objects can include dates, traveler group, scores, and comment text. Comment text is omitted from the example below.

### Example dataset record

```json
{
  "hotelId": "105179",
  "url": "https://www.hrs.com/en/detail?hn=105179",
  "hotelName": "Saumur Hôtel Le Londres The Originals Boutique",
  "status": "OPEN",
  "stars": "3",
  "street": "48, Rue D'orléans",
  "zipCode": "49400",
  "city": "Saumur",
  "country": "FRA",
  "countryAlpha2": "FR",
  "phone": "+33 241512398",
  "chainName": "The Originals",
  "currency": "EUR",
  "latitude": "47.259095",
  "longitude": "-0.079112",
  "reviewSummary": {
    "averageRating": 5.4,
    "ratingCount": 1,
    "recommendationRate": 0.0
  }
}
```

This record came from hotel id `105179`. Picture, amenity, and review arrays are on the stored record when details and reviews are enabled.

### Query and input reference

| Input | Type | Required | Default | Accepted values | Description |
|---|---|---:|---|---|---|
| hotelUrls | array | no | none | HRS hotel URLs | Prefill is one hotel URL |
| hotelIds | array | no | \[] | numeric hotel ids | Alternative to URLs |
| language | string | no | en | language code | Page language |
| includeHotelDetails | boolean | no | true | true, false | Include hotel detail fields |
| includeReviews | boolean | no | true | true, false | Include the reviews array |
| maxReviewsPerHotel | integer | no | 0 | 0 or a positive integer | Review cap. Prefill is 10 |
| maxItems | integer | no | 0 | 0 or a positive integer | Hotel cap. Prefill is 10 |
| proxyConfiguration | object | no | Apify residential | Apify proxy object | Proxy used for the request |

Minimal request:

```json
{ "hotelUrls": ["https://www.hrs.com/en/detail?hn=525919"], "maxItems": 1, "maxReviewsPerHotel": 5 }
```

### Retrieve the data through the API

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("datascrapers/hrs-hotel-reviews-scraper").call(
    run_input={
        "hotelUrls": ["https://www.hrs.com/en/detail?hn=525919"],
        "maxItems": 1,
        "maxReviewsPerHotel": 5,
    }
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["hotelId"], item["hotelName"])
```

### Data quality and record handling

One hotel is one dataset item, including its review array. Star rating, coordinates, and ids are returned as text when the source sends them as text. `reviewSummary` can be present with an empty `reviews` array when the review cap is zero or the page has no review text. Deduplicate on `hotelId`.

### Pricing and cost examples

One `dataset-item` charge is created for each hotel saved. The price is the same on every plan. Apify platform usage is billed separately.

| Records | Estimated event cost |
|---:|---:|
| 1,000 hotels | $2.00 |
| 10,000 hotels | $20.00 |

Reviews inside a hotel record do not add a second event name. The charge is the hotel item.

### Limitations and responsible data use

The Actor collects the public hotel page and the public reviews HRS shows for that hotel. Review text can describe a stay and should be handled as personal content. This is not a historical archive unless you store the dataset yourself. Use the records in line with HRS terms and applicable privacy rules.

### Dataset questions

#### What does one dataset item represent?

One HRS hotel, with a review summary and a reviews array when reviews are enabled.

#### Which field should I use as a unique identifier?

Use `hotelId`.

#### Are fields nullable or conditional?

District, check-in, and check-out can be null. Reviews are empty when `includeReviews` is false or the page has none.

#### Can I retrieve the records as CSV or JSON?

Yes. Export the dataset as JSON, CSV, Excel, XML, or RSS, or read it from the Dataset API. Nested reviews are easier to keep in JSON.

#### What counts as a billable result?

Each saved hotel charges one `dataset-item` event.

### Related datasets from Data Scrapers

- [TheFork Scraper](https://apify.com/datascrapers/thefork-scraper) for restaurant records.
- [Uber Eats Scraper](https://apify.com/datascrapers/ubereats-scraper) for restaurant menus and store records.
- [Trulia Scraper](https://apify.com/datascrapers/trulia-scraper) for US home listings when a stay dataset needs a housing join.

### Data Scrapers support

Need an additional field, record type, or export workflow? Contact Data Scrapers at stardustspotlight@gmail.com. Include a sample source URL, required fields, expected record volume, and preferred delivery format.

# Actor input Schema

## `hotelUrls` (type: `array`):

HRS hotel page URLs to scrape details and reviews from (e.g. https://www.hrs.com/en/hotel/hotel-name-123456). Hotel ID is extracted automatically.

## `hotelIds` (type: `array`):

Alternative to hotelUrls — provide numeric HRS hotel IDs directly (e.g. 105179, 145594).

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

Language code for API responses and URLs.

## `includeHotelDetails` (type: `boolean`):

Fetch full hotel detail data (address, amenities, room offers, contact info, pictures).

## `includeReviews` (type: `boolean`):

Fetch guest reviews and extended rating breakdowns.

## `maxReviewsPerHotel` (type: `integer`):

Maximum number of guest reviews to include per hotel (0 = all available).

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

Maximum number of hotels to process (0 = unlimited).

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

Proxy settings for anti-bot protection

## Actor input object example

```json
{
  "hotelUrls": [
    "https://www.hrs.com/en/detail?hn=525919"
  ],
  "hotelIds": [],
  "language": "en",
  "includeHotelDetails": true,
  "includeReviews": true,
  "maxReviewsPerHotel": 10,
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

Dataset containing scraped hotel details and reviews

## `runStats` (type: `string`):

Run statistics including record count and timestamps

# 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 = {
    "hotelUrls": [
        "https://www.hrs.com/en/detail?hn=525919"
    ],
    "hotelIds": [],
    "maxReviewsPerHotel": 10,
    "maxItems": 10,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("datascrapers/hrs-hotel-reviews-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 = {
    "hotelUrls": ["https://www.hrs.com/en/detail?hn=525919"],
    "hotelIds": [],
    "maxReviewsPerHotel": 10,
    "maxItems": 10,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("datascrapers/hrs-hotel-reviews-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 '{
  "hotelUrls": [
    "https://www.hrs.com/en/detail?hn=525919"
  ],
  "hotelIds": [],
  "maxReviewsPerHotel": 10,
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call datascrapers/hrs-hotel-reviews-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datascrapers/hrs-hotel-reviews-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/ZvyjwwJxlCz4dWbJU/builds/j6qdPNohdowAnxcqN/openapi.json
