DHGate Products Scraper avatar

DHGate Products Scraper

Pricing

from $3.99 / 1,000 results

Go to Apify Store
DHGate Products Scraper

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

Coding Frontned

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Features

Limited permissions

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

  1. Open the Actor and select the Input tab.
  2. 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.
  3. Choose a maxItems limit and adjust the advanced request settings only if needed.
  4. 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

FieldTypeRequired?DefaultWhat it does
startUrlsArray of stringsOptional["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.
maxItemsIntegerOptional10Maximum 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.

FieldTypeRequired?DefaultWhat it does
timeoutSecsIntegerOptional30Timeout for an individual request, in seconds. Minimum 5; maximum 120.
maxRetriesIntegerOptional2Maximum attempts for retryable request failures. Minimum 1; maximum 5.
requestDelayMsIntegerOptional300Milliseconds to wait between retry attempts. Minimum 0; maximum 5000.
maxBytesIntegerOptional5000000Maximum 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

FieldTypeRequired?Meaning
sourceStringRequiredDHgate website supplying the product page.
canonicalUrlStringOptionalCanonical page URL when the page provides one.
productNameStringRequiredPublic product title.
productUrlStringRequiredPublic DHgate product link.
productIdStringOptionalProduct identifier from public markup.
brandStringOptionalProduct brand.
categoryStringOptionalProduct category.
descriptionStringOptionalComplete product description from recognized product JSON-LD, with whitespace normalized.
skuStringOptionalPublic stock-keeping unit.
priceStringOptionalOffer price text.
priceValueNumberOptionalNumeric offer price.
priceMinNumberOptionalLowest numeric offer price.
priceMaxNumberOptionalHighest numeric offer price.
priceCurrencyStringOptionalCurrency code when provided; a bare $ on a product card does not imply USD.
availabilityStringOptionalPublic availability value.
imageUrlStringOptionalPrimary product image link, including public CDN URLs such as DHgate's dhresource.com images.
imagesArray of stringsOptionalDistinct product image links.
priceTiersArray of objectsOptionalEach tier may include minQuantity, maxQuantity, price, priceValue, and priceCurrency.
minimumOrderQuantityNumberOptionalMinimum order quantity (MOQ) when provided.
minimumOrderTextStringOptionalPublic minimum-order wording.
specificationsObject of stringsOptionalComplete public specification names and values from recognized product JSON-LD; private and operational entries are excluded.
shippingObjectOptionalMay include destination, rate, rateValue, currency, handlingTime, and transitTime.
sellerStoreObjectOptionalMay include seller name, store url, and logo URL.
ratingValueStringOptionalPublic aggregate product rating.
reviewCountStringOptionalPublic aggregate review count, including an explicit zero. A rating count is used only when the review count is absent.
reviewSummaryObjectOptionalMay 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:

FieldTypeRequired?Meaning
statusStringRequiredSUCCEEDED when at least one product record was saved; otherwise FAILED.
itemsStoredNonnegative integerRequiredNumber of validated product writes acknowledged by the dataset.
isPartialBooleanRequiredtrue 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.