Discover/Daraz API
live

Daraz APIdaraz.pk

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

Endpoint health
verified 6d ago
search_products
get_categories
get_seller_products
get_product_details
4/4 passing latest checkself-healing
Endpoints
4
Updated
13d ago

What is the Daraz 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.

Try it
Page number for pagination.
Sort order for search results.
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.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/668a2f8a-7eec-4765-8e69-8089abdf24ae/search_products?page=1&sort=BestMatch&query=laptop&rating=1&category=traditional-laptops&price_low=1000&price_high=100000' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

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-pk-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: Daraz Pakistan SDK — search products, drill into details, browse seller inventory."""
from parse_apis.Daraz_Pakistan_API import Daraz, Sort, ProductNotFound

client = Daraz()

# Search for laptops sorted by price ascending, capped at 5 results
for product in client.products.search(query="laptop", sort=Sort.PRICE_ASC, limit=5):
    print(product.name, product.price_show, product.rating_score)

# Drill into the first result's full details (sub-resource navigation)
product = client.products.search(query="smartphone", limit=1).first()
if product:
    detail = product.details.get()
    print(detail.module)

# Browse a seller's products using constructible Seller
seller = client.seller(seller_id="rluo1j71")
for item in seller.products(limit=3):
    print(item.name, item.price_show, item.in_stock)

# List top-level categories
for cat in client.categories.list(limit=5):
    print(cat.category_name, cat.id)

# Typed error handling
try:
    client.products.get(item_id="0000000000")
except ProductNotFound as exc:
    print(f"Product not found: {exc.item_id}")

print("exercised: products.search / products.get / product.details.get / seller.products / categories.list")
All endpoints · 4 totalmissing one? ·

Full-text and category search over Daraz product listings. Returns paginated results with filter options (category, brand, service). At least one of query or category should be provided for meaningful results. Pagination via page number; each page returns up to ~40 items. Filters and sorting are server-side.

Input
ParamTypeDescription
pageintegerPage number for pagination.
sortstringSort order for search results.
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 Chromebook 3180/3100 11.6 Inch HD",
          "image": "https://static-01.daraz.pk/p/3a417f0b9a23ddad2b2f315dcb2eb311.jpg",
          "price": "9599",
          "itemId": "434350899",
          "review": "1356",
          "inStock": true,
          "discount": "52% Off",
          "location": "Sindh",
          "brandName": "Dell",
          "priceShow": "Rs. 9,599",
          "sellerName": "Smart Tech (Karachi)",
          "ratingScore": "4.58"
        }
      ],
      "pagination": {},
      "total_items": "26288"
    },
    "status": "success"
  }
}

About the Daraz API

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.

Reliability & maintenanceVerified

The Daraz API is a managed, monitored endpoint for daraz.pk — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when daraz.pk 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.pk 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.

Last verified
6d ago
Latest check
4/4 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
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,000100 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 →
daraz.com.bd API
Search and browse products on Daraz Bangladesh to find items across any category. Retrieve detailed product information, explore category listings, and surface top-selling items — all from a single API.
daraz.com.np API
Search for products on Daraz Nepal and access detailed product information, homepage data, and current flash sale offerings all in one place. Get real-time product details, pricing, and promotional content to help you find exactly what you're looking for on Nepal's leading e-commerce platform.
aliexpress.com API
Search for products across AliExpress and instantly access detailed information including product specs, customer reviews, and pricing to make informed purchasing decisions. Browse through product categories and retrieve complete product data directly from URLs to compare options and find exactly what you're looking for.
desertcart.com API
Search and browse products across Desertcart to access detailed information including specifications, images, pricing, and real-time availability. Explore product categories, subcategories, and variants to compare options and find exactly what you're looking for.
ozon.kz API
Browse and search thousands of products on Ozon.kz, view detailed product information, reviews, and seller details across category listings. Get instant search suggestions and explore the complete category tree to discover items that match your needs.
depop.com API
Browse and discover products on Depop by searching inventory, viewing detailed product information, seller profiles, and reviews, while exploring trending items and the complete category structure. Filter listings by various criteria, access seller information including their likes and past sales, and find similar products to items you're interested in.
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.
walmart.com API
Retrieve product data from Walmart.com including pricing, descriptions, availability, reviews, and category listings. Access real-time product information to search by keyword, look up items by ID or URL, and browse department categories.