DHgate Product Scraper - Listings, Detail, Prices, Sellers
Pricing
from $2.54 / 1,000 search result rows
DHgate Product Scraper - Listings, Detail, Prices, Sellers
DHgate rows in two dataset views: overview (price, itemcode, seller, feedback, URL) and productDetail (SKU count, min order, shipping days, coupons, seller tier). A search page holds 20 products; itemcodes fetch detail directly. 52 currencies, 11 languages, GB rewritten to UK.
Pricing
from $2.54 / 1,000 search result rows
Rating
0.0
(0)
Developer
R.L.
Maintained by CommunityActor stats
0
Bookmarked
11
Total users
2
Monthly active users
8 days ago
Last modified
Categories
Features
Share
DHgate Product Scraper - Search Listings, Product Detail, Sellers
DHgate product search results, product detail and seller data as flat JSON rows. The Actor calls the JSON endpoints used by DHgate's Android app (com.dhgate.buyermob v7.1.3) at mrd.dhgate.com, so it does not render storefront HTML or need a DHgate account, cookie or API key. Requests sign themselves with a build constant and a fresh random device identity for each run.
An agent picks one of two data slices: the Overview view with 16 search-listing columns, or the Product detail view with 36 detail columns. Rows arrive as typed columns: lowPriceValue and highPriceValue hold parsed numbers beside DHgate's display strings, feedBackPercentValue holds the numeric seller feedback, and detail fields use flat detail* names that work in CSV and spreadsheets. There are 10 input fields and two billable events in the code: plp-row for search-result rows and pdp-row for direct itemcode rows and detail enrichment. Full field definitions: the DHgate data dictionary.
What does this Actor return?
Two dataset views, written from one dataset. source marks the row kind: search rows come from keyword searches, itemcode_input rows come from itemcodes supplied directly.
| Dataset view | Columns | Written when | Fields you get | Schema |
|---|---|---|---|---|
| Overview | 16 | Every keyword search result; direct itemcode rows also start here with source = itemcode_input and a null keyword | imageurl, title, itemcode, productId, keyword, source, currency, price, lowPrice, lowPriceValue, highPrice, highPriceValue, sellername, feedBackPercent, feedBackPercentValue, url | Overview view |
| Product detail | 36 | fetchProductDetails is on, or an itemcode was supplied directly | detailProductName, detailCategory, detailMinPrice, detailMaxPrice, detailTaxMinPrice, detailTaxMaxPrice, detailMinOrder, detailMeasureName, detailSkuQty, detailRate, detailShortDescription, detailSellerName, detailSellerCountry, detailSellerTierLevel, detailSellerBusinessType, detailSellerGrade, detailShippingCostDisplay, detailShippingTimeMinDays, detailShippingTimeMaxDays, detailShippingFromCountry, detailShippingShipToCountry, detailAttributeName, detailAttributeValues, detailSpecifications, detailSoldCountries, detailImages, detailCoupons, detailCanonicalUrl, detailDefaultSkuId, detailShippingCost, detailShippingDeliveryTime, detailSellerCreateDate, detailSellerDescription, detailSellerAvatarUrl, detailVideoUrls | Product detail view |
The dataset schema describes the Product detail columns as the fields the pdp-row charge pays for. A search row bills plp-row as its base and can carry detail as a pdp-row slice; a direct itemcode row bills pdp-row because its detail is the whole row. Current charges are on the Actor's Pricing tab.
What does one listing row look like?
The Actor's own sample describes itemcode 1059815893, titled Custom LED Strip Light 12V/24V 240LEDs SMD 2835, from a search for led strip light. Price display strings and their parsed numeric columns are both present on the row; the example below omits the display values and keeps the identity, seller and feedback columns.
{"source": "search","keyword": "led strip light","itemcode": "1059815893","productId": 1059815893,"title": "Custom LED Strip Light 12V/24V 240LEDs SMD 2835","sellername": "example-store","feedBackPercent": "98.5%","feedBackPercentValue": 98.5,"currency": "EUR"}
With detail enabled, the same row also carries flat columns such as detailSellerName, detailCategory (Lights & Lighting > Holiday Lighting > LED Strips in the sample), detailMinOrder, detailMeasureName, detailSkuQty, detailShippingTimeMinDays and detailShippingTimeMaxDays. Consumers that used to read a nested detail object need to read flat keys instead; detailSpecifications is a list of name: value strings because specification names differ between products, and detailCoupons is a list of code, amount-off and minimum-order strings.
How many rows does a run collect?
One search page holds 20 products. maxPages defaults to 1, so the default keyword run stops at 20 products; maxItemsPerKeyword defaults to 0, which means no extra stop beyond maxPages. Set maxItemsPerKeyword to a positive number to stop early. maxConcurrency defaults to 5 simultaneous DHgate requests and accepts values from 1 to 20.
Each keyword keeps its own seen-itemcode set, and the billing ledger applies a second dedupe keyed by keyword plus itemcode. DHgate's pager re-windows results: a run measured 2026-10-18 returned 97 distinct itemcodes in 100 search rows across 8 pages, so duplicates are removed before a row is delivered. An HTTP error is retried up to 3 attempts with a 2-second then 4-second backoff before that page is skipped.
| Input | Default | What it controls |
|---|---|---|
keywords | empty; prefill led strip light | Search terms; supply this, itemcodes, or both |
itemcodes | empty | Product itemcodes fetched directly, with no search call |
maxPages | 1 | Search pages for each keyword, 20 products on each page |
maxItemsPerKeyword | 0 | Extra stop for a keyword; 0 leaves only maxPages in force |
fetchProductDetails | false | Detail call for every search result; one extra request for each product |
shipToCountry | NL | Two-letter destination for shipping and availability |
dispCurrency | EUR | Three-letter price currency |
language | en | Language of product titles |
maxConcurrency | 5 | Concurrent requests, from 1 to 20 |
proxyConfiguration | Apify proxy prefill | Optional proxy; not required for the JSON endpoints |
The remaining schema and field notes are in the input reference.
Which country, currency and language values work?
The Actor checks these values before its first request, because DHgate answers some invalid values with HTTP 200 and misleading data. shipToCountry takes a two-letter code; DHgate uses UK rather than the ISO code GB, so GB is rewritten to UK and logged. In 3 out of 3 checks measured 2026-10-18, GB returned zero products while UK returned a full page. Destination changes which products are offered, so it changes result counts.
| Input | Value | Observed behaviour |
|---|---|---|
shipToCountry | NL | Default destination |
shipToCountry | GB | Rewritten to UK before the request |
shipToCountry | UK | Returned a full result page in the 2026-10-18 check |
dispCurrency | EUR, USD, GBP, CAD, AUD, JPY | Examples from the 52 currency codes DHgate prices |
dispCurrency | CNY, VND, EGP | Examples from 15 codes that are answered in dollars without an error; the run stops instead |
language | en, de, es, fr, it, pt, ru, ar, nl, pl, tr | The 11 codes this API serves |
language | ja, he, th, vi, zh | Returned an empty product list in the 2026-10-18 check; the run stops before using them |
DHgate prices products in 52 currencies. A check on 2026-10-18 priced one fixed itemcode (1088694689) across 70 codes and found 52 honored; 15 real ISO codes, including CNY and VND, returned dollars under the requested code with no error. Unknown codes are refused before any request so a run cannot label dollar prices as another currency. price, lowPrice and highPrice stay as DHgate's localised strings, and lowPriceValue and highPriceValue are parsed from them; a null value means no number could be parsed, never zero.
Which DHgate endpoints and versions does it use?
The client posts form data to two JSON endpoints and sends the app token in the User-Agent header. Signing uses MD5 over sorted key-value pairs plus one build constant, uppercased. deviceId and d1_session are generated for the run; no registration call is involved.
| Entity | Identifier or URL | Role |
|---|---|---|
| DHgate mobile search | POST https://mrd.dhgate.com/appsearch/index.do | Keyword results, pageSize 20 |
| DHgate product detail | POST https://mrd.dhgate.com/app/getItemBaseInfo.do | Itemcode detail and PDP columns |
| Android app | com.dhgate.buyermob v7.1.3 | Source of the endpoint and signing scheme, captured from the app |
| User-Agent | DHgate/7.1.3 (Android 13; Pixel 7) | Token the edge checks; case-sensitive DHgate |
Of 11 User-Agent variants tried from a datacenter IP on 2026-10-18, 6 returned HTTP 200 and 5 returned HTTP 403. The app name in the header was the deciding factor: DHgate/7.1.3 worked, while dhgate/7.1.3, DHGATE/7.1.3, okhttp/4.12.0, a missing header and a Chrome mobile string were refused. Version number and header position did not matter. This is why a proxy is optional in proxyConfiguration; it is a fallback if DHgate starts refusing platform IPs, and the way to make results reflect a particular country.
What happens when a run comes back empty?
A bad currency or language stops the run before any DHgate request and sets a status message listing the accepted values. An itemcode whose detail fetch fails or resolves nothing is not delivered, so it is not billed either. If search pages are refused, the code records each refusal; when every request was refused, the run raises an error that says the empty dataset is not a statement about the keywords.
If DHgate answers normally with no products, the status message names the keywords or itemcode count together with the shipToCountry, language and dispCurrency that were used, and suggests a different destination or a broader keyword. A run stopped by the maximum cost setting reports rows delivered against rows collected, so a short dataset is not confused with an exhausted result set. If the detail slice cannot be covered, the listing row still ships with its 36 detail columns blanked; a direct itemcode row whose detail cannot be covered is withheld.
What questions do people ask about this Actor?
Do I need a DHgate account or API key? No. Requests carry a generated device identity and an app-style User-Agent; the code makes no login or registration call.
Can I skip search and scrape known products? Yes. Put product itemcodes in itemcodes. Those rows get source = itemcode_input, a null keyword, and detail fetched without a search call.
What is in a search row? Identity (productId, itemcode, url), title and image, the keyword and source, price display strings plus parsed numeric columns, display currency, seller name and seller feedback plus its numeric value. Detail columns are added only when requested.
How do I get SKU count, seller tier and shipping times? Turn on fetchProductDetails or supply itemcodes. The 36 detail columns include detailSkuQty, detailSellerTierLevel, detailShippingTimeMinDays and detailShippingTimeMaxDays.
Does CNY give me Chinese-yuan prices? No. DHgate answered that code with dollars and no error in the 2026-10-18 check, so the Actor stops the run and lists the accepted codes. CNY is one of 15 such codes.
Why did my keyword return nothing? DHgate may genuinely have no match for that keyword and destination. Some products are not offered in every country, and an unsupported language returns an empty list. If every request was refused, the run says so instead of reporting a real empty result.
Can an agent read the schema before running? Yes. The data dictionary index and the input reference give the fields and defaults without a run.
Where can I read the full schemas?
The DHgate data dictionary documents both views field by field, and the input reference documents all 10 inputs. The measured numbers on this page come from the Actor's own code comments and schema: the 2026-10-18 User-Agent, currency, language, destination and pager checks, plus the 16 and 36 columns declared in the dataset schema.