Com APIdaraz.com.np ↗
Access Daraz Nepal product listings, search results, flash sale items, and homepage data via 4 structured endpoints. Prices, ratings, SKU variants, and more.
What is the Com API?
The Daraz Nepal API provides 4 endpoints to retrieve product search results, detailed product data, flash sale listings, and homepage content from daraz.com.np. The search_products endpoint supports keyword queries with price-range, category, and sort filters, returning up to 40 items per page with names, prices, discounts, ratings, and seller info. Product detail lookups via get_product_details return full SKU variants, image galleries, stock levels, and pricing per SKU.
curl -X GET 'https://api.parse.bot/scraper/10c8e8d8-9b8b-48e7-a420-721a6a060e06/search_products?page=1&sort=priceasc&price=1000-50000&query=laptop&category=54' \ -H 'X-API-Key: $PARSE_API_KEY'
Typed, relational, agent-ready
A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.
- Fully typed · autocompletes
- Objects link to objects
- Typed errors & pagination
Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:
uv add parse-sdk uv run parse init uv run parse add --marketplace daraz-com-np-api
uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.
"""Walkthrough: DarazNepal SDK — search products, browse flash sales, get details."""
from parse_apis.daraz_nepal_api import DarazNepal, Sort, ProductNotFound
client = DarazNepal()
# Search for laptops sorted by price ascending
for product in client.products.search(query="laptop", sort=Sort.PRICE_ASC, limit=5):
print(product.name, product.price_show, product.seller_name, product.rating_score)
# Get detailed info for a specific product
detail = client.productdetails.get(url="https://www.daraz.com.np/products/example-product-i12345.html")
print(detail.product, detail.product_option)
# List current flash sale items
for item in client.flashsaleitems.list(limit=3):
print(item.title, item.discount_price, item.discount, item.sold_count)
# Fetch homepage layout
homepage = client.homepages.get()
print(homepage.modules, homepage.page_info)
# Typed error handling
try:
client.productdetails.get(url="https://www.daraz.com.np/products/nonexistent-i999999999.html")
except ProductNotFound as exc:
print(f"Product not found: {exc}")
print("exercised: products.search / productdetails.get / flashsaleitems.list / homepages.get")
Full-text search over Daraz Nepal product listings. Supports filtering by price range, category, and sort order. Returns paginated results with product name, price, discount, rating, seller info, images, and available category filters. Each page returns up to 40 items.
| Param | Type | Description |
|---|---|---|
| page | integer | Page number for pagination. |
| sort | string | Sort order for results. |
| 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 representing total number of matching products"
},
"sample": {
"data": {
"page": "1",
"items": [
{
"name": "ASUS Vivobook 15",
"image": "https://static-01.daraz.com.np/p/ec2621a094cb99e567a6b56c32880d1b.jpg",
"itemId": "1514909056",
"itemUrl": "//www.daraz.com.np/products/asus-vivobook-15-i1514909056.html",
"discount": "26% Off",
"location": "Bagmati Province",
"brandName": "ASUS",
"priceShow": "Rs. 92,999",
"sellerName": "Computech",
"ratingScore": "5.0"
}
],
"categories": [],
"total_results": "4080"
},
"status": "success"
}
}About the Com API
Search and Filtering
The search_products endpoint accepts a required query string and optional parameters including price (formatted as 'min-max', e.g. '10000-25000'), category (a category ID), sort order, and page number for pagination. Each response includes a total_results count, the current page, an items array of product listings (each with name, price, discount, rating, seller, and images), and a categories array of filter objects you can use to build drill-down navigation.
Product Details and SKU Variants
The get_product_details endpoint takes a full Daraz Nepal product URL as input and returns a structured breakdown of the product. The product object contains the title, brand, description, highlights, and link. The skuInfos object maps individual SKU IDs to their stock availability and pricing. The skuGalleries object maps those same SKU IDs to arrays of images, so per-variant photos are addressable. The productOption object describes the base properties and configuration options (such as color or size variants). A globalConfig object provides site-level metadata including currency, country, and language codes.
Flash Sales and Homepage
The get_flash_sale_products endpoint returns items currently active in a Daraz Nepal flash sale window, including title, original price, discounted price, discount percentage, stock levels, and sold count. A total_items integer indicates how many items are in the current window. Flash sales rotate periodically; the endpoint may return an empty items array between active windows. The get_homepage_data endpoint returns the full CMS-driven homepage layout: banner sliders, countdown modules, featured categories, page metadata via pageInfo, and internationalization strings via modulesStaticI18n.
The Com API is a managed, monitored endpoint for daraz.com.np — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when daraz.com.np changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.
This isn't an official daraz.com.np API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.
Will this API break when the source site changes?+
Is this an official API from the source site?+
Can I fix or extend this API myself if I need a new endpoint or field?+
What happens if I call an endpoint that has an issue?+
- Track price drops on specific products using
skuInfospricing fields fromget_product_details - Build a price comparison tool for Nepali electronics by querying
search_productswith category and price filters - Monitor active flash sale discounts and stock levels via
get_flash_sale_products - Aggregate product catalog data including brand, description, and image galleries for a Nepal-focused shopping app
- Extract available SKU variants and their individual stock status for inventory tracking
- Analyze search result rankings and discount patterns across categories using paginated
search_productsresponses - Capture Daraz Nepal homepage promotional banners and featured categories for trend or campaign analysis
| 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 | 100 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 beyond basic pricing?+
product object with title, brand, description, and highlights; skuInfos mapping each SKU ID to its stock and pricing; skuGalleries mapping SKU IDs to image arrays; productOption describing variant configurations such as color or size; and a globalConfig object with currency and locale metadata.What happens when no flash sale is active?+
get_flash_sale_products endpoint will return an empty items array and total_items will be zero. Sale windows rotate periodically, so results change depending on when the request is made.Does the API return customer reviews or seller ratings?+
search_products endpoint returns aggregate rating data at the listing level. Individual customer review text, review counts, and detailed seller ratings are not currently returned by any endpoint. You can fork this API on Parse and revise it to add a reviews endpoint targeting individual product review data.Is pagination supported across all search results?+
search_products returns up to 40 items per page and exposes a page input parameter. The total_results field in the response lets you calculate how many pages exist for a given query. The other three endpoints (get_product_details, get_homepage_data, get_flash_sale_products) do not use pagination.