APIs / Marketplaces / Daraz
1 credit per call4 endpoints19 datapointsChecked working 6 Dec 2026
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.
{
"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
}
}Sample data
What one call returns
A recorded run of search: the fields and shapes you will get, shortened to 3 items.
| # | item_idstring | namestring | brandstring | brand_idstring | sale_priceinteger | original_priceinteger | discountinteger | currencystring | ratingnumber | review_countinteger | sellerobject | availabilitystring | imageurl | variantsobject[] | categoriesnumber[] | locationstring | sold_countnumber | sold_count_textstring | urlurl |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 |
[
{
"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"
}
]item_id,name,brand,brand_id,sale_price,original_price,discount,currency,rating,review_count,seller,availability,image,variants,categories,location,sold_count,sold_count_text,url
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,"{""id"":""6005725792609"",""name"":""Trendza 11.11""}",in_stock,https://static-01.daraz.pk/p/2286a0921d4eb3b6e13cf74179a426df.jpg,"[{""sku_id"":""198407051614073840397""}]","[147,148,154]",Punjab,66,66 sold,https://www.daraz.pk/products/p47-fm-tf-tv-i1984070516.html
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,"{""id"":""6005725392705"",""name"":""Tech Gadgets Shop""}",in_stock,https://static-01.daraz.pk/p/58a9006b939bcfa66a759211d9b66fdb.png,"[{""sku_id"":""198306882314072087179""}]","[147,148,154]",Punjab,207,207 sold,https://www.daraz.pk/products/aux-tf-i1983068823.html
1983070808,Original p47 headphone Wireless Earbuds Invisible Ultra Small Bluetooth Handfree for all cell phones,No Brand,39704,455,777,41,PKR,,0,"{""id"":""6005469632775"",""name"":""Aboor Store""}",in_stock,https://static-01.daraz.pk/p/227efb25f5d62226984ea5ea0e857845.jpg,"[{""sku_id"":""198307080814072085052""}]","[147,148,154]",Punjab,,,https://www.daraz.pk/products/47-i1983070808.htmlRecorded from our API · 3 items shown · 19 datapoints per itemGET /v1/daraz/search?query=headphones
19 datapoints
Identity
- item_idstring
- namestring
- brandstring
- brand_idstring
Contact
- sellerobject
- urlurl
Location
- locationstring
Reputation
- ratingnumber
- review_countinteger
- imageurl
Price
- sale_priceinteger
- original_priceinteger
- discountinteger
- currencystring
Other
- availabilitystring
- variantsobject[]
- categoriesnumber[]
- sold_countnumber
- sold_count_textstring
Playground
Run this API
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 | item_id+3 optional | item_idcountrycurrencydelivery | 1 credit |
GET/v1/daraz/product | none+3 optional | item_idnamesku_idbrandbrand_iddescription+11 more | 1 credit |
GET/v1/daraz/reviews | item_id+2 optional | item_idcountrycurrencysummaryreviewspagination | 1 credit |
GET/v1/daraz/search | query+10 optional | countrycurrencyresultspagination | 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:
searchtakes aquery, withpage,sort(popularity,priceascorpricedesc),min_price,max_price,brand,category,location,ratingandppath. - Products:
producttakes anitem_idor a producturl.enrichtakes anitem_id, withsku_idandtype(detailordelivery). - Reviews:
reviewstakes anitem_id, withpage.
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.
More marketplaces APIs
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 countriesRank 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.