Discover/Daraz API
live

Daraz APIdaraz.com

Search Daraz Pakistan products, fetch live flash sale deals, and retrieve full product details including SKUs, variants, and pricing via a simple REST API.

Endpoint health
verified 6d ago
search_products
get_flash_sale
get_product_details
3/3 passing latest checkself-healing
Endpoints
3
Updated
27d ago

What is the Daraz API?

The Daraz API covers 3 endpoints that expose product search, live flash sale listings, and per-item detail data from Daraz Pakistan. search_products returns up to 40 results per page with pricing, discount percentages, seller info, and ratings. get_flash_sale surfaces whatever deals are currently rotating on the Daraz homepage. get_product_details returns SKU-level data including variants, quantities, brand, and HTML description blocks.

This call costs1 credit / call— charged only on success
Try it
Page number for pagination. Each page returns up to 40 results.
Sort order for results. Omitting defaults to popularity (best match).
Search keyword or phrase (e.g. 'laptop', 'samsung phone', 'shoes').
api.parse.bot/scraper/b33591e0-a186-4631-87ec-13e7feebb281/<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/b33591e0-a186-4631-87ec-13e7feebb281/search_products?sort=popularity&query=laptop' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 3 totalmissing one? ·

Search for products on Daraz Pakistan by keyword. Returns paginated results with pricing, discount, rating, seller, and stock information. Supports sorting by popularity, price ascending, or price descending. Each page returns up to 40 items.

Input
ParamTypeDescription
pageintegerPage number for pagination. Each page returns up to 40 results.
sortstringSort order for results. Omitting defaults to popularity (best match).
queryrequiredstringSearch keyword or phrase (e.g. 'laptop', 'samsung phone', 'shoes').
Response
{
  "type": "object",
  "fields": {
    "page": "current page number",
    "has_more": "boolean indicating if more pages are available",
    "products": "array of product objects with item_id, name, price, discount, rating, seller, etc.",
    "page_size": "number of items per page (40)",
    "total_results": "total number of matching products"
  },
  "sample": {
    "data": {
      "page": 1,
      "has_more": true,
      "products": [
        {
          "name": "Dell Chromebook 3120 P22T 4GB RAM 16GB Storage Compact Laptop",
          "image": "https://static-01.daraz.pk/p/02a3fe65f98ef0ac73ab6972b563ebbf.png",
          "price": "12500",
          "sku_id": "2088376213",
          "item_id": "435016024",
          "discount": "14% Off",
          "in_stock": true,
          "item_url": "//www.daraz.pk/products/dell-chromebook-3120-...-i435016024.html",
          "location": "Punjab",
          "brand_name": "No Brand",
          "seller_name": "MyTechStorePK",
          "rating_score": "5.0",
          "review_count": "1",
          "price_display": "Rs. 12,500",
          "original_price": "14500",
          "original_price_display": ""
        }
      ],
      "page_size": 40,
      "total_results": 4080
    },
    "status": "success"
  }
}

About the Daraz API

What the API Returns

The API provides structured product data across three endpoints. search_products accepts a required query string and optional page and sort parameters (popularity, price ascending, or price descending). Each response includes total_results, has_more for pagination, and an array of product objects carrying item_id, name, price, discount, rating, and seller fields. Results are capped at 40 per page.

Flash Sales and Live Pricing

get_flash_sale takes no parameters and returns whatever items are currently active in the Daraz homepage flash sale. Each object in flash_sale_items includes sale_price, original_price, discount, sold_count, url, and image. Because flash sale inventory rotates continuously, repeated calls to this endpoint will reflect the current state at call time.

Product Detail and SKU Data

get_product_details accepts a numeric item_id — obtainable from either search_products or get_flash_sale results — and returns the full product record. This includes title, brand, highlights (HTML), description (HTML), a variants array covering dimensions like Color Family and Size, and a skus array where each entry carries sku_id, price, quantity, and seller_id. This is the endpoint to use when you need stock levels at the variant level.

Reliability & maintenanceVerified

The Daraz API is a managed, monitored endpoint for daraz.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when daraz.com 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 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
3/3 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 price changes on specific Daraz items by polling get_product_details with a stored item_id.
  • Aggregate live flash sale deals by parsing flash_sale_items with discount and sold_count fields.
  • Build a product comparison tool using search_products results across multiple keyword queries.
  • Monitor out-of-stock SKUs by checking quantity values within the skus array from get_product_details.
  • Generate a discount leaderboard from search_products sorted by price and filtered by the discount field.
  • Pull variant availability (color, size) for a product line using variants and matching skus entries.
  • Seed an affiliate catalog with product url, image, and sale_price from get_flash_sale.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. 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 provides a Seller Center API intended for merchants managing orders, inventory, and logistics on the platform. It is not designed for general product search or public catalog browsing. Documentation is available at open.daraz.com for registered sellers.
What does `get_flash_sale` return, and how fresh is the data?+
The endpoint returns the flash sale items currently displayed on the Daraz Pakistan homepage, including sale_price, original_price, discount, sold_count, and product URLs. Flash sales on Daraz rotate frequently — sometimes hourly — so the response reflects the state at the moment of the call, not a cached snapshot from earlier in the day.
Does `search_products` support filtering by category, brand, or price range?+
The current search_products endpoint accepts a query string and a sort parameter (popularity, price ascending, price descending) but does not expose category, brand, or price-range filters as distinct parameters. You can fork the API on Parse and revise it to add those filter inputs.
Are customer reviews and ratings returned by `get_product_details`?+
Product-level rating is included in search_products results, but get_product_details does not currently return a review list, review count, or per-reviewer text. The detail endpoint covers SKUs, variants, pricing, and description fields. You can fork the API on Parse and revise it to add a reviews endpoint using a Daraz product's item_id.
Is the API limited to Daraz Pakistan, or does it cover other Daraz markets like Bangladesh or Sri Lanka?+
The API targets daraz.com.pk (Pakistan) specifically. Other regional Daraz storefronts such as Bangladesh, Sri Lanka, Myanmar, and Nepal are not currently covered. You can fork the API on Parse and revise the base URL configuration to target another regional domain.
Page content last updated . Spec covers 3 endpoints from daraz.com.
Related APIs in EcommerceSee all →
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.
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.pk API
Browse and extract product data from Daraz Pakistan (daraz.pk). Search products by keyword or category, retrieve full product details, explore the category tree, and list all products for a given seller.
jumia.co.ke API
Search and browse thousands of products on Jumia Kenya, view detailed product information and reviews, and discover flash sales and homepage deals all in one place. Filter by category, check product SKUs, and stay updated on the latest offers to find exactly what you're looking for.
digikala.com API
Browse Digikala's special-offers section, search products by keyword with category and brand filtering, and retrieve full product details including pricing, variants, seller info, images, and specifications.
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.
dhgate.com API
Search DHgate's vast marketplace to find products across all categories, view detailed information including pricing tiers, shipping options, and seller ratings, and discover flash deals. Retrieve full product details and customer reviews in one place.
jumia.com.ng API
Search and browse thousands of products on Jumia Nigeria, including electronics, appliances, fashion, and more. Get real-time access to pricing, specifications, ratings, and availability across Jumia's full catalog to find and compare products.