
Daraz
Pricing
$2.00/month + usage

Daraz
Scrape product listings from Daraz.pk with the custom query, optional proxy, and pagination for e-commerce insights.
0.0 (0)
Pricing
$2.00/month + usage
1
Total users
30
Monthly users
5
Runs succeeded
94%
Last modified
6 months ago
Daraz.pk Scraper by Rigel Bytes
About the Scraper
The Daraz.pk Scraper allows you to extract product listings and detailed information from Daraz, the largest e-commerce platform in Pakistan. Whether you're performing price comparisons, competitor analysis, or market research, this scraper will efficiently collect data like product details, prices, seller information, and more.
Key Features
- Extracts product details including name, price, rating, reviews, and availability.
- Fetches seller information like seller name and location.
- Optionally input a proxy for private and controlled scraping.
- Scrape multiple pages of results by specifying the number of pages to extract.
- Supports both JSON and CSV output formats.
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 Parameters
- query (required): The search query (e.g., "laptop", "phone", "shoes").
- pages (optional): The number of pages to scrape (default: 1).
- proxy (optional): Your own proxy to use during scraping (useful for large-scale scraping).
Recommended Proxy Providers
-
Shifter
- Reliable residential proxies all over the world.
- Cheap rates
- Order Shifter Now
- Get 10% Off any product, use coupan
rigelbytes-YoBB
.
-
OxyLabs
- 100M+ Proxies
- Fastest proxies in the market
- Real profile, human-like Residential IPs
- Quality assurance framework for most reliable IPs
- Get Proxies
🙌 Why Buy Through Our Affiliate Link?
- Exclusive Deals: Some providers may offer special discounts or bonuses when you use our link.
- Support Our Work: Each purchase helps us maintain and improve the tools and services we provide.
- No Extra Cost: You pay the same price, but part of it goes to supporting our efforts.
API Request Examples
Python
from apify_client import ApifyClient# Initialize the ApifyClient with your API tokenclient = ApifyClient("<YOUR_API_TOKEN>")# Prepare the Actor inputrun_input = {"query": "mouthwash","pages": 3,"proxy": "http://username:password@proxyaddress:port"}# Run the Actor and wait for it to finishrun = client.actor("rigelbytes/daraz").call(run_input=run_input)# Fetch and print Actor results from the run's dataset (if there are any)for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
Node.js
import { ApifyClient } from 'apify-client';// Initialize the ApifyClient with API tokenconst client = new ApifyClient({token: '<YOUR_API_TOKEN>',});// Prepare Actor inputconst input = {"query": "mouthwash","pages": 3,"proxy": "http://username:password@proxyaddress:port"};(async () => {// Run the Actor and wait for it to finishconst run = await client.actor("rigelbytes/daraz").call(input);// Fetch and print Actor results from the run's dataset (if any)console.log('Results from dataset');const { items } = await client.dataset(run.defaultDatasetId).listItems();items.forEach((item) => {console.dir(item);});})();
cURL
# Set API tokenAPI_TOKEN=<YOUR_API_TOKEN># Prepare Actor inputcat > input.json <<'EOF'{"query": "mouthwash","pages": 3,"proxy": "http://username:password@proxyaddress:port"}EOF# Run the Actorcurl "https://api.apify.com/v2/acts/rigelbytes/daraz/runs?token=$API_TOKEN" \-X POST \-d @input.json \-H 'Content-Type: application/json'
Output
{"name": {"format": "string","label": "Name"},"itemUrl": {"format": "link","label": "URL"},"image": {"format": "image","label": "Primary Image"},"price": {"format": "string","label": "Price"},"originalPriceShow": {"format": "string","label": "Original Price Show"},"priceShow": {"format": "string","label": "Price (Unformatted)"},"ratingScore": {"format": "string","label": "Rating"},"review": {"format": "string","label": "Reviews"},"nid": {"format": "string","label": "Nid"},"itemId": {"format": "link","label": "Item ID"},"isSmartImage": {"format": "boolean","label": "Is Smart Image"},"location": {"format": "string","label": "Location"},"sellerName": {"format": "string","label": "Seller Name"},"sellerId": {"format": "string","label": "Seller ID"},"brandName": {"format": "string","label": "Brand Name"},"brandId": {"format": "string","label": "Brand ID"},"cheapest_sku": {"format": "string","label": "Cheapest SKU"},"skuId": {"format": "string","label": "SKU ID"},"sku": {"format": "string","label": "SKU"},"showFeedBack": {"format": "boolean","label": "Show Feedback"},"inStock": {"format": "boolean","label": "In Stock"},"itemSoldCntShow": {"format": "string","label": "Items Sold"},"longImageDisplayable": {"format": "boolean","label": "Long Image Displayable"},"promotionId": {"format": "boolean","label": "Promotion ID"},"isSponsored": {"format": "boolean","label": "Is Sponsored"},"tItemType": {"format": "string","label": "Item Type"},"skuType": {"format": "string","label": "SKU Type"},"adFlag": {"format": "string","label": "Ad Flag"},"directSimilarUrl": {"format": "string","label": "Direct Similar URL"},"gridTitleLine": {"format": "string","label": "Grid Title Line"},"isFission": {"format": "string","label": "Is Fission"},"isBadgeAutoScroll": {"format": "boolean","label": "Is Badge Auto Scroll"},"showCart": {"format": "boolean","label": "Show Cart"}}
Requirements
- An Apify account
- Search Query.
Understanding Proxies:
When scraping data or browsing anonymously, proxies are essential. They act as intermediaries, masking your original IP address and allowing you to send requests from another location.
Why Use Proxies?
- Avoid IP Blocks: By routing requests through proxies, you prevent the target website from recognizing your IP as a scraper or spammer.
- Access Geo-restricted Content: Proxies let you access content or websites restricted by location.
- Enhance Anonymity: Hide your actual IP, ensuring privacy while scraping or browsing.
Types of Proxies
- Residential Proxies
- Real IP addresses provided by ISPs to home users.
- They mimic regular users, making them harder to detect.
- Best for: Long-term, undetectable scraping, and avoiding blocks.
- Data Center Proxies
- IP addresses from servers in data centers.
- Faster and cheaper than residential proxies but easier to detect and block.
- Best for: High-speed scraping, but with a higher risk of detection.
- Mobile Proxies
- IPs provided by mobile carriers (3G/4G/5G networks).
- Very difficult to detect, as they appear as regular mobile users.
- Best for: Mobile-related scraping or avoiding sophisticated blocks.
Rotating Proxies vs. Straight Proxies
- Rotating Proxies: Every request you send goes through a different proxy, making it harder for websites to detect patterns.
- Straight Proxies: All requests are sent through the same proxy, making it easier to track your IP.
About Rigel Bytes
Rigel Bytes specializes in web scraping, automation, and data analytics. We help businesses extract and leverage valuable data for informed decision-making.
Contact Us
Ready to unlock the power of data? Reach out to us at (contact@rigelbytes.com) or book an appointment with us to learn more about how we can help you achieve your data goals.