Daraz Product Scraper

Daraz Product Scraper

by itclan-bd

The fastest Daraz product scraper on Apify — 4,000+ products in under 40 seconds for only $0.69/1k results. Works in Bangladesh · Pakistan · Nepal · S...

140 runs
9 users
Try This Actor

Opens on Apify.com

About Daraz Product Scraper

The fastest Daraz product scraper on Apify — 4,000+ products in under 40 seconds for only $0.69/1k results. Works in Bangladesh · Pakistan · Nepal · Sri Lanka · Myanmar.

What does this actor do?

Daraz Product Scraper is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

Daraz Product Scraper The Daraz Product Scraper is a powerful tool that provides authenticated access to scrape product data from Daraz, one of the largest e-commerce platforms in South Asia. This tool allows you to extract detailed product information from multiple countries, enabling businesses and developers to gather crucial data for analysis, pricing strategies, inventory management, and more. --- ## ✨ Features - Multi-country support: Bangladesh, Pakistan, Nepal, Myanmar, Sri Lanka - Real-time data: Fetches live product information from Daraz search results - Smart pagination: Scrape up to 100 pages with configurable limits - Proxy support: Works with Apify Proxy or custom proxy URLs - Robust validation: Comprehensive input validation with detailed error messages - Data parsing: Intelligent handling of ratings, sales counts, and relative URLs - Structured output: Clean JSON data ready for analysis or integration --- ## 🚀 Use Cases - Price Monitoring: Track price changes across products. - Competitor Analysis: Gather insights about sellers, product availability, and ratings. - Market Research: Analyze trends across different product categories. --- ## ⚙️ Input Configuration | Field | Type | Required | Default | Description | |----------------|----------|----------|---------|-----------------------------------------------------| | country_domain | string | Yes | - | Country code: bd, pk, np, mm, lk | | search_keyword | string | Yes | - | Search term (1–200 characters) | | page | integer | No | 1 | Number of pages to scrape (1–100) | | proxyUrl | string | No | - | Custom proxy URL (e.g., http://user:pass@host:port) | --- ## 📝 Input Example json { "country_domain": "bd", "search_keyword": "wireless headphones", "page": 3, "proxyUrl": "http://user:pass@my-proxy.com:8080" // Optional } ## 🔎 Minimal Input json { "country_domain": "bd", "search_keyword": "mobile phones" } ## ✅ Output Schema Each product record contains the following fields: | Field | Type | Description | |----------------|----------|-----------------------------------------------| | name | string | Product title | | itemId | string | Unique product identifier | | price | string | Original price | | currentPrice | string | Current/discounted price | | brandName | string | Product brand (or "No Brand") | | sellerName | string | Seller/store name | | ratingScore | number | Average rating (0–5, up to 2 decimal places) | | itemSold | integer | Number of items sold | | location | string | Seller location | | image | string | Product image URL | | itemUrl | string | Full product page URL | | page | integer | Source page number | | searchKeyword| string | Search term used | | country | string | Country code (uppercase) | ## 📦 Output Example json [ { "name": "Wireless Bluetooth Headphones Pro", "itemId": "BD123456789", "price": "3500.00", "currentPrice": "2999.00", "brandName": "AudioTech", "sellerName": "TechStore BD", "ratingScore": 4.5, "itemSold": 15200, "location": "Dhaka", "image": "https://static-01.daraz.com.bd/p/mdc/headphones.jpg", "itemUrl": "https://www.daraz.com.bd/products/wireless-bluetooth-headphones-pro-i123456789.html", "page": 1, "searchKeyword": "wireless headphones", "country": "BD" } ] ## 🚀 Usage on Apify ### Web Interface 1. Create a new task for this actor. 2. Configure input parameters in the JSON editor. 3. Click Start to run the scraper. 4. Monitor execution in the Log tab. 5. Download results from Dataset or view Key-Value Store → OUTPUT. ### API Usage bash curl -H "Content-Type: application/json" \ --data '{ "country_domain": "bd", "search_keyword": "laptop", "page": 2 }' \ "https://api.apify.com/v2/acts/itclan-bd~daraz-product-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" ## 💻 JavaScript API Client javascript import { ApifyClient } from "apify-client"; const client = new ApifyClient({ token: 'YOUR_API_TOKEN' }); const input = { country_domain: 'bd', search_keyword: 'laptop', page: 2 }; const run = await client.actor('itclan-bd~daraz-product-scraper').call(input); const { items } = await client.dataset(run.defaultDatasetId).listItems(); console.log(items); ## 🌐 Supported Countries | Country Code | Domain | Marketplace | |--------------|-----------------|-------------| | bd | daraz.com.bd | Bangladesh | | pk | daraz.pk | Pakistan | | np | daraz.com.np | Nepal | | mm | shop.com.mm | Myanmar | | lk | daraz.lk | Sri Lanka | --- ## 🔒 Proxy Configuration The actor automatically handles proxy setup: - Default: Uses Apify Proxy for reliable data extraction - Custom: Provide your own proxy via proxyUrl parameter - Direct: Falls back to direct connection if no proxy is available ## ⚙️ Custom Proxy Format Examples of custom proxy URLs: json { http://user:password@proxy-host.com:8080 https://user:password@secure-proxy.com:3128 } ## Understanding Proxies Proxies serve as go-betweens for your internet traffic. When you connect through a proxy, your real IP address is hidden, and your requests appear to come from the proxy’s location instead of your own. ## Why Use Proxies? - Prevent IP Blocking: By distributing requests across different proxy addresses, you reduce the likelihood of a website detecting unusual activity and blocking your IP. - Bypass Geographic Restrictions: Proxies allow you to view content or access services that may be limited to certain regions. - Improve Privacy: Using a proxy helps keep your actual IP address private, offering an added layer of anonymity while browsing or collecting data online. --- ## ⚠️ Error Handling The actor validates inputs before execution and returns structured error objects. ### Validation Errors Example json { "status": "INPUT_ERROR", "message": "Your input is invalid", "details": [ "Invalid country_domain: 'us'. Must be one of: bd, pk, np, mm, lk", "search_keyword must be between 1 and 200 characters" ], "fix_suggestions": [ "Use valid country_domain: bd, pk, np, mm, lk", "search_keyword cannot be empty", "page must be a number between 1 and 100", "proxyUrl must be a valid URL (or leave empty)" ] } ## ❌ No Results If no products are found, the actor returns a structured response like this: json { "status": "NO_RESULTS", "message": "No products found for your search", "searchKeyword": "xyznonexistent", "country": "BD", "suggestion": "Try a broader keyword or different country" }

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try Daraz Product Scraper now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
itclan-bd
Pricing
Paid
Total Runs
140
Active Users
9
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support