# Agoda Reviews Scraper: Guest Ratings & Hotel Details (`automatic/agoda-hotels-scraper`) Actor

Compare guest feedback and hotel profiles from Agoda property URLs or IDs. Export review scores, text, traveller types, original languages and hotel responses where shown. Schedule a feed of new reviews.

- **URL**: https://apify.com/automatic/agoda-hotels-scraper.md
- **Developed by:** [Philip Kirkbride](https://apify.com/automatic) (community)
- **Categories:** Travel
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.05 / 1,000 rows

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

## Agoda Reviews & Hotel Details

Export Agoda guest feedback and hotel profiles from property links or IDs. Compare guest experiences across hotels or schedule a run to collect new reviews as they appear. Run the prefilled Plaza example for a quick sample.

### Quick start

```json
{"hotelTargets":["45092"],"maxItems":10}
```

Add Agoda hotel URLs or IDs to `hotelTargets`. The default mode saves a profile followed by its reviews for each hotel. Set `mode` to `reviews` for reviews only, or `details` for profiles only. Set `maxItems` to cap the combined number of rows across the run.

| Row | Fields |
| --- | --- |
| Hotel detail | Name, address, stars, guest rating, displayed review count, amenities, and the advertised starting price and currency when available |
| Review | Review and provider IDs, date, score, title, text, traveller type, original language and text, and hotel response when supplied |

Reviews are saved page by page. Open `OUTPUT` in the run's key-value store for saved counts, skipped targets, and early-stop reasons. In the dataset, use `type` to filter for `detail` or `review`.

The Guest reviews view shows `reviewText`. Agoda supplies either a full comment or separate text. When the full comment is empty, the Actor joins the available title, positives, and negatives, then falls back to the original comment if those are empty. The raw dataset also includes `reviewTitle`, `reviewPositives`, `reviewNegatives`, `originalTitle`, and `originalText` when supplied.

### Monitor new reviews

Set `monitorMode` to `new` and reuse a `monitorName` on your schedule. The first run saves the reviews it collects. Later runs save review IDs that this monitor has yet to deliver. In combined mode each hotel profile is saved once. Schedule one run at a time per monitor name.

### Output example

Selected fields from a Plaza review.

```json
{
  "type": "review",
  "id": "review:45092:332:1049250420",
  "hotelId": 45092,
  "name": "The Plaza - A Fairmont Managed Hotel",
  "reviewId": 1049250420,
  "reviewProviderId": 332,
  "rating": 8,
  "reviewTitle": "The place I longed for.",
  "reviewDate": "2025-11-07T09:27:00+07:00",
  "travellerType": "Family with young children",
  "collectedAt": "2026-11-18T07:41:42+00:00"
}
```

### Pricing and limits

**$1.50 per 1,000 rows** (one row per review or hotel profile; $1.35 Bronze, $1.20 Silver, $1.05 Gold and above). There is no start fee, so an input that returns nothing costs nothing, and a monitor run only pays for new reviews.

Set a maximum charge on the run to cap spending; the run stops cleanly at the cap and keeps the rows it already saved.

Agoda’s displayed review count can include ratings without comments and can reflect one provider or several providers. The Actor pages through the public comments Agoda serves for the property. A starting price is available when Agoda publishes a numeric minimum and currency on the property page. Prices and review fields that Agoda omits are empty.

# Actor input Schema

## `hotelTargets` (type: `array`):

Enter one or more Agoda property or review URLs, or numeric Agoda hotel IDs such as 45092.

## `mode` (type: `string`):

Choose which rows to save for each hotel.

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

Maximum detail and review rows combined, across all hotels in the run. The prefill uses 10.

## `monitorMode` (type: `string`):

Only new reviews saves each review ID once for this monitor. In combined mode it also saves each hotel profile once.

## `monitorName` (type: `string`):

Use the same name across scheduled runs to remember successfully saved records.

## Actor input object example

```json
{
  "hotelTargets": [
    "45092"
  ],
  "maxItems": 10
}
```

# 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 = {
    "hotelTargets": [
        "45092"
    ],
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("automatic/agoda-hotels-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 = {
    "hotelTargets": ["45092"],
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("automatic/agoda-hotels-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 '{
  "hotelTargets": [
    "45092"
  ],
  "maxItems": 10
}' |
apify call automatic/agoda-hotels-scraper --silent --output-dataset

```

## MCP server setup

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