DHGate Products Scraper
Pricing
from $3.99 / 1,000 results
DHGate Products Scraper
Find profitable, low-MOQ products from DHGate.com, identify winning products for dropshipping and e-commerce resale.
Pricing
from $3.99 / 1,000 results
Rating
0.0
(0)
Developer
Coding Frontned
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
Share
What does DHgate Products Scraper do?
This Actor checks public product, category, and search-result pages on DHgate and extracts product details that appear in the page's public markup. Use it to collect product links, prices, minimum order quantities, images, seller references, and public rating details for product research.
The Actor makes direct public HTTPS requests. It does not sign in, use private APIs, solve challenges, or bypass robots.txt and other access controls. It checks only the page at each supplied URL, with retries for retryable request failures; it does not crawl links or move through pages automatically. DHgate may block a request or show a page with no product details, so a run can finish without saved products.
Why use this Actor?
- Gather public product details from DHgate pages you select.
- Compare product identity, available prices, images, minimum order information, and seller/store references when those details are present.
- Save the results in the run's dataset for review or download.
- Use Apify's run history, scheduling, API, and integrations to manage Actor runs. This Actor itself does not configure proxy rotation.
How to start a run
- Open the Actor and select the Input tab.
- Enter one or more public DHgate product, category, or search-result URLs in
startUrls. Replace the illustrative URLs in the examples with pages you want to check. - Choose a
maxItemslimit and adjust the advanced request settings only if needed. - Select Start. When the run ends, open Results to view or download the dataset. Check Output summary for the saved-record count and run status.
The Actor accepts up to 100 URLs. It removes duplicate product URLs across those pages. maxItems is one limit for the whole run, not a separate limit for each URL. If startUrls is omitted, the Actor checks the DHgate homepage; an empty list does not select a default and will produce a failed run with no product records.
Input
All fields are optional. Defaults are also used when a field is omitted. startUrls is a list of URL strings, not a search-keyword field. To search, open DHgate in your browser, apply any site filters there, then paste the resulting public search URL. The Actor has no separate filter, sort, or pagination settings. Add each page URL you want checked to startUrls; retryable failures may cause another request to the same URL.
Source and result limit
| Field | Type | Required? | Default | What it does |
|---|---|---|---|---|
startUrls | Array of strings | Optional | ["https://www.dhgate.com"] | Public DHgate product, category, or search-result URLs. At most 100 unique entries are processed. Only DHgate HTTP(S) URLs are accepted. |
maxItems | Integer | Optional | 10 | Maximum number of distinct products saved across all URLs. Minimum 1; maximum 100. Reaching this limit is a normal completion. |
Advanced settings (Developer Options)
These settings tune public HTTP requests. requestDelayMs applies between retries; it is not a delay between every URL.
| Field | Type | Required? | Default | What it does |
|---|---|---|---|---|
timeoutSecs | Integer | Optional | 30 | Timeout for an individual request, in seconds. Minimum 5; maximum 120. |
maxRetries | Integer | Optional | 2 | Maximum attempts for retryable request failures. Minimum 1; maximum 5. |
requestDelayMs | Integer | Optional | 300 | Milliseconds to wait between retry attempts. Minimum 0; maximum 5000. |
maxBytes | Integer | Optional | 5000000 | Maximum size for one DHgate page response, in bytes. The robots.txt response is separately capped at 1000000 bytes. Minimum 1000; maximum 15000000. |
Input examples
These URLs illustrate the accepted format; replace them with current public DHgate pages. The Actor may save no records if a page is empty, blocked, or does not contain product markup it recognizes.
Simple product-page check with a small limit:
{"startUrls": ["https://www.dhgate.com/product/example-wireless-earbuds/123456789.html"],"maxItems": 5}
Check a DHgate search-result URL with the default retry settings:
{"startUrls": ["https://www.dhgate.com/wholesale/search.do?act=search&searchkey=wireless%20earbuds"],"maxItems": 20}
Check several pages and deduplicate product URLs, with a global result limit:
{"startUrls": ["https://www.dhgate.com/wholesale/search.do?act=search&searchkey=wireless%20earbuds","https://www.dhgate.com/wholesale/search.do?act=search&searchkey=bluetooth%20headphones"],"maxItems": 25,"timeoutSecs": 45,"maxRetries": 3,"requestDelayMs": 500}
The Actor has no controls to turn individual product fields off. Fields missing from a page are omitted from its record. Unknown input fields are rejected.
Output
The dataset contains product business fields only. The required fields are source, productName, and productUrl; all other fields are optional and appear only when found in the page. Values and links in the JSON example below are illustrative and are not verified DHgate results.
When recognized product JSON-LD is available, the Actor retains the complete description and specification values, all distinct image links, and all offer tiers in the response within maxBytes. Text whitespace is normalized. It does not shorten those fields or stop their arrays at 50 entries. This applies to the markup on supplied pages; seller-page enrichment, variants, individual reviews, and automatic pagination are not implemented. A failed request does not establish that a product lacks those details.
{"source": "https://www.dhgate.com/","canonicalUrl": "https://www.dhgate.com/product/example-wireless-earbuds/123456789.html","productName": "Illustrative wireless earbuds","productUrl": "https://www.dhgate.com/product/example-wireless-earbuds/123456789.html","productId": "123456789","brand": "Example Audio","category": "Consumer Electronics","description": "Illustrative product description.","sku": "EX-AUDIO-01","price": "US $11.95","priceValue": 11.95,"priceMin": 11.95,"priceMax": 12.5,"priceCurrency": "USD","availability": "https://schema.org/InStock","imageUrl": "https://www.dhresource.com/example/earbuds-main.jpg","images": ["https://www.dhresource.com/example/earbuds-main.jpg","https://www.dhresource.com/example/earbuds-side.jpg"],"priceTiers": [{"minQuantity": 2,"maxQuantity": 9,"price": "12.50","priceValue": 12.5,"priceCurrency": "USD"},{"minQuantity": 10,"price": "11.95","priceValue": 11.95,"priceCurrency": "USD"}],"minimumOrderQuantity": 2,"minimumOrderText": "2 pieces minimum","specifications": {"Color": "Black","Connectivity": "Bluetooth"},"shipping": {"destination": "United States","rate": "4.00","rateValue": 4,"currency": "USD","handlingTime": "1-3 days","transitTime": "7-12 days"},"sellerStore": {"name": "Example Audio Store","url": "https://www.dhgate.com/store/example-audio/123456.html","logo": "https://www.dhresource.com/example/store-logo.jpg"},"ratingValue": "4.8","reviewCount": "126","reviewSummary": {"ratingValue": "4.8","reviewCount": "126","bestRating": 5,"worstRating": 1}}
Output fields
| Field | Type | Required? | Meaning |
|---|---|---|---|
source | String | Required | DHgate website supplying the product page. |
canonicalUrl | String | Optional | Canonical page URL when the page provides one. |
productName | String | Required | Public product title. |
productUrl | String | Required | Public DHgate product link. |
productId | String | Optional | Product identifier from public markup. |
brand | String | Optional | Product brand. |
category | String | Optional | Product category. |
description | String | Optional | Complete product description from recognized product JSON-LD, with whitespace normalized. |
sku | String | Optional | Public stock-keeping unit. |
price | String | Optional | Offer price text. |
priceValue | Number | Optional | Numeric offer price. |
priceMin | Number | Optional | Lowest numeric offer price. |
priceMax | Number | Optional | Highest numeric offer price. |
priceCurrency | String | Optional | Currency code when provided; a bare $ on a product card does not imply USD. |
availability | String | Optional | Public availability value. |
imageUrl | String | Optional | Primary product image link, including public CDN URLs such as DHgate's dhresource.com images. |
images | Array of strings | Optional | Distinct product image links. |
priceTiers | Array of objects | Optional | Each tier may include minQuantity, maxQuantity, price, priceValue, and priceCurrency. |
minimumOrderQuantity | Number | Optional | Minimum order quantity (MOQ) when provided. |
minimumOrderText | String | Optional | Public minimum-order wording. |
specifications | Object of strings | Optional | Complete public specification names and values from recognized product JSON-LD; private and operational entries are excluded. |
shipping | Object | Optional | May include destination, rate, rateValue, currency, handlingTime, and transitTime. |
sellerStore | Object | Optional | May include seller name, store url, and logo URL. |
ratingValue | String | Optional | Public aggregate product rating. |
reviewCount | String | Optional | Public aggregate review count, including an explicit zero. A rating count is used only when the review count is absent. |
reviewSummary | Object | Optional | May include ratingValue, reviewCount, bestRating, and worstRating. |
You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.
Run status and output summary
Run success is based on product records that passed validation and were saved to the dataset. A run with no real product records is marked failed, including blocked, empty, or diagnostic-only runs. If a later URL or dataset write fails after products were saved, the run succeeds with limited results and isPartial is true. Reaching maxItems is normal completion.
The separate Output summary link opens the OUTPUT_SUMMARY record in the run's default Key-value store. It contains exactly these fields:
| Field | Type | Required? | Meaning |
|---|---|---|---|
status | String | Required | SUCCEEDED when at least one product record was saved; otherwise FAILED. |
itemsStored | Nonnegative integer | Required | Number of validated product writes acknowledged by the dataset. |
isPartial | Boolean | Required | true when a failure stopped part of a run that saved products. |
Illustrative completed-run summary:
{"status": "SUCCEEDED","itemsStored": 2,"isPartial": false}
The summary is not added to the product dataset. Failure details are available in the run log.
Tips, access limits, and cost
- Use public DHgate HTTP(S) URLs. The Actor rejects other domains and skips pages disallowed by
robots.txt. - DHgate can block requests or return pages without recognizable product markup. The Actor does not attempt to bypass those controls, so a run may save no products.
- Provide each page you want checked. The Actor does not follow links, paginate, sort, or apply product filters itself.
- Optional fields vary by page and may be absent. No missing price, URL, image, seller detail, or count is filled with a placeholder.
- The Actor's price and Apify compute charges are shown in the Actor's Store listing and your Apify account. Check those details before running larger jobs; no fixed price is stated here.
For help with a run, review its log and the Output summary record, then use the Actor's Issues tab to report a problem. See the Apify API documentation for programmatic run access.