daraz.com.np APIdaraz.com.np ↗
Access Daraz Nepal product listings, detailed specs, flash sale items, and homepage data via 4 API endpoints. Filter by price, category, and sort order.
curl -X GET 'https://api.parse.bot/scraper/10c8e8d8-9b8b-48e7-a420-721a6a060e06/search_products?page=1&query=laptop' \ -H 'X-API-Key: $PARSE_API_KEY'
Search for products on Daraz Nepal with optional filters and pagination. Returns product listings with pricing, ratings, seller info, and category filters.
| Param | Type | Description |
|---|---|---|
| page | integer | Page number for pagination. |
| sort | string | Sort order. Accepted values: 'priceasc', 'pricedesc', 'popularity'. |
| price | string | Price range filter in format 'min-max' (e.g. '100-500', '10000-25000'). |
| queryrequired | string | Search keyword (e.g. 'laptop', 'smartphone'). |
| category | string | Category ID to filter results. |
{
"type": "object",
"fields": {
"page": "string representing current page number",
"items": "array of product listing objects with name, price, discount, rating, seller, images",
"categories": "array of category filter objects",
"total_results": "string or integer representing total number of matching products"
},
"sample": {
"data": {
"page": "1",
"items": [
{
"name": "Laptop Dell Latitude 5300",
"itemId": "183906479",
"itemUrl": "//www.daraz.com.np/products/laptop-dell-latitude-5300-i183906479.html",
"discount": "9% Off",
"location": "Bagmati Province",
"priceShow": "Rs. 40,500",
"sellerName": "E-Corn Store",
"ratingScore": "4.625"
}
],
"categories": [],
"total_results": "4080"
},
"status": "success"
}
}About the daraz.com.np API
The Daraz Nepal API covers 4 endpoints that return product search results, full product details, homepage module data, and live flash sale listings from daraz.com.np. The search_products endpoint accepts keyword queries with price range, category, and sort filters, returning item arrays with pricing, ratings, seller info, and discount fields. The get_flash_sale_products endpoint exposes stock levels and sold counts for time-limited promotions.
Endpoints and Data Coverage
The search_products endpoint accepts a required query string and optional parameters: page for pagination, sort for ordering by priceasc, pricedesc, or popularity, a price range in min-max format (e.g. 10000-25000), and a category ID. Responses include an items array of product objects with names, prices, discounts, ratings, seller identifiers, and images, alongside a categories array for faceted filtering and a total_results count.
Product Details and SKU Data
The get_product_details endpoint takes a full Daraz Nepal product URL and returns structured product data across several response objects. The product field includes title, brand, description, and highlights. The skuInfos object maps SKU IDs to stock, pricing, and availability, while skuGalleries maps SKU IDs to image arrays. The productOption field exposes base SKU properties and variant configurations — useful for products with multiple size, color, or bundle options.
Homepage and Flash Sale Data
The get_homepage_data endpoint requires no inputs and returns a modules array of component configurations alongside a data object keyed by module IDs covering banners, featured categories, and recommendation sections. The pageInfo field includes campaign and SPM tracking metadata. The get_flash_sale_products endpoint returns an items array with per-product title, price, discount percentage, remaining stock, and sold count, plus a total_items integer and an isShowSoldCnt flag indicating whether sold counts are publicly visible during the current sale.
- Track price changes for specific product categories using
search_productswith thepricefilter andpriceascsort. - Build a product comparison tool by fetching
skuInfosandproductOptionfromget_product_detailsfor multiple product URLs. - Monitor flash sale inventory by polling
get_flash_sale_productsfor stock levels and sold counts. - Aggregate discount data from flash sales to surface the highest percentage-off deals at any given time.
- Pull seller and rating data from
search_productsresults to evaluate vendor reputation across a category. - Extract homepage banner and featured category modules via
get_homepage_datato analyze current promotional campaigns. - Collect SKU-level image galleries from
skuGalleriesfor product catalog or comparison applications.
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does Daraz have an official public developer API?+
What does `get_product_details` return for products with multiple variants?+
skuInfos returns an object keyed by individual SKU IDs, each containing stock count, price, and availability status. productOption supplies the base properties and the option tree (e.g. size or color choices). skuGalleries maps each SKU ID to its own image array, so variant-specific visuals are accessible separately from the default gallery.Does the `search_products` endpoint support sorting by newest listings or user reviews?+
sort parameter accepts priceasc, pricedesc, and popularity. Sorting by newest or by review count is not exposed. You can fork this API on Parse and revise the endpoint to add additional sort options if Daraz surfaces them.Are product reviews or Q&A sections available through this API?+
How should the `price` filter be formatted in `search_products`?+
price parameter expects a string in min-max format using Nepalese Rupee amounts, for example 100-500 or 10000-25000. Only results within that price band are returned. If the parameter is omitted, no price filtering is applied and all matching results for the query are returned.