---
title: "Daraz API: product search, details, variants as JSON"
description: "Daraz API for product search, details, variants, delivery and reviews in Pakistan, Bangladesh, Sri Lanka and Nepal as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/daraz
---

[APIs](https://perceptlayer.com/apis) / [Marketplaces](https://perceptlayer.com/verticals/marketplaces) / Daraz

1 credit per call 4 endpoints 19 datapoints 

# Daraz API

Daraz API for product search, details, variants, delivery and reviews in Pakistan, Bangladesh, Sri Lanka and Nepal as JSON. 1 credit per successful call.

[Get a free API key](https://perceptlayer.com/signup) Run it below

Daraz

GET /v1/daraz/search?query=headphones 

```
{
  "success": true,
  "data": {
    "query": "headphones",
    "country": "pk",
    "currency": "PKR",
    "results": [
      {
        "item_id": "1984070516",
        "name": "Wireless Headphones, P47 Bluetooth Foldable Headset with Microphone Support FM Radio TF for PC TV Smart Phones & Tablets Etc",
        "brand": "No Brand",
        "brand_id": "39704",
        "sale_price": 820,
        "original_price": 1699,
        "discount": 52,
        "currency": "PKR",
        "rating": 4.428571428571429,
        "review_count": 7,
        "seller": {
          "id": "6005725792609",
          "name": "Trendza 11.11"
        },
        "availability": "in_stock",
        "image": "https://static-01.daraz.pk/p/2286a0921d4eb3b6e13cf74179a426df.jpg",
        "variants": [
          {
            "sku_id": "198407051614073840397"
          }
        ],
        "categories": [
          147,
          148,
          154
        ],
        "location": "Punjab",
        "sold_count": 66,
        "sold_count_text": "66 sold",
        "url": "https://www.daraz.pk/products/p47-fm-tf-tv-i1984070516.html"
      },
      {
        "item_id": "1983068823",
        "name": "Wireless Bluetooth Headphones with Mic Deep Bass HiFi Stereo Noise Cancelling Foldable Over Ear Headset for Gaming Online Classes Gym Travel Laptop PC Support AUX TF Card Long Battery Backup Comfortable Ear Cushions Premium Sound Handsfree",
        "brand": "No Brand",
        "brand_id": "39704",
        "sale_price": 999,
        "original_price": 3499,
        "discount": 71,
        "currency": "PKR",
        "rating": 4.25,
        "review_count": 36,
        "seller": {
          "id": "6005725392705",
          "name": "Tech Gadgets Shop"
        },
        "availability": "in_stock",
        "image": "https://static-01.daraz.pk/p/58a9006b939bcfa66a759211d9b66fdb.png",
        "variants": [
          {
            "sku_id": "198306882314072087179"
          }
        ],
        "categories": [
          147,
          148,
          154
        ],
        "location": "Punjab",
        "sold_count": 207,
        "sold_count_text": "207 sold",
        "url": "https://www.daraz.pk/products/aux-tf-i1983068823.html"
      },
      {
        "item_id": "1983070808",
        "name": "Original p47 headphone Wireless Earbuds Invisible Ultra Small Bluetooth Handfree for all cell phones",
        "brand": "No Brand",
        "brand_id": "39704",
        "sale_price": 455,
        "original_price": 777,
        "discount": 41,
        "currency": "PKR",
        "review_count": 0,
        "seller": {
          "id": "6005469632775",
          "name": "Aboor Store"
        },
        "availability": "in_stock",
        "image": "https://static-01.daraz.pk/p/227efb25f5d62226984ea5ea0e857845.jpg",
        "variants": [
          {
            "sku_id": "198307080814072085052"
          }
        ],
        "categories": [
          147,
          148,
          154
        ],
        "location": "Punjab",
        "url": "https://www.daraz.pk/products/47-i1983070808.html"
      }
    ],
    "pagination": {
      "page": 1,
      "per_page": 40,
      "has_next": true,
      "total_results": 4080,
      "total_results_capped": true
    }
  },
  "meta": {
    "endpoint_family": "search",
    "request_id": "req_aa6ff12a0c8c4db990191a0095b4188f",
    "credits_charged": 1,
    "credits_remaining": 4935
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

Sample data

## What one call returns

A recorded run of `search`: the fields and shapes you will get, shortened to 3 items.

| # | item\_id string | name string | brand string | brand\_id string | sale\_price integer | original\_price integer | discount integer | currency string | rating number | review\_count integer | seller object | availability string | image url | variants object\[\] | categories number\[\] | location string | sold\_count number | sold\_count\_text string | url url |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | 1984070516 | Wireless Headphones, P47 Bluetooth Foldable Headset with Microphone Support FM Radio TF for PC TV Smart Phones & Tablets Etc | No Brand | 39704 | 820 | 1699 | 52 | PKR | 4.428571428571429 | 7 | {2 fields} | in\_stock | https://static-01.daraz.pk/p/2286a0921d4eb3b6e13cf74179a426df.jpg | \[1 item\] | \[3 items\] | Punjab | 66 | 66 sold | https://www.daraz.pk/products/p47-fm-tf-tv-i1984070516.html |
| 2 | 1983068823 | Wireless Bluetooth Headphones with Mic Deep Bass HiFi Stereo Noise Cancelling Foldable Over Ear Headset for Gaming Online Classes Gym Travel Laptop PC Support AUX TF Card Long Battery Backup Comfortable Ear Cushions Premium Sound Handsfree | No Brand | 39704 | 999 | 3499 | 71 | PKR | 4.25 | 36 | {2 fields} | in\_stock | https://static-01.daraz.pk/p/58a9006b939bcfa66a759211d9b66fdb.png | \[1 item\] | \[3 items\] | Punjab | 207 | 207 sold | https://www.daraz.pk/products/aux-tf-i1983068823.html |
| 3 | 1983070808 | Original p47 headphone Wireless Earbuds Invisible Ultra Small Bluetooth Handfree for all cell phones | No Brand | 39704 | 455 | 777 | 41 | PKR | — | 0 | {2 fields} | in\_stock | https://static-01.daraz.pk/p/227efb25f5d62226984ea5ea0e857845.jpg | \[1 item\] | \[3 items\] | Punjab | — | — | https://www.daraz.pk/products/47-i1983070808.html |

Recorded from our API · 3 items shown · 19 datapoints per item GET /v1/daraz/search?query=headphones

19 datapoints

### Identity

-   item\_id string
-   name string
-   brand string
-   brand\_id string

### Contact

-   seller object
-   url url

### Location

-   location string

### Reputation

-   rating number
-   review\_count integer
-   image url

### Price

-   sale\_price integer
-   original\_price integer
-   discount integer
-   currency string

### Other

-   availability string
-   variants object\[\]
-   categories number\[\]
-   sold\_count number
-   sold\_count\_text string

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/daraz/search?query=headphones" \
  -H "X-API-Key: $API_KEY"
```

Daraz · 4 endpoints

## Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/daraz/enrich`](https://perceptlayer.com/apis/daraz/enrich) | `item_id` +3 optional | `item_id` `country` `currency` `delivery` | 1 credit |
| [GET `/v1/daraz/product`](https://perceptlayer.com/apis/daraz/product) | none +3 optional | `item_id` `name` `sku_id` `brand` `brand_id` `description` +11 more | 1 credit |
| [GET `/v1/daraz/reviews`](https://perceptlayer.com/apis/daraz/reviews) | `item_id` +2 optional | `item_id` `country` `currency` `summary` `reviews` `pagination` | 1 credit |
| [GET `/v1/daraz/search`](https://perceptlayer.com/apis/daraz/search) | `query` +10 optional | `country` `currency` `results` `pagination` | 1 credit |

Overview

## About the Daraz API

## What you can get

The Daraz API returns Daraz marketplace data as JSON through 4 endpoints. Each takes a `country` ( `pk`, `bd`, `lk` or `np`).

-   **Search:** `search` takes a `query`, with `page`, `sort` ( `popularity`, `priceasc` or `pricedesc`), `min_price`, `max_price`, `brand`, `category`, `location`, `rating` and `ppath`.
-   **Products:** `product` takes an `item_id` or a product `url`. `enrich` takes an `item_id`, with `sku_id` and `type` ( `detail` or `delivery`).
-   **Reviews:** `reviews` takes an `item_id`, with `page`.

The recorded search for "headphones" in Pakistan returns `results`, each with `item_id`, `name`, `brand`, `sale_price`, `original_price`, `discount`, `currency`, `rating`, `review_count`, `seller`, `availability`, `image`, `variants`, `categories`, `location`, `sold_count` and `url`. Its `pagination` reports `total_results` of 4,080 with `total_results_capped` true, 40 per page. Prices are in the local currency (PKR for `pk`).

## How a call works

Search, then look up: `GET /v1/daraz/search?query=headphones` with your key in the `X-API-Key` header returns each product's `item_id`. Pass it to `product` for the description, `mrp`, seller and `variants` with their SKUs, to `reviews`, or to `enrich` with `type=delivery` for delivery options. Page search with `page` while `has_next` is true. Every successful call costs 1 credit; failed calls cost nothing.

Marketplaces JSON REST MCP

### More marketplaces APIs

[About You](https://perceptlayer.com/apis/about-you) [adidas](https://perceptlayer.com/apis/adidas) [Albert Heijn](https://perceptlayer.com/apis/albert-heijn) [ALDI SÜD](https://perceptlayer.com/apis/aldi-sued) [Alibaba](https://perceptlayer.com/apis/alibaba) [AliExpress](https://perceptlayer.com/apis/aliexpress) [Allegro](https://perceptlayer.com/apis/allegro) [ALTERNATE](https://perceptlayer.com/apis/alternate) [Alza](https://perceptlayer.com/apis/alza) [Amazon](https://perceptlayer.com/apis/amazon) [Americanas](https://perceptlayer.com/apis/americanas) [Aponeo](https://perceptlayer.com/apis/aponeo)

Use cases

### Track sale prices and discounts on Daraz across four countries

`Use the Daraz API to track sale prices and discounts on Daraz across four countries` 

### Rank the products in a search by \`sold\_count\`

`` Use the Daraz API to rank the products in a search by `sold_count` `` 

### Compare variants and SKUs for one listing with \`product\`

`` Use the Daraz API to compare variants and SKUs for one listing with `product` `` 

### Check delivery options for an item with \`enrich\`

`` Use the Daraz API to check delivery options for an item with `enrich` `` 

FAQ

## Questions

**How much does the Daraz API cost?**

Each successful call costs one credit, whichever endpoint you call, and each page of results or reviews is one call. New accounts get free credits to start, and credit packs bring the price down as you scale.

**Which countries are covered?**

Pakistan, Bangladesh, Sri Lanka and Nepal: set \`country\` to \`pk\`, \`bd\`, \`lk\` or \`np\`. The recordings use \`pk\`.

**Are review texts returned?**

Yes. Each review has \`review\_id\`, \`rating\`, \`text\`, \`date\`, \`purchase\_date\`, \`like\_count\` and \`sku\_info\`. The \`summary\` adds the average \`rating\`, \`review\_count\` and a \`rating\_breakdown\`; the recorded product had 16 reviews over 4 pages of 5.

**Do I need a Daraz account?**

No. You call this Daraz API with your Perceptlayer key in the \`X-API-Key\` header, with no Daraz login.

**Is this the official Daraz API?**

No. Perceptlayer is an independent service and is not affiliated with Daraz. It returns Daraz data as JSON with a Perceptlayer key, so there is no Daraz developer account, app review or partner approval to get first. It only reads data: if Daraz has an official API and you need to act on your own Daraz account, such as posting, managing orders or reading private data, use that one.

**Should I build a Daraz scraper instead?**

You can, but a Daraz scraper is code you maintain: page changes break it, requests get blocked, and Daraz's terms govern how you collect data. The Daraz API gives you 4 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

## Try the Daraz API with 100 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
