# Lazada Scraper – Southeast Asia Products, Prices & Ratings (`claude_code_reviewer/lazada-scraper-en`) Actor

Scrape Lazada product listings across 6 Southeast Asia sites (Singapore, Malaysia, Thailand, Philippines, Vietnam, Indonesia) without an API: from-price, discount, brand, rating, sales and seller. Bulk-paste keywords; export JSON/CSV/Excel for cross-border product research and price comparison.

- **URL**: https://apify.com/claude\_code\_reviewer/lazada-scraper-en.md
- **Developed by:** [Chad](https://apify.com/claude_code_reviewer) (community)
- **Categories:** E-commerce, Developer tools, Agents
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 search 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/platform/actors/running/actors-in-store#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 Scraper | Southeast Asia Product & Price Data (No API)

Scrape **Lazada** search results: product name, from-price, discount, rating, review count, sales, seller and ship-from location. Covers **Singapore / Malaysia / Thailand / Philippines / Vietnam / Indonesia**. Uses Lazada's web ajax data — **no login, no API key, no token**. Bulk-paste keywords, get clean snake\_case structured output (JSON / CSV / Excel).

Great for: cross-border sourcing, competitor price monitoring, market/price research, sponsored-slot analysis, seller lead collection.

***

### Output fields

| Field | Description |
|---|---|
| `item_id` | Product (listing) ID, primary key |
| `name` | Product name |
| `url` | Product link (upgraded to `https:`) |
| `image` | Main image URL |
| `from_price` | **From-price** = the cheapest SKU's price (a product can hold several variants, so this is not the single authoritative price) |
| `from_price_show` | Displayed price with currency symbol, e.g. `$259.00` |
| `original_price` | Original price (`null` when no discount) |
| `discount` | Discount text, e.g. `32% Off` |
| `currency` | Currency by site (SGD/MYR/THB/PHP/VND/IDR) |
| `rating_score` | Average rating (0–5, rounded to 2 dp) |
| `review_count` | Number of reviews |
| `sold_count_show` | Sales display string, e.g. `203 sold`, `1.2k sold` |
| `in_stock` | Whether in stock |
| `brand` / `brand_id` | Brand / brand ID |
| `seller_name` / `seller_id` | Seller name / ID |
| `location` | Ship-from location (may be overseas / cross-border) |
| `cheapest_sku_id` | SKU id of the cheapest variant |
| `is_sponsored` | Whether it is a sponsored (ad) product |
| `category_ids` | Category ID array |
| `site` | Site code |
| `keyword` | The search keyword (your original input) |
| `scraped_at` | Scrape time (ISO 8601) |

> Missing values are always `null`; fields are never omitted.

### Modes

| Mode | Description | Status |
|---|---|---|
| `search` | Keyword → product listings | ✅ v1.0 |
| `detail` | Product link → full specs + all SKU prices + reviews | 🔜 v1.1 |

### Input parameters

| Parameter | Type | Description | Default |
|---|---|---|---|
| `site` | select | Site sg/my/th/ph/vn/id | `sg` |
| `keywords` | array | Search keywords (one concept per keyword works best) | — |
| `bulkInput` | string | One keyword per line, merged into `keywords` | — |
| `sort` | select | Best Match / price low→high / price high→low | `popularity` |
| `includeSponsored` | boolean | Whether to include ad products (filtered before billing when off) | `true` |
| `maxItems` | integer | Limit **per keyword** (1–500) | `50` |
| `proxyConfiguration` | proxy | Defaults to Apify residential (more reliable) | residential |

### Input examples

**1. Search earbuds in Singapore (first 10)**

```json
{ "site": "sg", "keywords": ["wireless earbuds"], "sort": "popularity", "maxItems": 10 }
```

**2. Malaysia running shoes, price ascending, exclude ads**

```json
{ "site": "my", "keywords": ["running shoes"], "sort": "price_asc", "includeSponsored": false, "maxItems": 20 }
```

**3. Bulk multi-keyword (Singapore)**

```json
{ "site": "sg", "bulkInput": "coffee machine\nmechanical keyboard\nbackpack", "maxItems": 15 }
```

**4. Thailand price monitoring**

```json
{ "site": "th", "keywords": ["power bank"], "sort": "popularity", "maxItems": 100 }
```

**5. Sponsored-slot analysis (who's buying ads)**

```json
{ "site": "sg", "keywords": ["protein powder"], "includeSponsored": true, "maxItems": 50 }
```

### Notes

- **`from_price` is a "from" price**: a Lazada product can hold multiple variants (color/size); the search row shows the cheapest variant's price, not a single authoritative price. The full per-variant price matrix arrives in **detail mode (v1.1)**.
- **`maxItems` is per keyword**: 3 keywords × 50 = up to 150 rows. If the same product ranks for two keywords it is emitted once per keyword (different `keyword` value) — this is intentional, to preserve per-keyword ranking data.
- **Sponsored products**: output and flagged as `is_sponsored=true` by default; with `includeSponsored=false` they are filtered out before billing and are never charged.
- **Query rewriting**: Lazada sometimes auto-translates/auto-corrects the search term (e.g. typos); when it does, the results reflect the rewritten query and the run log flags it.
- **`sold_count_show` is a raw string** (formats vary per site, e.g. `1.2k sold`) — kept verbatim, not force-parsed to a number.
- **Sales/stock are a snapshot**: the live Lazada page is authoritative.

### FAQ

**Q: Do I need a Lazada account or API key?**
No. It only scrapes public search results — no login or token.

**Q: Can I scrape multiple countries in one run?**
One site per run. Run it multiple times (or schedule multiple tasks) for more countries — currency and language differ per site.

**Q: Can I get full specs and all variant prices?**
Search mode gives the from-price; full specs + all SKU prices + reviews arrive in detail mode (v1.1).

**Q: Do Thailand / Vietnam / Indonesia sites work?**
Yes, the field structure is identical; names and search terms are in the local language.

**Q: How is it billed?**
Pay-per-event (PPE): $0.005 per run start + $0.002 per search result. You are only charged after data is successfully stored.

**Q: Will I get blocked?**
It defaults to Apify residential proxy (Lazada intermittently rate-limits the shared datacenter IP pool, returning empty; residential is more reliable). Switch to datacenter to save cost, at the risk of occasional empty runs.

### Disclaimer

This tool scrapes only publicly visible Lazada product information for market research and data analysis. Users must comply with Lazada's Terms of Service and applicable local laws, and are responsible for how the data is used. It collects no private data that requires a login. Prices, stock and sales are as displayed on the Lazada website.

***

*Keywords: Lazada scraper, Lazada API, Southeast Asia ecommerce scraper, Lazada product data, Lazada price monitoring, Singapore ecommerce scraper, Malaysia ecommerce scraper, Thailand ecommerce scraper, Lazada price tracking, cross-border sourcing, competitor price comparison, Lazada seller list, SEA marketplace data*

# Actor input Schema

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

Lazada v1.0 supports search mode.

## `site` (type: `string`):

Which Lazada country site to scrape. Currency differs per site (SGD/MYR/THB/PHP/VND/IDR).

## `keywords` (type: `array`):

Search keywords, e.g. wireless earbuds, backpack, coffee machine. One concept per keyword works best.

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

Result ordering: Best Match, price low to high, or price high to low.

## `includeSponsored` (type: `boolean`):

Whether to output sponsored (ad) products, flagged as `is_sponsored=true`. When off, sponsored rows are filtered out before billing and are never charged. Usually kept on for market/competitor research.

## `bulkInput` (type: `string`):

**One keyword per line** — press Enter for each, no quotes or commas. Merged into the keywords field at run time. Paste a whole column from Google Sheets / Excel for speed.

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

Max results **per keyword**. With N keywords you get up to N × this number. More items cost more.

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

Defaults to Apify residential proxy (Lazada intermittently rate-limits the shared datacenter IP pool to 0 results; residential is reliable and still high-margin at $0.002/result). Switch to datacenter to save cost, at the risk of occasional empty runs.

## Actor input object example

```json
{
  "mode": "search",
  "site": "sg",
  "keywords": [
    "wireless earbuds"
  ],
  "sort": "popularity",
  "includeSponsored": true,
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `dataset` (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 = {
    "mode": "search",
    "site": "sg",
    "keywords": [
        "wireless earbuds"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("claude_code_reviewer/lazada-scraper-en").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 = {
    "mode": "search",
    "site": "sg",
    "keywords": ["wireless earbuds"],
}

# Run the Actor and wait for it to finish
run = client.actor("claude_code_reviewer/lazada-scraper-en").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "search",
  "site": "sg",
  "keywords": [
    "wireless earbuds"
  ]
}' |
apify call claude_code_reviewer/lazada-scraper-en --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=claude_code_reviewer/lazada-scraper-en",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/vyoT6uy8OfgEEOcoO/builds/GaiwnrHzqyZGTiyjH/openapi.json
