Discover/daraz.pk API
live

daraz.pk APIdaraz.pk

Access Daraz Pakistan product listings, pricing, reviews, seller catalogs, and category data via 4 structured API endpoints.

Endpoints
4
Updated
10d ago
Try it
Page number for pagination.
Sort order. Accepted values: BestMatch, priceasc, pricedesc, rating, latest.
Search keyword (e.g. 'laptop', 'smartphone').
Minimum rating filter (1-5). Server-side filtering may vary.
Category slug to browse (e.g. 'womens-clothing', 'traditional-laptops').
Minimum price filter in PKR.
Maximum price filter in PKR.
api.parse.bot/scraper/668a2f8a-7eec-4765-8e69-8089abdf24ae/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/668a2f8a-7eec-4765-8e69-8089abdf24ae/search_products?page=1&query=laptop' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 4 totalclick to expand

Search for products by keyword or category with optional filters and sorting. Returns paginated product listings with filter options. At least one of query or category should be provided for meaningful results.

Input
ParamTypeDescription
pageintegerPage number for pagination.
sortstringSort order. Accepted values: BestMatch, priceasc, pricedesc, rating, latest.
querystringSearch keyword (e.g. 'laptop', 'smartphone').
ratingintegerMinimum rating filter (1-5). Server-side filtering may vary.
categorystringCategory slug to browse (e.g. 'womens-clothing', 'traditional-laptops').
price_lowintegerMinimum price filter in PKR.
price_highintegerMaximum price filter in PKR.
Response
{
  "type": "object",
  "fields": {
    "filters": "array of available filter options (category, brand, service)",
    "products": "array of product listing objects with name, itemId, priceShow, discount, ratingScore, image, sellerName, location, etc.",
    "pagination": "object with pagination details",
    "total_items": "string with total number of matching products"
  },
  "sample": {
    "data": {
      "filters": [
        {
          "name": "category",
          "title": "Category",
          "options": [
            {
              "title": "Mac Skin & Decal Stickers",
              "value": "mac-skin-decal-stickers"
            }
          ]
        }
      ],
      "products": [
        {
          "name": "Dell Latitude 5420",
          "image": "https://static-01.daraz.pk/p/1e90d8b7bda6ca8761df050cf0214fd8.jpg",
          "itemId": "488183989",
          "inStock": true,
          "discount": "51% Off",
          "location": "Sindh",
          "priceShow": "Rs. 98,999",
          "sellerName": "Tab & Tech (Online Store)",
          "ratingScore": "4.8"
        }
      ],
      "pagination": {},
      "total_items": "23927"
    },
    "status": "success"
  }
}

About the daraz.pk API

The Daraz.pk API gives developers structured access to Pakistan's largest e-commerce marketplace through 4 endpoints covering product search, full product details, category browsing, and seller inventory. The get_product_details endpoint alone returns seller info, SKU options, specifications, user reviews, Q&A, and warranty data in a single response. Use it to track prices, build comparison tools, or monitor seller catalogs programmatically.

Search and Browse

The search_products endpoint accepts a query keyword, a category slug, or both, and returns paginated product listings with fields including name, itemId, priceShow, discount, ratingScore, image, sellerName, and location. You can filter results by price_low and price_high (in PKR), a minimum rating (1–5), and sort by BestMatch, priceasc, pricedesc, rating, or latest. The response also includes a filters array of available facet options (category, brand, service) and a total_items count.

Product Details

get_product_details accepts either an item_id or a full product_url. The response is organized under a module object with named sections: seller (shop identity and metrics), specifications (attribute key-value pairs), review (ratings breakdown and user reviews), product (title, description, images), productOption and skuInfos (variant combinations and per-SKU pricing), qna (buyer questions and seller answers), and warranties. This makes it straightforward to reconstruct a full product page without any additional calls.

Category Tree and Seller Listings

