Scrape category pages on daraz.pk
The call that returns category pages from daraz.pk today, with the parameters, patterns and failure modes read off the request log since 14 Aug 2026. Last tested 6 Sep 2026.
About daraz.pk
daraz.pk describes itself as “Pakistan's Best Online Shopping Store with 15+ Million Products at Resounding Discounts in Karachi, Lahore, Islamabad All Across Pakistan with Cash on Delivery (COD). Pick Your Favorite Mobiles, Appliances, Apparels, & Fashion Accessories on Amazing Deals Exclusively Available at Daraz.pk”.
Its robots.txt disallows 12 paths, among them /checkout/, /customer/, /cart/.
Measured on Crawlbase
Success rate over every request from every account in August 2026: 99.9%. Patterns, countries and failures come from the request log since 14 Aug 2026; 100% of successful calls used the JavaScript token and the median answer took 13.1s.
Among the 16 marketplaces sites in the Cookbook, daraz.pk ranks 2 of 16 by success rate; the category median is 99.6%. Its median answer of 13.1s is slower than the category median of 7.1s. 7 of the 16 accept the plain token; this one needs the JavaScript token.
The call
Category and listing pages are the shape the accounts fetch most here, with the country and token that succeed most often. Replace the placeholder path with a real section URL from the site.
curl "https://api.crawlbase.com/?token=YOUR_JS_TOKEN&url=https%3A%2F%2Fwww.daraz.pk%2Fcatalog"from crawlbase import CrawlingAPI api = CrawlingAPI({'token': 'YOUR_JS_TOKEN'}) r = api.get('https://www.daraz.pk/catalog') html = r['body']
const { CrawlingAPI } = require('crawlbase'); const api = new CrawlingAPI({ token: 'YOUR_JS_TOKEN' }); const r = await api.get('https://www.daraz.pk/catalog');
Parameters that matter
| Parameter | Set it to | Why |
|---|---|---|
country | leave unset | Most successful calls set no country (100%) and succeed at 100%. |
javascript | use the JavaScript token | 100% of calls use the JavaScript token and succeed at 100%. The plain token was tried too rarely (0 calls) to say anything about it. |
URL patterns accounts fetch
| Pattern | Share of successes | JavaScript token | Country | Query parameters |
|---|---|---|---|---|
/catalog | 100% | 100% | none | q |
Fields you get
Structured data Crawlbase found on daraz.pk, by page type. These are the schema.org types in the page, the fields your parser can read straight from the JSON-LD block:
- Detail page:
Product, BreadcrumbList
What breaks, and the fix
Of the failures since 14 Aug 2026, the site answered:
Run it on a schedule
Walk the listings on a cadence to find new items, then push the item URLs to the Crawler with a callback; it paces the calls and retries what the site refuses. The median answer on this site is 13.1s.
Questions
Do I need a browser to scrape daraz.pk?
Yes for most pages. JavaScript-token calls succeed at 100% while plain-token calls reach -%.
How much does a daraz.pk page cost on Crawlbase?
1 credit without a browser. daraz.pk is in the standard tier.
Which country should I set for daraz.pk?
None is needed: most successful calls leave it unset.
Other pages on daraz.pk
Pages daraz.pk lists in its own sitemaps, fetched by Crawlbase on 6 Sep 2026 and verified in 2 consecutive runs. Each row is the cheapest call that returned the page with its content.
| Page | Example | Token | Country | Median |
|---|---|---|---|---|
Home/ | daraz.pk/ | Plain | none | 9.6s |
Search/s/{slug} | buyer-helpcenter.daraz.pk/s/page | Plain | none | 2.8s |
Detail page/{slug}/products/{slug}Structured data: Product, BreadcrumbList | none | Plain | none | 11.7s |
Profile/{slug}/user/{slug} | none | JavaScript | none | 75.7s |
Other/{slug}/{slug}/{slug} | none | JavaScript | none | 13.5s |