# Klook Reviews Scraper (`powerbox/klook-reviews-scraper`) Actor

Scrape Klook activity reviews — ratings, text, translations, authors and photos

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

## Pricing

from $2.99 / 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

## Klook Reviews Scraper

Collect structured traveler reviews from **Klook** activity and experience pages (attractions, tours, tickets). Pass one or more activity URLs — the Actor resolves the activity ID, paginates the reviews feed, and writes clean Dataset rows ready for sentiment analysis, SEO research, or competitor monitoring.

### Features

- **Activity URLs or IDs** — batch via `urls` / `product_urls` / `startUrls`
- **Paginated feed** — `page` + `page_size`, plus per-URL `max_review_per_page` and optional run-wide `resultsWanted`
- **Sort** — most relevant, newest, rating high→low, rating low→high
- **Language** — request translated content for locales such as `en`, `ko`, `ja`, `zh_TW`, `id`
- **Optional cutoff** — keep reviews on/after `cutoff_date`
- **Rich fields** — original & translated text, score label, author, photos, likes, package context, aggregates

### Input

| Field | Type | Default | Description |
| --- | --- | --- | --- |
| `urls` | array | — | Klook activity URLs (`…/activity/{id}-…`) |
| `product_url` / `product_urls` / `startUrls` | — | — | Aliases for the same sources / numeric IDs |
| `max_review_per_page` | integer | `100` | Cap per activity (API feed caps near 2000) |
| `resultsWanted` | integer | — | Optional global cap for the whole run |
| `page_size` | integer | `20` | Reviews per API page (1–100) |
| `page` | integer | `1` | 1-based start page |
| `sort_by` | string | `sort_most_relevant` | See sort options below |
| `language` | string | `en` | Locale for translations |
| `cutoff_date` | string | — | `YYYY-MM-DD`; drop older reviews |
| `proxyConfiguration` | object | — | Residential proxies recommended for production |

#### Sort options

- `sort_most_relevant`
- `sort_review_time_desc`
- `sort_score_high_to_low`
- `sort_score_low_to_high`

#### Example — newest reviews

```json
{
  "urls": [
    { "url": "https://www.klook.com/activity/363-dream-world-bangkok/" }
  ],
  "max_review_per_page": 20,
  "sort_by": "sort_review_time_desc",
  "language": "en"
}
```

#### Example — batch

```json
{
  "product_urls": [
    "https://www.klook.com/activity/363-dream-world-bangkok/",
    "https://www.klook.com/en-US/activity/251-lotte-world-seoul/"
  ],
  "max_review_per_page": 50,
  "sort_by": "sort_most_relevant",
  "language": "en"
}
```

### Output

One Dataset item per review:

| Field | Description |
| --- | --- |
| `page_id` / `page_url` | Activity ID and source URL |
| `review_id` | Review identifier |
| `time` | Review timestamp |
| `content_original` / `content_translate` | Original and translated body |
| `score` / `score_description` | 1–5 score and label (e.g. Fantastic) |
| `author` | Display name |
| `images` | Photo URLs when present |
| `like_count` | Helpful / like count |
| `package_name` / `package_id` | Booked package context when present |
| `overall_star_rating` / `overall_review_count` | Activity aggregates |
| `scrapedAt` | Scrape timestamp |

### Tips

- Start with one URL and a small `max_review_per_page` (e.g. 10–20) to validate the run.
- Use **RESIDENTIAL** proxies for production Apify runs.
- Activity ID is the number after `/activity/` in the path (e.g. `/activity/363-…` → `363`).
- Hotel detail URLs are not supported in this version — use activity/experience pages.

# Actor input Schema

## `urls` (type: `array`):

One or more Klook activity/experience URLs (path contains /activity/{id}). Accepts URL strings or { "url": "..." } objects.

## `product_url` (type: `string`):

Optional single activity URL. Use with or instead of urls.

## `product_urls` (type: `array`):

Batch list of activity URL strings. Alias for urls.

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

Alternative to urls. Accepts URL strings, { "url" } objects, or numeric activity IDs.

## `max_review_per_page` (type: `integer`):

Maximum reviews to save for each activity URL (1–2000). Klook caps the feed around 2000 reviews.

## `resultsWanted` (type: `integer`):

Global cap across all activities. Defaults to max_review_per_page × number of URLs when omitted.

## `page_size` (type: `integer`):

Reviews requested per API page (1–100).

## `page` (type: `integer`):

1-based start page for each activity.

## `sort_by` (type: `string`):

Activity review order. Hotels are not supported in this version.

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

Locale for translated review text (e.g. en, en_US, ko, ja, zh_TW, id).

## `cutoff_date` (type: `string`):

Only keep reviews on or after this date (YYYY-MM-DD). With newest sort, pagination stops once older reviews appear.

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

Residential proxies recommended for production.

## Actor input object example

```json
{
  "urls": [
    {
      "url": "https://www.klook.com/activity/363-dream-world-bangkok/"
    }
  ],
  "product_url": "https://www.klook.com/activity/363-dream-world-bangkok/",
  "max_review_per_page": 100,
  "page_size": 20,
  "page": 1,
  "sort_by": "sort_most_relevant",
  "language": "en",
  "cutoff_date": ""
}
```

# Actor output Schema

## `overview` (type: `string`):

Table view of reviews.

## `rawResults` (type: `string`):

All dataset items without a specific view.

# 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 = {
    "urls": [
        {
            "url": "https://www.klook.com/activity/363-dream-world-bangkok/"
        }
    ],
    "product_url": "https://www.klook.com/activity/363-dream-world-bangkok/",
    "max_review_per_page": 100,
    "page_size": 20,
    "page": 1,
    "sort_by": "sort_most_relevant",
    "language": "en",
    "cutoff_date": ""
};

// Run the Actor and wait for it to finish
const run = await client.actor("powerbox/klook-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 = {
    "urls": [{ "url": "https://www.klook.com/activity/363-dream-world-bangkok/" }],
    "product_url": "https://www.klook.com/activity/363-dream-world-bangkok/",
    "max_review_per_page": 100,
    "page_size": 20,
    "page": 1,
    "sort_by": "sort_most_relevant",
    "language": "en",
    "cutoff_date": "",
}

# Run the Actor and wait for it to finish
run = client.actor("powerbox/klook-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 '{
  "urls": [
    {
      "url": "https://www.klook.com/activity/363-dream-world-bangkok/"
    }
  ],
  "product_url": "https://www.klook.com/activity/363-dream-world-bangkok/",
  "max_review_per_page": 100,
  "page_size": 20,
  "page": 1,
  "sort_by": "sort_most_relevant",
  "language": "en",
  "cutoff_date": ""
}' |
apify call powerbox/klook-reviews-scraper --silent --output-dataset

```

## MCP server setup

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