get_categories returns the complete Daraz category hierarchy — up to three levels deep — under resultValue.categoriesLpMultiFloor, with IDs, names, URLs, and icons for every node. Category slugs from this response can be passed directly as the category parameter in search_products. The get_seller_products endpoint takes a seller_id (the shop slug from the seller's shop URL) and returns paginated product listings with the same fields as search results. Pagination is handled via a page parameter; the response includes a pagination object and total_items count. Empty product arrays indicate you've paged past the seller's inventory.

Common use cases
  • Track PKR price changes and discount levels for specific products using itemId across polling intervals.
  • Build a price comparison tool across Daraz sellers using skuInfos and sellerName from get_product_details.
  • Monitor a competitor's full product catalog by paginating through get_seller_products with their shop slug.
  • Seed a category taxonomy by pulling the full three-level hierarchy from get_categories.
  • Aggregate product ratings and review data for market research using ratingScore and the review module.
  • Filter in-stock laptops or smartphones by price range and minimum rating using search_products params.
  • Collect Q&A content from product pages using the qna section in get_product_details for NLP analysis.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 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.

Frequently asked questions
Does Daraz have an official public developer API?+
Daraz operates a Seller Center API (https://open.daraz.pk) intended for registered merchants to manage their own orders and listings. It is not a general-purpose data API and requires seller account credentials. This Parse API covers public catalog data not available through that seller-facing interface.
What does `get_product_details` return beyond basic pricing?+
The module object includes dedicated sections for specifications (structured attribute pairs), skuInfos (per-variant pricing and availability), qna (buyer questions with seller replies), warranties, and a review section with ratings breakdown. You can retrieve all of this in one call using either an item_id or a full product_url.
Does the API cover order history, wishlist data, or user accounts?+
No. The API covers public catalog data: product search, product details, category tree, and seller product listings. User-specific data such as order history, wishlists, and account information is not exposed. You can fork this API on Parse and revise it to add endpoints for any additional public-facing data you need.
How does pagination work for seller product listings?+
Pass a page integer to get_seller_products. The response includes a pagination object and a total_items string. When you request a page number beyond the seller's inventory size, the products array returns empty — that is the expected signal that you have reached the end of their catalog.
Is product availability or stock status included in search results?+
Search results via search_products return fields like priceShow, discount, ratingScore, and seller info, but do not include a discrete in-stock or inventory count field. Per-SKU availability detail is present in the skuInfos section returned by get_product_details. For broader stock monitoring across search results, you can fork this API on Parse and revise it to surface availability fields if they appear in the data.
Page content last updated . Spec covers 4 endpoints from daraz.pk.
Related APIs in EcommerceSee all →
mouser.com API
mouser.com API
bigbasket.com API
Browse and search BigBasket's online grocery catalog. Retrieve product details, pricing, stock availability, category trees, search suggestions, homepage promotions, and delivery coverage — all in one API.
woocommerce.com API
Browse and search thousands of WooCommerce extensions, themes, and business services from the official marketplace while accessing detailed product information, user reviews, and ratings. Integrate marketplace data, blog content, and documentation directly into your applications to help users discover and learn about WooCommerce solutions.
bilbasen.dk API
Search Denmark's largest car marketplace to find vehicles by make and model, then access detailed pricing and technical specifications including emissions, weight, MSRP, battery size, and equipment details. Get comprehensive car listings and full specs to compare vehicles on Bilbasen.dk.
leroymerlin.fr API
Search and browse Leroy Merlin France's complete product catalog to find items by category, view pricing, product details, and compare offerings from Leroy Merlin and their online partners. Access real-time product information including names, IDs, URLs, and seller details to help you discover and evaluate home improvement and DIY products.
lowes.com API
Search and browse products from Lowe's, including product listings by category, detailed product information, and pricing. Retrieve comprehensive details on specific items to compare options and make informed purchasing decisions.
vivino.com API
Search and discover wines across thousands of options while accessing detailed information like user reviews, pricing, winery profiles, and food pairing recommendations. Explore grape varieties, compare wines side-by-side, and find the perfect bottle based on ratings and availability.
lazada.co.th API
Search for products and browse categories on Lazada Thailand to find detailed information like prices, descriptions, and availability. Discover items by keyword or category to compare specifications and make informed purchasing decisions.
Daraz.pk API – Products, Search & Sellers · Parse