# Daraz Scraper | Products & Reviews & Pages (`scrapedo/daraz-scraper`) Actor

Scrape Daraz.pk and Daraz Bangladesh, Nepal, Sri Lanka and Myanmar: prices, discounts, ratings, sold count, seller and brand. Optional full product details (specs, variants, description) and customer reviews. Search by keyword or paste URLs. Free trial, no setup. Powered by Scrape.do.

- **URL**: https://apify.com/scrapedo/daraz-scraper.md
- **Developed by:** [scrapedo](https://apify.com/scrapedo) (community)
- **Stats:** 1 total users, 1 monthly users, 87.9% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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 Scraper – Products, Prices, Sellers & Reviews

Extract product data from [Daraz](https://www.daraz.pk), South Asia's largest online marketplace, in **Pakistan (daraz.pk), Bangladesh (daraz.com.bd), Nepal (daraz.com.np), Sri Lanka (daraz.lk) and Myanmar (shop.com.mm)**. Get prices, original prices and discounts, ratings, review and sold counts, brand, seller and shipping location, and optionally the **full product page** (description, specifications, every variant with its own price and stock, image gallery, seller ratings, warranty) and **customer reviews**.

Search by keyword, or paste any Daraz search, category, store or product URL. Download results as JSON, CSV, Excel or HTML, or pull them through the Apify API.

**Powered by [Scrape.do](https://scrape.do/?utm_source=apify\&utm_medium=actor\&utm_campaign=daraz-scraper)** – every request goes through the Scrape.do web scraping API, which handles proxies, retries and Daraz's bot checks for you.

**Free to try:** your first run works without any setup and returns up to 50 products. After that, add your free Scrape.do API token to keep scraping, with every product plus product details and reviews.

### What you can do with it

- Monitor prices and discounts of your products or your competitors' across Daraz countries
- Research a category: best sellers, price ranges, top brands and sellers
- Find sellers for lead generation, with their ratings and store links
- Collect customer reviews for sentiment and product research
- Feed catalog, pricing and BI tools with fresh marketplace data

### How to use

**Option 1 – keywords.** Add one or more **Search keywords** (for example `wireless earbuds`), pick the **Country**, and optionally sort and filter by price and rating.

**Option 2 – URLs.** Open Daraz, go to a search, category or store page, apply any filters you like, copy the URL and add it to **Daraz URLs**. Single product pages (`/products/...-i123456.html`) work too. URLs from any Daraz country can be mixed in one run.

Set **Maximum products per search** (0 = no limit), and switch on **Include product details** and/or **Reviews per product** if you need them. Details and reviews need your own Scrape.do token (see below).

#### Input example

```json
{
    "scrapeDoToken": "YOUR_SCRAPEDO_TOKEN",
    "searchQueries": ["wireless earbuds", "power bank"],
    "country": "pk",
    "sortBy": "popularity",
    "minPrice": 1000,
    "maxPrice": 8000,
    "minRating": 4,
    "maxItems": 500,
    "includeDetails": true,
    "maxReviewsPerProduct": 20
}
```

### Output

Each product is one item. Example (with details and reviews, shortened):

```json
{
    "id": "512345678",
    "skuId": "2412345678",
    "url": "https://www.daraz.pk/products/wireless-earbuds-i512345678-s2412345678.html",
    "title": "Wireless Earbuds Bluetooth 5.3 with Charging Case",
    "brand": "Acme",
    "price": 2499,
    "originalPrice": 4999,
    "discountPercent": 50,
    "currency": "PKR",
    "priceText": "Rs. 2,499",
    "rating": 4.6,
    "reviewCount": 812,
    "soldCount": 3200,
    "inStock": true,
    "isSponsored": false,
    "sellerName": "Acme Official Store",
    "sellerId": "1234567",
    "location": "Punjab",
    "imageUrl": "https://static-01.daraz.pk/p/....jpg",
    "images": ["https://static-01.daraz.pk/p/....jpg", "..."],
    "badges": ["daraz_mall"],
    "country": "PK",
    "searchSource": "\"wireless earbuds\" (www.daraz.pk)",
    "position": 3,
    "ratingCount": 1450,
    "ratingBreakdown": { "5": 1100, "4": 210, "3": 70, "2": 30, "1": 40 },
    "sellerUrl": "https://www.daraz.pk/shop/acme-official-store/",
    "sellerPositiveRating": "94%",
    "sellerShipOnTime": "100%",
    "description": "Bluetooth 5.3 earbuds with 30 hours of playtime ...",
    "highlights": ["Bluetooth 5.3", "30h battery", "IPX5 water resistant"],
    "specifications": { "Brand": "Acme", "Model": "X1", "Warranty Type": "Brand Warranty" },
    "variants": [
        { "skuId": "2412345678", "options": { "Color": "Black" }, "price": 2499, "originalPrice": 4999, "currency": "PKR", "stock": 37 },
        { "skuId": "2412345679", "options": { "Color": "White" }, "price": 2599, "originalPrice": 4999, "currency": "PKR", "stock": 0 }
    ],
    "categoryPath": ["Electronic Accessories", "Audio", "Wireless Earbuds"],
    "warrantyAndReturns": ["6 Months Brand Warranty", "14 days easy return"],
    "detailsScraped": true,
    "reviews": [
        { "rating": 5, "text": "Great sound for the price", "author": "A***r", "date": "2 weeks ago", "variant": "Color:Black", "likes": 3, "images": [], "sellerReply": null }
    ],
    "scrapedAt": "2026-10-05T12:00:00.000Z"
}
```

#### Fields

| Field | Description |
|---|---|
| `id`, `skuId`, `url`, `title` | Daraz item ID, SKU, product link and title |
| `price`, `originalPrice`, `discountPercent`, `currency`, `priceText` | Current price, price before discount, discount and local currency |
| `rating`, `reviewCount`, `soldCount` | Star rating, number of reviews and items sold |
| `brand`, `sellerName`, `sellerId`, `location` | Brand, seller and where the item ships from |
| `inStock`, `isSponsored`, `badges` | Availability, sponsored placement and badges such as Daraz Mall |
| `imageUrl`, `images`, `categoryIds`, `country`, `position` | Images, category IDs, country and position in the search |
| `description`, `highlights`, `specifications` | With details: full product text and spec table |
| `variants` | With details: each size/color option with its own price and stock |
| `ratingCount`, `ratingBreakdown` | With details: number of ratings per star |
| `sellerUrl`, `sellerPositiveRating`, `sellerShipOnTime`, `sellerChatResponseRate` | With details: seller store link and ratings |
| `categoryPath`, `warrantyAndReturns` | With details: category breadcrumb, warranty and return policy |
| `reviews` | With reviews: rating, text, author, date, variant, photos, seller reply |

### Pricing and your Scrape.do token

There is no per-result fee for this actor; Apify only bills its normal platform usage, which is a fraction of a cent for a typical run. Pages are fetched through the Scrape.do web scraping API:

1. **One free trial run, no token** – leave the **Scrape.do API token** field empty on your first run and you get up to 50 products (details and reviews off). Good for checking the data before you sign up. Further runs need your own token.
2. **Your own Scrape.do token** – no product limit, details and reviews available. Requests use your Scrape.do credits: one request per 40 search results, plus one per product with details, plus one per 50 reviews. [Create a free Scrape.do account](https://scrape.do/?utm_source=apify\&utm_medium=actor\&utm_campaign=daraz-scraper) to get a token.

If Daraz shows its bot check, the actor switches to Scrape.do residential proxies automatically (these cost more credits per request). You can force either proxy type under **Advanced**.

### Tips

- **Large searches:** Daraz only shows about 4,000 results (102 pages) per search. When you ask for more, the actor splits the search into price ranges automatically.
- **Duplicates** are removed across pages, keywords and URLs, so each product appears once per run.
- **Speed:** raise **Parallel requests** if your Scrape.do plan allows more concurrency.

### FAQ

**Is scraping Daraz legal?** The actor collects publicly available product data. Reviews include buyer display names as shown on Daraz. You are responsible for using the data in line with Daraz's terms and applicable law, including data protection laws where relevant.

**Something broke or a field is missing?** Open an issue in the Issues tab and we will look at it.

# Actor input Schema

## `scrapeDoToken` (type: `string`):

Optional for your first run: without a token you get one free trial run of up to 50 products (details and reviews off). After that a token is required. Add your own Scrape.do token for unlimited products, product details and reviews; requests then use your Scrape.do credits. Get a free token at https://scrape.do/?utm_source=apify\&utm_medium=actor\&utm_campaign=daraz-scraper

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

One keyword per line, for example 'wireless earbuds' or 'samsung galaxy a15'. Each keyword is a separate search.

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

Daraz site used for the keyword searches. Pasted URLs always use the country of their own domain.

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

Search result, category or store pages (for example https://www.daraz.pk/smartphones/ or https://www.daraz.pk/catalog/?q=laptop) and/or single product pages (https://www.daraz.pk/products/...-i123456.html). Filters set on the Daraz page stay in the URL and are used as they are.

## `sortBy` (type: `string`):

Order of the search results.

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

In the local currency of the selected country (PKR, BDT, NPR, LKR or MMK).

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

In the local currency of the selected country (PKR, BDT, NPR, LKR or MMK).

## `minRating` (type: `integer`):

Only products rated at least this many stars (1 to 5).

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

Stop each keyword or URL after this many products. Set 0 for no limit (searches above Daraz's ~4,000 result cap are split by price automatically). The free trial run (no token) is limited to 50 products.

## `includeDetails` (type: `boolean`):

Also open each product page to add the full description, highlights, specifications, all variants (size/color with price and stock), full image gallery, category path, rating breakdown, warranty and seller ratings. Uses one extra request per product. Requires your own Scrape.do token.

## `maxReviewsPerProduct` (type: `integer`):

Add up to this many customer reviews to each product (text, stars, date, variant, photos). 0 = no reviews. Uses one extra request per 50 reviews. Requires your own Scrape.do token.

## `proxyMode` (type: `string`):

Auto starts with Scrape.do datacenter proxies and switches to residential proxies only if Daraz shows its bot check. Residential requests cost more Scrape.do credits.

## `maxConcurrency` (type: `integer`):

How many requests run at the same time. Keep it at or below your Scrape.do plan's concurrency.

## Actor input object example

```json
{
  "searchQueries": [
    "wireless earbuds"
  ],
  "country": "pk",
  "sortBy": "bestmatch",
  "maxItems": 100,
  "includeDetails": false,
  "maxReviewsPerProduct": 0,
  "proxyMode": "auto",
  "maxConcurrency": 5
}
```

# 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": [
        "wireless earbuds"
    ]
};

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

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

```

## MCP server setup

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