# Shopee Shop Ratings Scraper (`wyle/shopee-shop-reviews-scraper`) Actor

Scrape reviews, star ratings, and detailed store performance metrics from any Shopee shop without login.

- **URL**: https://apify.com/wyle/shopee-shop-reviews-scraper.md
- **Developed by:** [Willy Lengkong](https://apify.com/wyle) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 results

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

## Shopee Shop Reviews & Ratings Scraper

Extract verified reviews, star ratings, and comprehensive shop performance metrics from any Shopee store across Southeast Asia (Indonesia, Singapore, Malaysia, Philippines, Thailand, Vietnam, Taiwan, Brazil) without login or browser overhead.

### Features

- **Store-Level Rating Breakdown**: Captures overall star rating, counts of positive (`rating_good`), neutral (`rating_normal`), and negative (`rating_bad`) reviews, response rate, follower count, total items, and official shop badges.
- **Granular Review Records**: Stable review identifier (`cmtid`), star score, buyer comments, seller replies, timestamps, buyer photos (converted to high-resolution CDN URLs), and variation purchased.
- **Per-Aspect Sub-Scores**: Detailed ratings for Product Quality, Seller Service, and Delivery Service.
- **Star Rating Bucket Sweep**: Filter or sweep specific star ratings (`1`, `2`, `3`, `4`, `5`).
- **Flexible Filters**: Filter by written text only (`onlyWithText`) or media only (`onlyWithMedia`).
- **HTTP-Only & Lightweight**: Fast execution using TLS impersonation (`curl_cffi`) with zero headless browser overhead.

### Input Parameters

| Field | Type | Default | Description |
|---|---|---|---|
| `startUrls` | Array | `["https://shopee.co.id/unileverindonesia"]` | List of Shopee shop URLs or usernames. |
| `maxReviewsPerShop` | Integer | `100` | Maximum number of reviews to extract per shop. |
| `starRatings` | Array | `["5", "4", "3", "2", "1"]` | Which star rating buckets to sweep. |
| `onlyWithText` | Boolean | `false` | Only keep reviews with written text. |
| `onlyWithMedia` | Boolean | `false` | Only keep reviews with photos or videos. |
| `includeShopSummary` | Boolean | `true` | Include a store-level rating summary row. |
| `requestDelayMs` | Integer | `350` | Request delay in milliseconds. |
| `proxyConfiguration` | Object | `{ "useApifyProxy": false }` | Apify Residential proxy configuration. |

### Sample Output

#### Shop Summary Row (`type: "shop"`)

```json
{
  "type": "shop",
  "charged": false,
  "shop_id": 14318452,
  "shop_name": "Unilever Indonesia Official Shop",
  "rating_star": 4.88,
  "rating_good": 29378952,
  "rating_normal": 331177,
  "rating_bad": 112293,
  "rating_total": 29822422,
  "follower_count": 8945200,
  "item_count": 485,
  "response_rate": 98,
  "is_official_shop": true,
  "url": "https://shopee.co.id/shop/14318452"
}
```

#### Review Row (`type: "review"`)

```json
{
  "type": "review",
  "charged": true,
  "cmtid": 1058291485,
  "shop_id": 14318452,
  "rating_star": 5,
  "comment": "Barang original, pengemasan sangat rapi dan pengiriman super cepat!",
  "has_comment": true,
  "author_username": "b*****y",
  "author_masked": true,
  "product_name": "Vaseline Lip Care Rosy Tinted",
  "detailed_rating": {
    "product_quality": 5,
    "seller_service": 5,
    "delivery_service": 5
  },
  "images": [
    "https://down-id.img.susercontent.com/file/id-11134103-7r98r-lksdj291"
  ],
  "review_date": "2026-09-20T08:15:30+00:00"
}
```

# Actor input Schema

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

Shopee shop URLs (e.g., https://shopee.co.id/unileverindonesia or https://shopee.co.id/shop/14318452) or shop usernames.

## `maxReviewsPerShop` (type: `integer`):

Maximum number of review records to collect per shop (default: 100).

## `starRatings` (type: `array`):

Star rating buckets to sweep (1 to 5). Leave empty or select all to fetch across all ratings.

## `onlyWithText` (type: `boolean`):

When enabled, filters out ratings that contain no written review comment.

## `onlyWithMedia` (type: `boolean`):

When enabled, filters out reviews without buyer photos or videos.

## `includeShopSummary` (type: `boolean`):

Adds a comprehensive store performance & aggregate ratings row for each shop.

## `requestDelayMs` (type: `integer`):

Delay in milliseconds between requests to avoid triggering rate limits.

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

Use Apify Proxy (Residential recommended for high volume scraping).

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://shopee.co.id/unileverindonesia"
    }
  ],
  "maxReviewsPerShop": 100,
  "starRatings": [
    "5",
    "4",
    "3",
    "2",
    "1"
  ],
  "onlyWithText": false,
  "onlyWithMedia": false,
  "includeShopSummary": true,
  "requestDelayMs": 350,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

Shopee shop review records and store-level rating summary.

# 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://shopee.co.id/unileverindonesia"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("wyle/shopee-shop-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://shopee.co.id/unileverindonesia" }] }

# Run the Actor and wait for it to finish
run = client.actor("wyle/shopee-shop-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://shopee.co.id/unileverindonesia"
    }
  ]
}' |
apify call wyle/shopee-shop-reviews-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,wyle/shopee-shop-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/Gym7fXyZxuEhjwpsn/builds/7ydZ8FkY5OL4pXnmk/openapi.json
