License: MIT Apify Store Node.js
Scrape product data from DHgate.com β China's leading cross-border wholesale platform. Extract product names, prices, supplier info, feedback ratings, and more from search results.
Fast and lightweight β no browser needed. Pure HTTP requests with server-side rendered data extraction.
- π Keyword search with pagination support
- π¦ 60+ products per page, up to 50 pages per keyword
- π Rich data fields: product name, price range, min order, seller info, feedback rating, images
- π Sort options: best match, price, orders, newest
- π Ship-to country filter (affects pricing and availability)
- β‘ No browser required β fast, low-cost execution
- π€ Polite scraping with built-in delays and retry logic
npx apify-cli run -p
git clone https://github.com/wfgsss/dhgate-scraper-example.git cd dhgate-scraper-example npm install echo '{"searchKeywords": ["phone case"], "maxPages": 1}' > storage/key_value_stores/default/INPUT.json npm start
Results are saved to storage/datasets/default/.
curl -X POST "https://api.apify.com/v2/acts/YOUR_ACTOR_ID/runs" \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "searchKeywords": ["bluetooth earbuds", "led lights"], "maxPages": 3, "sortType": "orders_desc", "shipCountry": "us" }'
| Parameter | Type | Default | Description |
|---|---|---|---|
searchKeywords |
Array | ["phone case"] |
Keywords to search |
maxPages |
Integer | 3 |
Max pages per keyword (~60 products/page) |
sortType |
String | "" |
Sort: price_asc, price_desc, orders_desc, newest |
shipCountry |
String | "us" |
Ship-to country code |
Each product includes:
| Field | Description |
|---|---|
productName |
Product title |
price |
Price range (e.g., "US 2γγ«.54 - 10.78") |
simHighPrice |
Highest price in range |
minOrder |
Minimum order quantity |
productUrl |
Direct link to product page |
imageUrl |
Product image URL |
sellerName |
Seller/store name |
sellerStoreUrl |
Link to seller's store |
sellerLevel |
Seller tier level |
feedbackPercent |
Positive feedback percentage |
freeShipping |
Whether free shipping is available |
isAd |
Whether the listing is sponsored |
searchKeyword |
The keyword that found this product |
{
"itemcode": 1071872302,
"productName": "Liquid Silicone Phone Case For iPhone 17 16 15 14 13 Pro Max",
"price": "US 2γγ«.54 - 10.78",
"simHighPrice": "10.78",
"minOrder": "1 Piece",
"productUrl": "https://www.dhgate.com/product/liquid-silicone-phone-case/1071872302.html",
"imageUrl": "https://img4.dhresource.com/260x260/f3/albu/...",
"sellerName": "bluetoothheadphone1",
"feedbackPercent": "98.9%",
"freeShipping": false,
"isAd": false,
"searchKeyword": "phone case"
}- Dropshipping research β Find trending products with competitive pricing
- Price monitoring β Track wholesale prices across categories
- Supplier discovery β Identify reliable sellers by feedback rating
- Market analysis β Compare product availability and pricing trends
- Competitor research β Monitor what's selling on DHgate
Very lightweight. A typical run searching 3 keywords Γγ°γ€ 3 pages β ~540 products costs less than 0γγ«.01 in Apify platform usage.
- Yiwugo Scraper β Scrape China's largest offline wholesale market (Yiwu)
- Use both tools together to compare wholesale prices across platforms
- How to Scrape DHgate.com for Wholesale Product Data
- DHgate vs AliExpress: Which Platform Has Better Wholesale Data?
- How to Scrape Yiwugo.com Product Data
MIT
This tool is intended for legitimate business research purposes. Please respect DHgate's Terms of Service and use responsibly.