# Lazada Review Scraper (`hello.datawizards/lazada-review-scraper`) Actor

Lazada reviews Scraper Pro extracts detailed product reviews data from Lazada in JSON format. Features include search queries, proxy support, Ideal for e-commerce research, competitor analysis, and price tracking. Contact DataWizards for custom solutions!

- **URL**: https://apify.com/hello.datawizards/lazada-review-scraper.md
- **Developed by:** [datawizards](https://apify.com/hello.datawizards) (community)
- **Categories:** Automation, E-commerce, Lead generation
- **Stats:** 57 total users, 3 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 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.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

### 📦 Lazada-Review-Scraper · Apify Actor

Effortlessly extract **detailed customer reviews** from Lazada product listings with structured JSON output, perfect for e-commerce analytics, market research, and consumer sentiment analysis. Built and maintained by [DataWizards](https://linkedin.com/in/data-wizards-aa8080342).

***

### 📌 What Is `Lazada-Review-Scraper`?

The `Lazada-Review-Scraper` Apify Actor is designed to **scrape customer reviews from Lazada product pages** efficiently and reliably. It extracts rich data such as ratings, review text, buyer details, images, videos, and more from specific Lazada product URLs. This pay-per-result actor is ideal for businesses, researchers, and developers seeking to analyze customer feedback, monitor product performance, or enhance e-commerce strategies.

No manual browsing or login required—just provide the product URLs and let the actor handle the rest!

***

### 🧠 Key Features

- ✅ **Comprehensive Review Data**: Extracts ratings, review text, buyer names, avatars, images, videos, and more in structured JSON.
- ✅ **Flexible Input**: Supports multiple Lazada product URLs for batch scraping.
- ✅ **Proxy Support**: Leverages Apify Proxy with **RESIDENTIAL IPs** for reliable scraping and reduced blocking.
- ✅ **Pay-Per-Result Pricing**: Cost-efficient, only pay for successful results.
- ✅ **Fast & Scalable**: Optimized for quick extraction and large-scale review collection.
- ✅ **Customizable Output**: Tailored fields like product ID, review ID, and grade items (logistics, product, seller reviews).

***

### 🛠️ Input Schema

To use the actor, provide a JSON input with the following structure:

```json
{
  "item_limit": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  },
  "urls": [
    "https://www.lazada.vn/products/pdp-i888770688-s2560802526.html?scm=1007.17760.398138.0&pvid=fd44f2f9-df0f-4b76-aa63-15b8c71b2033&search=flashsale&spm=a2o4n.homepage.FlashSale.d_888770688"
  ]
}
```

#### 🔐 Input Parameters

- **`item_limit`**: Maximum number of reviews to scrape per URL (e.g., `100`).
- **`proxyConfiguration`**:
  - **`useApifyProxy`**: Set to `true` for reliable scraping.
  - **`apifyProxyGroups`**: Use `["RESIDENTIAL"]` to minimize blocks and ensure high-quality results.
- **`urls`**: Array of Lazada product URLs to scrape reviews from.

***

### 📤 Output Example

The actor returns a structured JSON array of review data, as shown below:

```json
[
  {
    "ProductId": "888770688",
    "ReviewId": 442316165370688,
    "Rating": 5,
    "Section": "Customer Reviews",
    "Source": "Lazada Vietnam",
    "Review": "Nhập khẩu từ Úc để có hương vị chính gốc, Bao bì tiện lợi để mang theo, Lựa chọn bữa sáng ngon và lành mạnh, Nguồn cung cấp chất xơ và dinh dưỡng tuyệt vời, Yến mạch nguyên hạt chất lượng cao, Bắt đầu ngày mới với bữa ăn bổ dưỡng, Thành phần đa năng cho nhiều công thức, Dễ dàng chuẩn bị và nấu, \n 🍖Hương vị: thơm ⏱️Tiện lợi: khó ăn 🥦Giá trị dinh dưỡng: cao",
    "Date": "05 thg 4 2025",
    "Product_Name": "Combo 1kg Yến mạch ăn liền, nguyên hạt cán dẹt DK Harvest nhập khẩu Úc | yến mạch ăn liền, yến mạch úc, yến mạch giảm cân, ngũ cốc giảm cân",
    "URL": "https://www.lazada.vn/products/pdp-i888770688-s2560802526.html?scm=1007.17760.398138.0&pvid=fd44f2f9-df0f-4b76-aa63-15b8c71b2033&search=flashsale&spm=a2o4n.homepage.FlashSale.d_888770688",
    "Images": [
      "https://lzd-u.slatic.net/3b6ecf50a22346b0977db12fb5cfacca_3_1743821659.805262.jpg",
      "https://lzd-u.slatic.net/3b6ecf50a22346b0977db12fb5cfacca_4_1743821666.974350.jpg",
      "https://lzd-u.slatic.net/3b6ecf50a22346b0977db12fb5cfacca_5_1743821673.991364.jpg",
      "https://lzd-u.slatic.net/3b6ecf50a22346b0977db12fb5cfacca_6_1743821682.693320.jpg"
    ],
    "Videos": [
      "https://lazvideo.lazcdn.com/psp/20250405/86c6210c-f73a-419a-bd35-cd58e0f59a71@@ld.mp4?auth_key=1753809154-0-0-388810c56b22db08e63752f949db85a4"
    ],
    "Buyer_Name": "Dinh Q.",
    "Buyer_Avatar": "https://lzd-live-vn-member.oss-ap-southeast-1.aliyuncs.com/7d9b92d09a1b44188aaac3fd47635314_1_1683612827.307128.jpg",
    "Helpful_Count": 1,
    "Comments_Count": 0,
    "Grade_Items": {
      "LOGISTICS_REVIEW": 5,
      "PRODUCT_REVIEW": 5,
      "SELLER_REVIEW": 5
    }
  }
]
```

#### 📋 Output Fields

- **`ProductId`**: Unique identifier for the product.
- **`ReviewId`**: Unique identifier for the review.
- **`Rating`**: Star rating (1–5).
- **`Section`**: Review section (e.g., "Customer Reviews").
- **`Source`**: Platform source (e.g., "Lazada Vietnam").
- **`Review`**: Full review text, including emojis and formatted details.
- **`Date`**: Review submission date.
- **`Product_Name`**: Full product title.
- **`URL`**: Original product URL.
- **`Images`**: Array of image URLs attached to the review.
- **`Videos`**: Array of video URLs attached to the review.
- **`Buyer_Name`**: Name of the reviewer.
- **`Buyer_Avatar`**: URL of the reviewer’s avatar image.
- **`Helpful_Count`**: Number of users who found the review helpful.
- **`Comments_Count`**: Number of comments on the review.
- **`Grade_Items`**: Sub-ratings for logistics, product, and seller.

***

### 🚀 Use Cases

- 📊 **Consumer Sentiment Analysis**: Analyze customer feedback to understand product satisfaction and trends.
- 🛍️ **E-commerce Market Research**: Gather review data to assess product performance or competitor strategies.
- 📈 **Product Quality Monitoring**: Track ratings and reviews to identify strengths and weaknesses in products.
- 🤖 **Data-Driven Marketing**: Use review insights to craft targeted campaigns or improve product listings.
- 🧑‍💼 **Seller Performance Tracking**: Monitor seller and logistics ratings to optimize supply chain or vendor relationships.

***

### ✅ Best Practices

- **Use Residential Proxies**: Always enable `useApifyProxy` with `RESIDENTIAL` groups to avoid blocks and ensure reliable scraping.
- **Validate URLs**: Ensure input URLs are valid Lazada product pages to prevent errors.
- **Set Reasonable Limits**: Adjust `item_limit` based on your needs to balance speed and cost (e.g., `100` for moderate datasets).
- **Batch Processing**: Submit multiple URLs in a single run to maximize efficiency.
- **Monitor Usage**: For large-scale scraping, track your Apify usage to avoid hitting quotas.
- **Handle Rate Limits**: Space out requests or use Apify’s built-in retry mechanisms to handle temporary blocks.

***

### 🔧 Advanced Configuration Tips

- **Custom Item Limits**: Set `item_limit` to a lower value (e.g., `10`) for testing or higher (e.g., `500`) for bulk scraping.
- **Proxy Optimization**: Combine `RESIDENTIAL` proxies with Apify’s geo-targeting for region-specific results (e.g., Lazada Vietnam).
- **Error Handling**: Use Apify’s error logs to troubleshoot failed runs and refine input parameters.
- **Output Customization**: Contact DataWizards for tailored output formats or additional fields like sentiment scores or keyword extraction.

***

### 🤝 Support

Need help with setup, custom outputs, or troubleshooting?

**DataWizards are ready to assist!**

📩 **Email**: <hello.datawizard@gmail.com>\
✉️ **Subject**: `Lazada-Review-Scraper – Support Request`\
🔗 **Connect**: [linkedin.com/in/data-wizards-aa8080342](https://linkedin.com/in/data-wizards-aa8080342)

***

### 🧰 Need Something Custom?

Whether you need a specific review field, integration with your analytics pipeline, or a simplified output format, DataWizards can deliver tailored solutions to meet your needs.

**We’re always ready to enhance your scraping experience!**

***

### 💬 Feedback & Bugs

Encountered an issue or have a feature request?

📧 **Email**: <hello.datawizard@gmail.com>\
🛠️ **Subject**: `Bug Report – Lazada-Review-Scraper Actor`

#### 🏁 Start scraping Lazada reviews smarter with `Lazada-Review-Scraper` — your go-to solution for unlocking customer insights like a pro!

***

# Actor input Schema

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

A list of URLs of the web pages you want to scrape data from.

## `item_limit` (type: `integer`):

The maximum number of items to scrape.

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

Specifies proxy servers that will be used by the scraper in order to hide its origin.

## Actor input object example

```json
{
  "urls": [
    "https://www.lazada.vn/products/pdp-i1216257-s1509400.html?scm=1007.17760.398138.0&pvid=f6ea60ee-4e59-4916-a1e9-061a16fd83ae&search=flashsale&spm=a2o4n.homepage.FlashSale.d_1216257"
  ],
  "item_limit": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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": [
        "https://www.lazada.vn/products/pdp-i1216257-s1509400.html?scm=1007.17760.398138.0&pvid=f6ea60ee-4e59-4916-a1e9-061a16fd83ae&search=flashsale&spm=a2o4n.homepage.FlashSale.d_1216257"
    ],
    "item_limit": 100,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("hello.datawizards/lazada-review-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": ["https://www.lazada.vn/products/pdp-i1216257-s1509400.html?scm=1007.17760.398138.0&pvid=f6ea60ee-4e59-4916-a1e9-061a16fd83ae&search=flashsale&spm=a2o4n.homepage.FlashSale.d_1216257"],
    "item_limit": 100,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("hello.datawizards/lazada-review-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": [
    "https://www.lazada.vn/products/pdp-i1216257-s1509400.html?scm=1007.17760.398138.0&pvid=f6ea60ee-4e59-4916-a1e9-061a16fd83ae&search=flashsale&spm=a2o4n.homepage.FlashSale.d_1216257"
  ],
  "item_limit": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call hello.datawizards/lazada-review-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hello.datawizards/lazada-review-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/RUs0stSV3H5bXfQR9/builds/0GeQPqwQJ0rhsl6me/openapi.json
