# Agoda Hotel Reviews Scraper (`devilscrapes/agoda-hotel-reviews-scraper`) Actor

Agoda Hotel Reviews Scraper: scrape guest reviews from Agoda hotel pages by URL or numeric hotel id. Get one row per review: rating, text, positives, negatives, dates, reviewer country, trip group, room type, stay length and photos. We handle blocks and retries.

- **URL**: https://apify.com/devilscrapes/agoda-hotel-reviews-scraper.md
- **Developed by:** [DevilScrapes](https://apify.com/devilscrapes) (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

$2.00 / 1,000 review emitteds

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

<div align="center">
  <img src=".actor/icon.svg" width="160" alt="Devil Scrapes mark" />

## Agoda Hotel Reviews Scraper

**💰 $2.20 / 1 000 results**  ·  pay only for results  ·  no credit card to try

*We do the dirty work so your dataset stays clean.* 😈

Scrape Agoda hotel reviews by page URL or numeric hotel id and get one row per guest review: rating, text, positives, negatives, dates, reviewer country, trip group, room type and stay length, deduped by review id.

</div>

***

### 🎯 What this scrapes

The Agoda review cluster is one of the busiest on the Apify Store, with 64 rival Actors and over 150,000 runs a month. Travel analysts and review-sentiment pipelines want guest reviews at scale, and Agoda offers no public review API. This Actor reads the same review feed the hotel page uses and returns clean, deduped rows for every hotel you give it.

### 🔥 What we handle for you

- 🛡️ **We rotate browser fingerprints** (curl-cffi impersonation — Chrome / Firefox / Safari) so Agoda sees a real browser, not Python.
- 🔁 **We retry with a fresh session on every block** — new cookies, new fingerprint, new proxy session ID — up to 5 attempts per page.
- 🌐 **We rotate Apify proxy sessions** on every retry, so a block never sticks to one exit IP.
- 🧱 **We back off on rate limits** with exponential backoff, honouring Retry-After.
- 🧊 **We keep the dataset clean** — Pydantic-validated rows, deduped by review id, ISO-8601 timestamps.
- 💰 **You pay only for results that land.** No data, no charge — only the small actor-start warm-up fee.

### 💡 Use cases

- **Hotel reputation tracking** — pull the latest guest reviews for a portfolio of hotels on a schedule and watch rating trends.
- **Sentiment and NLP pipelines** — feed positives, negatives and full review text into your own models, one clean row per review.
- **Competitive benchmarking** — compare reviewer country, trip group and room type mix across competing hotels.
- **Travel research** — collect guest feedback for a destination before recommending or buying inventory.

### ⚙️ How to use it

1. Click **Try for free** at the top of the page.
2. Fill in the input form — most fields have sensible defaults.
3. Click **Start**. Output streams into the run's dataset.
4. Export from **Storage → Dataset** as JSON, CSV, or Excel — or fetch via the API.

### 📥 Input

| Field | Type | Required | Default | Notes |
|---|---|:--:|---|---|
| `startUrls` | `array` | no | \[] | Agoda hotel page URLs, for example https://www.agoda.com/marina-bay-sands/hotel/singapore-sg.html. Combine with hotel… |
| `hotelIds` | `array` | no | \[10626, 185945] | Numeric Agoda hotel ids. Skips the page lookup and goes straight to the reviews. |
| `maxReviews` | `integer` | no | 100 | Maximum review rows emitted for each hotel. |
| `sort` | `string` | no | 'recent' | Review ordering. Agoda's default feed order today; more orders are added once verified. |
| `proxyConfiguration` | `object` | no | {'useApifyProxy': True, 'apifyProxyGroups': \['RESIDENTIAL'], 'apifyProxyCountry': 'US'} | Apify Proxy. Defaults to RESIDENTIAL pinned to US; a bare useApifyProxy with no group resolves to datacenter egress. |

#### Example input

```json
{
  "hotelIds": [
    10626
  ],
  "maxReviews": 5,
  "sort": "recent",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

### 📤 Output

Every row is one dataset item.

| Field | Type | Notes |
|---|---|---|
| `hotelId` | `integer` | Agoda hotel id. |
| `hotelReviewId` | `integer` | Review id; dedup key with hotelId. |
| `providerId` | `integer` | Review provider id (332 Agoda, 3038 partner). |
| `rating` | `['number', 'null']` | Rating 0-10. |
| `ratingText` | `['string', 'null']` | Rating label, e.g. Exceptional. |
| `title` | `['string', 'null']` | Review title. |
| `comment` | `['string', 'null']` | Review body. |
| `positives` | `['string', 'null']` | What the guest liked. |
| `negatives` | `['string', 'null']` | What the guest disliked. |
| `reviewDate` | `['string', 'null']` | ISO-8601 review timestamp. |
| `checkInDate` | `['string', 'null']` | Check-in date. |
| `reviewerCountry` | `['string', 'null']` | Reviewer country. |
| `reviewGroupName` | `['string', 'null']` | Trip group, e.g. Family with young children. |
| `roomTypeName` | `['string', 'null']` | Room type booked. |
| `lengthOfStay` | `['integer', 'null']` | Nights stayed. |
| `images` | `array` | Guest photo URLs (empty OK). |
| `url` | `string` | Hotel page URL (the input URL, or the canonical reviews URL for id inputs). |

#### Example output

```json
{
  "hotelId": 10626,
  "hotelReviewId": 1079452297,
  "providerId": 332,
  "rating": 10.0,
  "ratingText": "Exceptional",
  "title": null,
  "comment": "It was an absolutely perfect accommodation...",
  "positives": null,
  "negatives": null,
  "reviewDate": "2026-03-01T06:54:58+07:00",
  "checkInDate": "2026-02-25",
  "reviewerCountry": "South Korea",
  "reviewGroupName": "Family with young children",
  "roomTypeName": "Deluxe Marina, Guest room, 1 King, Marina Bay view",
  "lengthOfStay": null,
  "images": [],
  "url": "https://www.agoda.com/marina-bay-sands/hotel/singapore-sg.html"
}
```

### 💰 Pricing

Pay-Per-Event — you pay only when these events fire:

| Event | USD | What it is |
|---|---:|---|
| `actor-start` | $0.2 | One-off warm-up charge per run |
| `result` | $0.002 | Per dataset item |

Example: 1 000 results at the rates above ≈ **$2.20**. No subscription, no minimum, no card to start — Apify gives every new account $5 of free credit.

### 🚧 Limitations

v1 returns reviews only: hotel details, prices and availability are not included. Input is hotel page URLs and numeric ids; hotel-name or city search is not supported. Review filters (language, room) and keyword search are not available yet.

### ❓ FAQ

**Do I need an Agoda account or API key?**

No. Give us hotel page URLs or numeric hotel ids and we do the rest.

**What happens if a hotel has no reviews?**

The run finishes successfully with zero rows for that hotel and a status message naming it. You pay only the small actor-start fee.

**Can I pass hotel ids instead of URLs?**

Yes. Numeric ids skip the page lookup and go straight to the reviews.

**Which sort orders are supported?**

Agoda's default feed order today (both review providers interleaved). More orders are added once verified.

### 💬 Your feedback

Spotted a bug, hit a weird edge case, or need a new field? Open an
issue on the Actor's **Issues** tab on Apify Console — we ship
fixes weekly and we read every report.

***

<div align="center">

Built by **[Devil Scrapes](https://apify.com/DevilScrapes)** 😈 — a small fleet of
opinionated public-data Actors. Honest pricing, real engineering, zero fine print.

</div>

# Changelog

This Actor's version history is a separate document: https://apify.com/devilscrapes/agoda-hotel-reviews-scraper/changelog.md

# Actor input Schema

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

Agoda hotel page URLs, for example https://www.agoda.com/marina-bay-sands/hotel/singapore-sg.html. Combine with hotel ids if you like.

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

Numeric Agoda hotel ids. Skips the page lookup and goes straight to the reviews.

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

Maximum review rows emitted for each hotel.

## `sort` (type: `string`):

Review ordering. Agoda's default feed order today; more orders are added once verified.

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

Apify Proxy. Defaults to RESIDENTIAL pinned to US; a bare useApifyProxy with no group resolves to datacenter egress.

## Actor input object example

```json
{
  "startUrls": [],
  "hotelIds": [
    10626,
    185945
  ],
  "maxReviews": 100,
  "sort": "recent",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

## `output` (type: `string`):

No description

## `datasetItems` (type: `string`):

All dataset items as JSON.

## `datasetItemsCsv` (type: `string`):

Same data exported to CSV.

## `datasetView` (type: `string`):

Open the run dataset in the Console.

# 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": [],
    "hotelIds": [
        10626,
        185945
    ],
    "maxReviews": 100,
    "sort": "recent",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("devilscrapes/agoda-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 = {
    "startUrls": [],
    "hotelIds": [
        10626,
        185945,
    ],
    "maxReviews": 100,
    "sort": "recent",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("devilscrapes/agoda-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 '{
  "startUrls": [],
  "hotelIds": [
    10626,
    185945
  ],
  "maxReviews": 100,
  "sort": "recent",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call devilscrapes/agoda-hotel-reviews-scraper --silent --output-dataset

```

## MCP server setup

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