DHgate Scraper - Prices, MOQ, Sold Counts & Stores ($0.50/1K)
Pricing
from $0.35 / 1,000 product scrapeds
DHgate Scraper - Prices, MOQ, Sold Counts & Stores ($0.50/1K)
Scrape DHgate.com search and category results: wholesale price ranges, MOQ, sold counts, ratings and store data, plus optional quantity price tiers. $0.50 per 1,000 products, platform usage included; failed pages and duplicates are free.
Pricing
from $0.35 / 1,000 product scrapeds
Rating
0.0
(0)
Developer
Ragnum
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
16 days ago
Last modified
Categories
Features
Share
DHgate Scraper: Wholesale Prices, MOQ, Sold Counts & Stores
Scrape DHgate.com search and category results into clean, typed rows: wholesale price ranges, minimum order quantity (MOQ), sold counts, ratings, discounts, coupons and the seller store behind each product. Turn on price tiers to also get each product's quantity price breaks (for example 1–9 pcs $34.33 … 1,000+ pcs $16.39).
- $0.50 per 1,000 products. Platform usage is included.
- +$2.00 per 1,000 products with price tiers (optional).
- Blocked pages, empty pages and duplicates are free. You pay only for rows delivered.
- Same output schema as Ragnum's Alibaba, AliExpress and Facebook Marketplace scrapers, so one script or AI agent can compare prices across marketplaces.
What you get
| Search by keyword | Any product keyword, e.g. "yoga mat", "led strip", "packaging box" |
| Category listings | Paste a DHgate category URL such as https://www.dhgate.com/wholesale/yoga-mats/c024064004009.html |
| Sort | Best match, Most orders, Price low → high, Price high → low, Newest |
| Wholesale fields | Price range, MOQ value and unit, store feedback %, seller tier, free shipping, US warehouse, coupons |
| Price tiers (opt-in) | Every quantity break with its unit price, plus the category path |
| Prices in US dollars | Ship-to United States. Every row says its currency and flags anything that isn't USD |
| Run report | RUN_SUMMARY with pages tried, blocks, success rate and rows per keyword |
Input example
{"keywords": ["yoga mat", "bluetooth earbuds"],"sortBy": "orders","maxItemsPerKeyword": 100,"maxPagesPerKeyword": 4,"includeDetails": false}
Or start from DHgate URLs:
{"startUrls": [{ "url": "https://www.dhgate.com/wholesale/search.do?searchkey=led+strip" },{ "url": "https://www.dhgate.com/wholesale/yoga-mats/c024064004009.html" }],"maxItemsPerKeyword": 200,"maxPagesPerKeyword": 6}
| Input | Default | Notes |
|---|---|---|
keywords | ["yoga mat"] (prefill) | One search per keyword |
startUrls | — | DHgate search URLs (/wholesale/search.do?searchkey=…) or category URLs (/wholesale/<name>/c<id>.html, …c<id>-<page>.html). Product and store pages are rejected with a clear message |
sortBy | default | default, orders, priceAsc, priceDesc, newest |
shipToCountry | US | United States only in this version |
includeDetails | false | Adds priceTiers, categoryPath, detailFetched from each product page |
maxItemsPerKeyword | 20 | Up to 3,000 (DHgate's own limit per search) |
maxPagesPerKeyword | 2 | Up to 50. About 40–50 products per page |
maxRetriesPerPage | 10 | Advanced |
proxyConfiguration | Managed for you | Advanced. Included in the price |
Pricing
| Event | Price | When it's charged |
|---|---|---|
product | $0.0005 ($0.50 per 1,000) | One product row saved to the dataset |
product-detail | $0.002 ($2.00 per 1,000) | Only with includeDetails, and only when the product page was read and the price tiers were added |
- Platform usage (compute, proxy, storage) is included. There's no start fee.
- Not charged: blocked or failed pages, retries, empty pages, duplicate products, and detail pages that couldn't be loaded. Such a product is still delivered with
detailFetched: false, charged asproductonly. - Spending limit: if you set a maximum cost per run, the scraper stops cleanly at it. It never fetches price tiers it can't charge for.
- Example: 100 products cost $0.05, or $0.25 with price tiers.
Output
One row per unique product (deduplicated by productId within a run). Example (shortened):
{"marketplace": "dhgate","productId": "1066500486","title": "Contrast-Colored PU Natural Rubber Yoga Mat - Anti-Slip …","url": "https://www.dhgate.com/product/contrast-colored-pu-natural-rubber-yoga-mat/1066500486.html","imageUrl": "https://img4.dhresource.com/webp/m/300x300/f3/albu/ys/o/15/fcc6a113-….jpg","price": 16.39, "originalPrice": 38.11, "discountPercent": 57,"currency": "USD", "currencyMismatch": false,"rating": 5, "reviewCount": 1, "soldCount": 1, "soldText": "1","storeName": "keshanue1", "storeId": "22002356","storeUrl": "https://www.dhgate.com/store/top-selling/22002356.html","keyword": "yoga mat", "page": 1, "position": 1, "isSponsored": false,"scrapedAt": "2026-11-07T22:25:20.569Z","priceMin": 16.39, "priceMax": 34.33, "priceText": "US $16.39 - 34.33","moqValue": 1, "moqUnit": "Piece","storeFeedbackPercent": 97.2, "storeLevel": 2, "freeShipping": null, "usLocalWarehouse": false,"coupons": ["$3 off $30+"],"priceTiers": [{ "minQty": 1, "maxQty": 9, "price": 34.33 },{ "minQty": 10, "maxQty": 13, "price": 32.61 },{ "minQty": 14, "maxQty": 99, "price": 31.14 },{ "minQty": 100, "maxQty": 999, "price": 26.22 },{ "minQty": 1000, "maxQty": null, "price": 16.39 }],"categoryPath": ["Sports & Outdoors", "Fitness Supplies", "Yoga", "Yoga Mats"],"detailFetched": true}
| Field | Type | Description |
|---|---|---|
marketplace | string | Always "dhgate" |
productId | string | DHgate item code |
title | string | null | Product title |
url | string | Product page URL |
imageUrl | string | null | Main image URL (images are never downloaded) |
price | number | null | Lowest current unit price (the largest-quantity tier) |
originalPrice | number | null | Lowest price before the running discount; null without a discount |
discountPercent | number | null | Discount in percent |
currency | string | ISO code detected from the price text; prices are never converted |
currencyMismatch | boolean | True when the row isn't in USD |
rating | number | null | Average out of 5; null when there are no reviews (never 0) |
reviewCount | integer | null | Number of reviews |
soldCount | integer | null | Recent sales as a number |
soldText | string | null | Sales count exactly as DHgate gives it |
storeName | string | null | Seller store name |
storeId | string | null | DHgate store number |
storeUrl | string | null | Store URL |
keyword | string | null | Keyword that found the row; null for category listings |
page | integer | Results page (1-based) |
position | integer | Position on the page (ads included) |
isSponsored | boolean | null | True for ads |
scrapedAt | string | ISO timestamp |
priceMin / priceMax | number | null | Lowest and highest unit price on the card |
priceText | string | null | Price as displayed |
moqValue | integer | null | Minimum order quantity |
moqUnit | string | null | MOQ unit ("Piece", "Pieces", "Lot", …) |
storeFeedbackPercent | number | null | Store's positive feedback rate |
storeLevel | integer | null | DHgate seller tier (1–6) |
freeShipping | boolean | null | Free-shipping flag from the card |
usLocalWarehouse | boolean | Ships from a US local warehouse |
coupons | string[] | Store coupons on the card |
priceTiers | array | null | includeDetails: [{minQty, maxQty, price}]; maxQty is null for the last, open-ended tier |
categoryPath | string[] | null | includeDetails: category breadcrumb |
detailFetched | boolean | includeDetails: true when the price tiers were added |
The first 22 fields are the Ragnum core schema. They have the same names and types in our Alibaba, AliExpress and Facebook Marketplace scrapers.
How many pages are read, and what happens when a page fails
A keyword stops at whichever comes first:
maxItemsPerKeywordmaxPagesPerKeyword- the last page of results (DHgate shows at most 3,000 results per search)
DHgate sometimes refuses automated requests. The scraper doesn't try to get around this; it retries the page later, up to maxRetriesPerPage times, at no cost to you. A page that still fails doesn't stop the keyword: the next page is fetched. Failed pages do count toward maxPagesPerKeyword, so set it a page or two above products ÷ 45 if you need an exact number.
Run summary (RUN_SUMMARY)
Every run writes a RUN_SUMMARY record to its key-value store (also linked in the run's Output tab):
- totals: pages attempted, succeeded and failed, attempts, blocks, rows pushed, details fetched and failed, page success rate, block rate, attempts per page
- per keyword: the same numbers, blocks, duplicates skipped, pages with no results, currencies seen
- currencyBreakdown, shipCountries, fillRates per field
- warnings:
STRUCTURE_CHANGE_SUSPECTED: a page loaded but parsed to 0 products, or a key field dropped below 90% filled. DHgate changes its site from time to time, and we watch this.CURRENCY_MISMATCHCHARGE_LIMIT_REACHED
- chargeLimitReached: true when the run stopped at your spending limit
The run's status message sums it up, e.g. 120 products from 3/3 pages.
Use with AI agents / Apify MCP
Add this scraper as a tool for Claude, Cursor or any MCP client:
https://mcp.apify.com?tools=ragnum/dhgate-scraper
The input descriptions are written for agents as well as people. The output uses typed numbers (no "US $" strings to parse), and the core fields match our Alibaba, AliExpress and Facebook Marketplace scrapers. That makes "find the cheapest supplier for X across marketplaces" a single tool call per site.
Scope
- Public, logged-out DHgate listing data. Optionally, the public product page for price tiers.
- Store-level data only. No buyer or reviewer personal data. Images are linked, not downloaded.
- US ship-to, prices in US dollars.
- Search and category listings.
Your responsibility
This scraper reads publicly visible pages, the same ones a visitor sees without logging in. You're responsible for using it, and the data you collect, in line with DHgate's Terms of Use, its robots.txt, and the laws that apply to you (for example on databases, copyright and personal data). If in doubt, get legal advice before large or commercial use.
FAQ
Why did I get fewer products than I asked for? Either a page stayed blocked after all retries (it counts toward the page limit), or the search simply has fewer results. Check RUN_SUMMARY.
Can I get prices in other currencies or for other countries? Not yet: v1 is US / USD only. A row in another currency would be flagged with currencyMismatch: true. Prices are never converted.
Are ads included? Yes. DHgate mixes sponsored listings into results, and they're marked isSponsored: true.