daraz.com.bd APIdaraz.com.bd ↗
Search products, retrieve product details, browse categories, and find best sellers on Daraz Bangladesh via a structured JSON API with 5 endpoints.
curl -X GET 'https://api.parse.bot/scraper/cdf90281-faa1-4811-ac8e-d85b75602758/search_products?page=1&sort=popularity&query=laptop' \ -H 'X-API-Key: $PARSE_API_KEY'
Search for products by keyword on Daraz Bangladesh. Returns a paginated list of products with basic info including price, rating, and seller details.
| Param | Type | Description |
|---|---|---|
| page | integer | Page number for pagination. |
| sort | string | Sort order. Accepted values: popularity, orders, priceasc, pricedesc. |
| queryrequired | string | Search keyword (e.g. 'laptop', 'phone', 'shoes'). |
{
"type": "object",
"fields": {
"page": "current page number (integer)",
"sort": "the sort order used",
"items": "array of product objects with name, item_id, sku_id, price, original_price, discount, rating, review_count, sold_count, location, seller_name, image, url",
"query": "the search query used",
"total_items": "total number of matching products (string)"
},
"sample": {
"data": {
"page": 1,
"sort": "popularity",
"items": [
{
"url": "https://www.daraz.com.bd/products/dell-latitude-3190-2-in-1-laptop-10th-gen-n5030-116-hd-i570642888.html",
"name": "Dell Latitude 3190 2-in-1 Laptop",
"image": "https://static-01.daraz.com.bd/p/daa08a5840f98c830f093acb4eb501cd.jpg",
"price": "18900",
"rating": "5.0",
"sku_id": "2622346482",
"item_id": "570642888",
"discount": "3% Off",
"location": "Dhaka",
"sold_count": null,
"seller_name": "TechFev",
"review_count": "0",
"original_price": "19500"
}
],
"query": "laptop",
"total_items": "4080"
},
"status": "success"
}
}About the daraz.com.bd API
The Daraz Bangladesh API gives developers structured access to daraz.com.bd across 5 endpoints, covering product search, detailed product data, category listings, category browsing, and best-seller identification. The search_products endpoint returns paginated results with fields like price, original_price, discount, rating, review_count, sold_count, and seller location — all queryable by keyword and sortable by popularity, order volume, or price.
Endpoints and Data Coverage
The API covers five operations against daraz.com.bd. search_products accepts a required query string plus optional page and sort parameters (accepted sort values: popularity, orders, priceasc, pricedesc) and returns a paginated list with total_items, alongside per-product fields: item_id, sku_id, name, price, original_price, discount, rating, review_count, sold_count, and location. get_best_selling_product runs the same query but forces sort=orders, making it a direct shortcut for surfacing top-selling items without passing the sort parameter manually.
Product Details and Category Navigation
get_product_details takes a full Daraz product page URL and returns structured fields: title, brand, price, discount, sku, item_id, category (as a path string), images (array of URLs), in_stock (boolean), and the canonical url. get_category_list returns an array of top-level category objects — each with a name and slug — that feed directly into browse_category. Pass one of those slugs to browse_category to get a paginated product list with the same fields as search results. Note that not all slugs returned by get_category_list are guaranteed to work with browse_category; known working slugs include womens-fashion and toys-games.
Quirks and Limitations
The browse_category endpoint may return an upstream error for category slugs whose pages do not support the underlying data format — this is a source-side constraint, not a parameter error. total_items in both search and browse responses is typed as a string, not an integer, so cast it before arithmetic. Seller review text and individual review content are not exposed in any current response; only aggregate rating and review_count are available.
- Track price and discount changes on specific Daraz Bangladesh products using
get_product_detailsand theprice/original_pricefields. - Build a best-seller ranking tool for any product category by querying
get_best_selling_productand sorting onsold_count. - Populate a product comparison page with title, brand, images, and in-stock status from
get_product_details. - Enumerate available top-level categories with
get_category_listand feed slugs intobrowse_categoryfor category-level inventory snapshots. - Monitor seller location distribution across search results using the
locationfield insearch_productsresponses. - Identify discount depth across a keyword search by comparing
priceandoriginal_pricereturned bysearch_products. - Surface trending products in specific niches by sorting
search_productsresults byordersand readingreview_countalongsidesold_count.
| 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 compared to `search_products`?+
search_products returns a lightweight summary per product: name, price, discount, rating, review_count, sold_count, and location. get_product_details returns richer data for a single product by URL: full title, brand, an images array, the category path, in_stock boolean, and SKU — fields that are not available in search results.Does the API return individual customer reviews or review text?+
rating and review_count fields in search and browse responses, but individual review content, reviewer names, and review dates are not included in any endpoint. You can fork this API on Parse and revise it to add a review-fetching endpoint.Are all category slugs from `get_category_list` usable with `browse_category`?+
get_category_list returns slugs for all top-level categories, but browse_category may return an upstream error for slugs whose category pages do not expose product data in the expected format. Known working slugs include womens-fashion and toys-games. If a slug fails, try an adjacent or more specific slug.