# Agoda Reviews Scraper (`one_house/agoda-reviews-scraper`) Actor

Scrape hotel reviews, ratings, and owner replies from Agoda by hotel URL or numeric hotel ID.

- **URL**: https://apify.com/one\_house/agoda-reviews-scraper.md
- **Developed by:** [One House](https://apify.com/one_house) (community)
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 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

## Agoda Reviews Scraper

Extract hotel guest reviews from Agoda using a hotel page URL or numeric hotel ID.

Ideal for reputation monitoring, competitor analysis, and hospitality data pipelines.

### What you get

- Hotel name, aggregate Agoda rating (/10), and review count
- Review title and text (plus separate positives / negatives when present)
- Guest score on Agoda’s 10-point scale (`ratingScale: 10`)
- Author name, country, and traveler type
- Published date (ISO) and stay / check-in date when available
- Hotel reply text when Agoda exposes it
- The full original review object (`raw`) for advanced use

### How to use

1. Open this Actor and click **Start**
2. Add Agoda hotel URLs under **Hotel URLs**, and/or paste numeric IDs under **Hotel IDs**
3. Set **Max reviews per hotel** (`0` = all available reviews)
4. Leave **Proxy** off by default; if the run fails with HTTP **403** on Apify, enable Apify Proxy → **Residential**
5. Run and download results from the Dataset tab

#### Finding the hotel ID

- Many Agoda URLs omit the ID in the path; the Actor resolves it from the hotel URL automatically.
- You can also pass the numeric ID directly (faster; skips ID discovery). It is the `hotelId` field of every item from an earlier run.
- Example URL: `https://www.agoda.com/park-avenue-bayswater-inn-hyde-park/hotel/london-gb.html` → hotelId `11019`

### Input example

```json
{
  "startUrls": [
    {
      "url": "https://www.agoda.com/park-avenue-bayswater-inn-hyde-park/hotel/london-gb.html"
    }
  ],
  "maxReviews": 100,
  "pageSize": 20,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

Direct hotel IDs:

```json
{
  "hotelIds": ["11019"],
  "maxReviews": 50
}
```

### Output example

Each dataset item is one review:

```json
{
  "reviewId": "1178687151",
  "hotelId": "11019",
  "hotelName": "Park Avenue Bayswater Inn Hyde Park",
  "hotelUrl": "https://www.agoda.com/park-avenue-bayswater-inn-hyde-park/hotel/london-gb.html",
  "hotelRatingValue": 6.8,
  "hotelReviewCount": 2285,
  "title": "Excellent",
  "text": "average jela..blh la sekadar nk tido sekejap",
  "positiveText": "Location",
  "negativeText": "Dirty room and worn items.",
  "rating": 8.8,
  "ratingScale": 10,
  "authorName": "Siti",
  "authorCountry": "Malaysia",
  "publishedAt": "2026-09-07T20:05:12.000Z",
  "stayDate": "2026-09-03T17:00:00.000Z",
  "travelerType": "Group",
  "replyText": null,
  "language": "en",
  "source": "agoda",
  "scrapedAt": "2026-09-11T19:00:00.000Z",
  "url": "https://www.agoda.com/park-avenue-bayswater-inn-hyde-park/hotel/london-gb.html",
  "raw": {}
}
```

A hotel summary is also saved in the key-value store as `HOTEL_INFO_{hotelId}`:

```json
{
  "hotelId": "11019",
  "hotelUrl": "https://www.agoda.com/park-avenue-bayswater-inn-hyde-park/hotel/london-gb.html",
  "hotelName": "Park Avenue Bayswater Inn Hyde Park",
  "ratingValue": 6.8,
  "reviewCount": 2285
}
```

### Tips

- Default is **no proxy**. If a run on Apify fails with HTTP **403**, enable Apify Proxy → **Residential**.
- Use `maxReviews` to control cost on hotels with thousands of reviews.
- Ratings use a **0–10** scale (`ratingScale: 10`).
- Add multiple hotel URLs / IDs in one run to batch scraping.
- Reviews are de-duplicated by `reviewId`, so a run never contains the same review twice.

### Limitations

- Only public reviews written by Agoda guests are returned.
- Reviews from partner sites that Agoda shows on the same page (e.g. Booking.com) are not included.
- Hotel reply text is included when Agoda shows one; many reviews have no reply.

### FAQ, disclaimers, and support

This Actor only extracts publicly visible review data from Agoda hotel pages. Use it in accordance with Agoda's Terms of Service and applicable data protection laws - reviews contain author display names, which are personal data.

Found a bug or need a custom feature? Open an issue in the Actor's **Issues** tab.

# Actor input Schema

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

Agoda hotel page URLs (https://www.agoda.com/...). The numeric hotel ID is resolved automatically.

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

Optional numeric Agoda hotel IDs (alternative or addition to URLs).

## `maxReviews` (type: `integer`):

Maximum number of reviews to scrape per hotel. Set 0 for all available reviews.

## `pageSize` (type: `integer`):

Reviews fetched per page (1–50). Results are de-duplicated by reviewId.

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

Optional. Default is no proxy. If a run on Apify fails with HTTP 403, enable Apify Proxy with the Residential group.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.agoda.com/park-avenue-bayswater-inn-hyde-park/hotel/london-gb.html"
    }
  ],
  "maxReviews": 50,
  "pageSize": 20,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

One dataset item per review.

## `hotelInfo` (type: `string`):

One HOTEL\_INFO\_{id} record per hotel in the key-value store.

# 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 = {
    "startUrls": [
        {
            "url": "https://www.agoda.com/park-avenue-bayswater-inn-hyde-park/hotel/london-gb.html"
        }
    ],
    "maxReviews": 50,
    "pageSize": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("one_house/agoda-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 = {
    "startUrls": [{ "url": "https://www.agoda.com/park-avenue-bayswater-inn-hyde-park/hotel/london-gb.html" }],
    "maxReviews": 50,
    "pageSize": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("one_house/agoda-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 '{
  "startUrls": [
    {
      "url": "https://www.agoda.com/park-avenue-bayswater-inn-hyde-park/hotel/london-gb.html"
    }
  ],
  "maxReviews": 50,
  "pageSize": 20
}' |
apify call one_house/agoda-reviews-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,one_house/agoda-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/ectWT0LqapmQIB0ZF/builds/1heLbCuVLzJ4Z5T9t/openapi.json
