# Lazada Scraper - Products, Prices & Sellers (`goat255/lazada-scraper`) Actor

Scrape Lazada products without a login. Search any phrase or point it at a category or campaign URL, across six marketplaces in Southeast Asia. Walks pagination up to your chosen limit and returns clean rows with price, discount, rating, reviews, sold count, seller, brand and search rank.

- **URL**: https://apify.com/goat255/lazada-scraper.md
- **Developed by:** [Goutam Soni](https://apify.com/goat255) (community)
- **Categories:** E-commerce, Lead generation, Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 products

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
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

## Lazada Scraper

Extract Lazada products at scale without a login or API key. Search any phrase, or point the scraper at a category or campaign URL, and it walks the result pages for you up to the limit you set. Every row comes back in one clean, structured shape, with prices in the marketplace's own currency.

Works across six marketplaces: Singapore, Malaysia, Thailand, Philippines, Vietnam and Indonesia.

### What it does

- **Keyword search** - every product matching a phrase, with the marketplace, sort order and price range you choose.
- **Category and listing URLs** - walk a category, campaign or saved search link. Each link keeps its own marketplace, so a Malaysian link stays on the Malaysian storefront.
- **Search position** - every row carries the rank it held in the results, so you can measure where a product actually places.
- **Price and discount** - current price, original price before discount, and the discount percentage.
- **Demand signals** - rating, review count and units sold for each product.
- **Seller and brand** - seller name and id, brand, and the location the product ships from.
- **Pagination** - 40 products per page, walked automatically until `maxProductsPerSource` is reached or the source runs out. Duplicates are removed across the whole run.

### Input

| Field | Type | Description |
|---|---|---|
| `searchQueries` | array | Phrases to search. Example: `laptop`, `running shoes`. |
| `listingUrls` | array | Category, campaign or search links to walk. Example: `https://www.lazada.sg/shop-laptops/`. |
| `country` | string | Marketplace: `sg`, `my`, `th`, `ph`, `vn`, `id`. Default `sg`. |
| `sort` | string | `relevance`, `price_low`, `price_high`, `popularity`, `newest`. Default `relevance`. |
| `minPrice` | integer | Lower price bound, in the marketplace's currency. Optional. |
| `maxPrice` | integer | Upper price bound, in the marketplace's currency. Optional. |
| `maxProductsPerSource` | integer | Cap per phrase or URL. Default 80. |
| `concurrency` | integer | Sources processed in parallel. Default 5. |
| `proxyConfig` | object | Apify Proxy. On by default, residential group. |

At least one of `searchQueries` or `listingUrls` is required.

#### Example input

```json
{
  "searchQueries": ["laptop", "mechanical keyboard"],
  "country": "sg",
  "sort": "relevance",
  "minPrice": 100,
  "maxPrice": 2000,
  "maxProductsPerSource": 200,
  "concurrency": 3
}
```

### Output

Each item is one normalized product.

```json
{
  "type": "product",
  "id": "1234567890",
  "url": "https://www.lazada.sg/products/pdp-i1234567890.html",
  "title": "Acme 14 Inch Laptop, 16GB RAM, 512GB SSD",
  "brand": "Acme",
  "price": 549,
  "originalPrice": 899,
  "currency": "SGD",
  "discountPercent": 39,
  "rating": 4.62,
  "reviewCount": 218,
  "soldCount": 1400,
  "sellerName": "Acme Official Store",
  "sellerId": "1000000001",
  "location": "Singapore",
  "inStock": true,
  "sponsored": false,
  "mainImage": "https://example.com/image.jpg",
  "images": ["https://example.com/image.jpg"],
  "skuId": "9876543210",
  "categoryIds": ["57"],
  "marketplace": "sg",
  "query": "laptop",
  "position": 1,
  "scrapedAt": "2026-09-19T14:30:00.000Z"
}
```

Fields are always present. A value is `null` when the marketplace genuinely does not publish it, not when something went wrong.

### Notes

- **Pricing** is per product returned, so a run costs exactly what it collects.
- **Currency** follows the marketplace: SGD, MYR, THB, PHP, VND or IDR. Prices are never converted.
- **Position** is the rank within that source's results at the moment of the run, useful for tracking placement over time.
- **Sponsored** marks a placed listing so you can filter it out of organic analysis.
- **Proxy** defaults to the residential group, which returns more sources per run than the standard group on this storefront. You can lower it in the input if you would rather spend less bandwidth than collect more results.
- A source that returns nothing produces a single row with `ok: false` and a short reason, so a failure is never silent.
- To improve our actors we collect anonymized usage telemetry (run stats and input patterns). No personal account data is collected.

# Actor input Schema

## `searchQueries` (type: `array`):

Phrases to search the chosen marketplace for. Each phrase is walked through as many result pages as your per-source limit allows. Example: laptop, running shoes.

## `listingUrls` (type: `array`):

Lazada category, campaign or search result links to walk. The marketplace of each link is respected, so a Malaysian category link stays on the Malaysian storefront. Example: https://www.lazada.sg/shop-laptops/.

## `country` (type: `string`):

Which Lazada marketplace to search. Prices are returned in that market's own currency. Applies to search phrases; listing URLs keep their own marketplace.

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

Ordering applied to every source. Relevance is the storefront's own default ranking, which is what you want when you are measuring where a product places.

## `minPrice` (type: `integer`):

Only return products at or above this price, in the marketplace's own currency. Leave empty for no lower bound.

## `maxPrice` (type: `integer`):

Only return products at or below this price, in the marketplace's own currency. Leave empty for no upper bound.

## `maxProductsPerSource` (type: `integer`):

Cap on products returned for each search phrase or listing URL. Pagination is walked 40 products at a time until this is reached or the source runs out.

## `concurrency` (type: `integer`):

How many sources to process in parallel. Higher is faster but puts more load on proxies.

## `proxyConfig` (type: `object`):

Apify Proxy with the RESIDENTIAL group is the default, because it returns noticeably more sources per run than the standard group on this storefront. Lowering it to the standard group costs less bandwidth but returns fewer results.

## Actor input object example

```json
{
  "searchQueries": [
    "laptop"
  ],
  "listingUrls": [],
  "country": "sg",
  "sort": "relevance",
  "maxProductsPerSource": 40,
  "concurrency": 5,
  "proxyConfig": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `products` (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 = {
    "searchQueries": [
        "laptop"
    ],
    "maxProductsPerSource": 40,
    "proxyConfig": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("goat255/lazada-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 = {
    "searchQueries": ["laptop"],
    "maxProductsPerSource": 40,
    "proxyConfig": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("goat255/lazada-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 '{
  "searchQueries": [
    "laptop"
  ],
  "maxProductsPerSource": 40,
  "proxyConfig": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call goat255/lazada-scraper --silent --output-dataset

```

## MCP server setup

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