Daraz seller shop
A Daraz shop and its products: shop id, seller id and name, and the shop's catalog with name, id, link, price, original price, discount, rating, review count, location, stock, image, brand, categories, with the rating, price and category filters and the sort options. Search inside the shop with q, filter by price range or minimum stars, sort by popularity or price. Pass next_page back as page; null on the last page.
Every response includes credits_used: the credits this call cost.
Parameters
| name | type | description |
|---|---|---|
shoprequired | string | The shop slug from the shop's link (daraz.pk/shop/<slug>), or the link itself. Example: al-wahid-karachi |
country | pk | bd | lk | np | mm | Country site (default pk). |
q | string | Search words inside the shop (default: all products). |
sort | relevance | price_asc | price_desc | Sort order (default relevance). |
min_price | integer | Lowest price in whole units of the local currency. |
max_price | integer | Highest price in whole units of the local currency. |
rating | integer | Only products rated this many stars and up (1-5). |
page | integer | Page number (default 1). |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/daraz/v1/seller?shop=al-wahid-karachi" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/daraz/v1/seller",
params={"shop": "al-wahid-karachi"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/daraz/v1/seller");
url.searchParams.set("shop", "al-wahid-karachi");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).