# Daraz Product Scraper (Pakistan, Bangladesh, Sri Lanka, Nepal) (`flourishing_catfish/daraz-product-scraper`) Actor

Scrape Daraz search and category pages: price, discount, rating, reviews, units sold, seller and location. daraz.pk, .com.bd, .lk, .com.np. No login.

- **URL**: https://apify.com/flourishing_catfish/daraz-product-scraper.md
- **Developed by:** [Make Life Fair](https://apify.com/flourishing_catfish) (community)
- **Categories:** E-commerce, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$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.

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

## Daraz Product Scraper — Pakistan, Bangladesh, Sri Lanka, Nepal

Extract product listings from **Daraz** (daraz.pk, daraz.com.bd, daraz.lk, daraz.com.np), the largest online marketplace in South Asia. Search by keyword or paste any Daraz search/category URL and get clean, structured data: prices, discounts, ratings, review counts, units sold, sellers and locations.

No login, no cookies, no browser — fast and cheap.

### What you get

| Field | Example |
|---|---|
| `name` | LENOVO CHROMEBOOK 100E - 4GB RAM … |
| `price` / `originalPrice` / `discountPercent` | 13000 / 16000 / 19 |
| `currency` | PKR, BDT, LKR or NPR |
| `rating` / `reviewCount` | 4.84 / 329 |
| `soldCount` / `soldText` | 1200 / "1.2K sold" |
| `sellerName` / `sellerId` / `location` | Laptop Distributor / … / Sindh |
| `brand`, `inStock`, `isSponsored` | |
| `url`, `image`, `itemId`, `skuId` | |
| `country`, `source`, `page`, `position`, `scrapedAt` | |

Export as JSON, CSV, Excel, or pull it through the Apify API, or connect it to Make, Zapier, n8n, Google Sheets, or your AI agent (MCP).

### Use cases

- **Price monitoring** — track competitor prices and discounts on Daraz daily.
- **Product research** — find best sellers by units sold and rating before you source.
- **Seller intelligence** — see who sells what, where they ship from, and how they price.
- **Market research** — compare categories across Pakistan, Bangladesh, Sri Lanka and Nepal.
- **Search rank tracking** — `position` tells you where a product appears for a keyword.

### Input

- **Country** — pk, bd, lk or np.
- **Search queries** — one keyword per line.
- **Start URLs** — any Daraz search or category page; filters in the URL are kept.
- **Max products per query** — up to ~4,080 (Daraz's own limit per query).
- **Sort** — best match, price low→high, price high→low.
- **Min / max price**, **skip sponsored**.

Example:

```json
{
  "country": "pk",
  "searchQueries": ["wireless earbuds", "air fryer"],
  "maxItemsPerQuery": 500,
  "sort": "popularity"
}
```

### Pricing

Pay per product returned — you only pay for results you get. Platform usage is included.

### Tips

- Use several narrow keywords instead of one broad one to get past the ~4,080 results-per-query cap.
- Schedule the actor (e.g. daily) to build a price history.

### Notes

This actor collects publicly visible listing data only. No personal data is collected. Please use the data in line with applicable laws and Daraz's terms.

### Sample output

One real product from a test run (long text shortened):

```json
{
  "itemId": "467116748",
  "skuId": "2204910103",
  "name": "LENOVO CHROMEBOOK 100E - 4GB RAM DDR4 - 32GB SSD EMMC - 11.6\" SCREEN - PLAYSTORE SUPPORTED - AUE UPDATE 2027",
  "url": "https://www.daraz.pk/products/lenovo-chromebook-100e-4gb-ram-ddr4-32gb-ssd-emmc-116-screen-playstore-supported-aue-update-2027-i467116748.html",
  "image": "https://static-01.daraz.pk/p/34ac1c58a31b289a102931b05382f440.jpg",
  "price": 13000,
  "originalPrice": null,
  "discountPercent": null,
  "currency": "PKR",
  "rating": 4.85,
  "reviewCount": 329,
  "soldCount": 1200,
  "soldText": "1.2K sold",
  "brand": "No Brand",
  "sellerName": "Laptop Distributor",
  "sellerId": "6005030625347",
  "location": "Sindh",
  "inStock": true,
  "isSponsored": false,
  "country": "pk",
  "source": "laptop",
  "page": 1,
  "position": 1,
  "scrapedAt": "2026-11-07T12:44:08.860996+00:00"
}
```

### How to use

1. Click **Try for free** (or Start).
2. Type product keywords (e.g. `laptop`) or paste any Daraz search/category URL.
3. Set the maximum number of products, then run.
4. Download the results as JSON, CSV, Excel or HTML, or send them to Google Sheets, Make, Zapier or a webhook.

You can schedule the run (daily, hourly) in Apify to track new products and price changes over time.

### How much does it cost?

**$4 per 1,000 products** ($0.004 per product), and Apify platform usage is included in that price.

| Products | Cost |
|---|---|
| 100 | $0.40 |
| 1,000 | $4 |
| 10,000 | $40 |

### Use it from code

Python:

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("flourishing_catfish/daraz-product-scraper").call(run_input={"searchQueries": ["laptop"]})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

HTTP API (returns the items directly):

```bash
curl -X POST "https://api.apify.com/v2/acts/flourishing_catfish~daraz-product-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" -d '{"searchQueries": ["laptop"]}'
```

### FAQ

**Do I need a Daraz account?** No. It reads public pages only, with no login and no browser.

**Is scraping Daraz legal?** It collects publicly visible data. You're responsible for how you use it: follow the site's terms and the data-protection law that applies to you (e.g. GDPR), and don't use it for spam.

**Something broke or a field is missing?** Report it on this Actor's Issues tab with the input you used.

### Also searched as

Daraz.pk scraper, Daraz Bangladesh prices, Daraz.lk products, Daraz Nepal, South Asia e-commerce price monitoring, competitor pricing

# Actor input Schema

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

Which Daraz site to search. Ignored for start URLs, which use their own domain.

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

Keywords to search, one per line.

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

Optional. Paste any Daraz search or category page URL (filters in the URL are kept).

## `maxItemsPerQuery` (type: `integer`):

Daraz shows at most about 4,080 results per query.

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

Order of results.

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

In local currency.

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

In local currency.

## `skipSponsored` (type: `boolean`):

Drop ads (sponsored placements) from results.

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

Usually not needed.

## Actor input object example

```json
{
  "country": "pk",
  "searchQueries": [
    "laptop"
  ],
  "maxItemsPerQuery": 20,
  "sort": "popularity",
  "skipSponsored": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (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"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("flourishing_catfish/daraz-product-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"] }

# Run the Actor and wait for it to finish
run = client.actor("flourishing_catfish/daraz-product-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"
  ]
}' |
apify call flourishing_catfish/daraz-product-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,flourishing_catfish/daraz-product-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/a6cpnKeEHy8cOLHkx/builds/JT09IQKfyddLqedaS/openapi.json
