# 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 a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Lazada Scraper – Southeast Asia Products, Prices & Ratings",
        "description": "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.",
        "version": "1.0",
        "x-build-id": "GaiwnrHzqyZGTiyjH"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/claude_code_reviewer~lazada-scraper-en/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-claude_code_reviewer-lazada-scraper-en",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/claude_code_reviewer~lazada-scraper-en/runs": {
            "post": {
                "operationId": "runs-sync-claude_code_reviewer-lazada-scraper-en",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/claude_code_reviewer~lazada-scraper-en/run-sync": {
            "post": {
                "operationId": "run-sync-claude_code_reviewer-lazada-scraper-en",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "mode": {
                        "title": "🎯 Mode",
                        "enum": [
                            "search"
                        ],
                        "type": "string",
                        "description": "Lazada v1.0 supports search mode.",
                        "default": "search"
                    },
                    "site": {
                        "title": "🌏 Site",
                        "enum": [
                            "sg",
                            "my",
                            "th",
                            "ph",
                            "vn",
                            "id"
                        ],
                        "type": "string",
                        "description": "Which Lazada country site to scrape. Currency differs per site (SGD/MYR/THB/PHP/VND/IDR).",
                        "default": "sg"
                    },
                    "keywords": {
                        "title": "🔎 Keywords",
                        "maxItems": 50,
                        "uniqueItems": true,
                        "type": "array",
                        "description": "Search keywords, e.g. wireless earbuds, backpack, coffee machine. One concept per keyword works best.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "sort": {
                        "title": "🔀 Sort",
                        "enum": [
                            "popularity",
                            "price_asc",
                            "price_desc"
                        ],
                        "type": "string",
                        "description": "Result ordering: Best Match, price low to high, or price high to low.",
                        "default": "popularity"
                    },
                    "includeSponsored": {
                        "title": "📢 Include sponsored products",
                        "type": "boolean",
                        "description": "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.",
                        "default": true
                    },
                    "bulkInput": {
                        "title": "📋 Bulk paste",
                        "type": "string",
                        "description": "**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": {
                        "title": "📊 Max items",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "Max results **per keyword**. With N keywords you get up to N × this number. More items cost more.",
                        "default": 50
                    },
                    "proxyConfiguration": {
                        "title": "🌐 Proxy (advanced)",
                        "type": "object",
                        "description": "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.",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "RESIDENTIAL"
                            ]
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
