# DHgate Products Scraper - Wholesale Price & Supplier Data (`jungle_intertwining/dhgate-scraper`) Actor

Scrape DHgate.com product data. Extract wholesale prices, supplier ratings, feedback scores, shipping info, MOQ, and coupons from search results. Fast HTTP-based, no browser needed. For dropshipping research, price monitoring, and China wholesale sourcing.

- **URL**: https://apify.com/jungle\_intertwining/dhgate-scraper.md
- **Developed by:** [王富贵](https://apify.com/jungle_intertwining) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Stats:** 21 total users, 2 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## DHgate Products Scraper

Scrape product data from [DHgate.com](https://www.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.

### Features

- **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

### Input Parameters

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `searchKeywords` | Array | `["phone case"]` | Keywords to search |
| `maxPages` | Integer | `3` | Max pages per keyword (~60 products/page) |
| `sortType` | String | `""` | Sort: bestmatch, price\_asc, price\_desc, orders\_desc, newest |
| `shipCountry` | String | `"us"` | Ship-to country code |

### Output Data

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 |

#### Sample Output — Electronics

```json
{
    "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",
    "minOrderNum": 1,
    "currency": "USD",
    "productUrl": "https://www.dhgate.com/product/liquid-silicone-phone-case-for-iphone-17/1071872302.html",
    "imageUrl": "https://img4.dhresource.com/260x260/f3/albu/phone-case-001.jpg",
    "sellerName": "bluetoothheadphone1",
    "sellerLevel": "Top Merchant",
    "feedbackPercent": "98.9%",
    "freeShipping": false,
    "isAd": false,
    "searchKeyword": "phone case",
    "pageNum": 1
}
```

#### Sample Output — Fashion & Apparel

```json
{
    "itemcode": 1082345671,
    "productName": "Women Summer Casual Loose Cotton Linen Dress V-Neck Midi",
    "price": "US $8.92 - 15.67",
    "simHighPrice": "15.67",
    "minOrder": "1 Piece",
    "minOrderNum": 1,
    "currency": "USD",
    "productUrl": "https://www.dhgate.com/product/women-summer-casual-loose-cotton-linen-dress/1082345671.html",
    "imageUrl": "https://img4.dhresource.com/260x260/f3/albu/dress-001.jpg",
    "sellerName": "fashionoutlet2026",
    "sellerLevel": "Gold Supplier",
    "feedbackPercent": "96.5%",
    "freeShipping": true,
    "isAd": false,
    "searchKeyword": "summer dress",
    "pageNum": 1
}
```

#### Sample Output — Home & Garden

```json
{
    "itemcode": 1058934210,
    "productName": "5M RGB LED Strip Light with Remote Control Waterproof",
    "price": "US $3.12 - 8.45",
    "simHighPrice": "8.45",
    "minOrder": "2 Pieces",
    "minOrderNum": 2,
    "currency": "USD",
    "productUrl": "https://www.dhgate.com/product/5m-rgb-led-strip-light-with-remote/1058934210.html",
    "imageUrl": "https://img4.dhresource.com/260x260/f3/albu/led-strip-001.jpg",
    "sellerName": "ledlightfactory",
    "sellerLevel": "Gold Supplier",
    "feedbackPercent": "97.2%",
    "freeShipping": true,
    "isAd": false,
    "searchKeyword": "LED lights",
    "pageNum": 1
}
```

### Who is this for?

- **Dropshippers** — Find trending products with competitive pricing and low MOQ on DHgate. Compare hundreds of listings in seconds instead of hours of manual browsing. Filter by free shipping and seller feedback to minimize risk.
- **E-commerce sellers** (Amazon, Shopify, eBay) — Source products directly from one of China's largest cross-border wholesale platforms. Track price changes over time to buy at the best moment.
- **Market researchers & analysts** — Analyze wholesale pricing trends, product availability, and seller competition across categories. Export structured data for reports and dashboards.
- **Sourcing agents & trading companies** — Automate supplier discovery across DHgate's massive catalog. Evaluate sellers by feedback percentage and tier level before committing to orders.
- **Data engineers & developers** — Build automated pipelines for cross-border wholesale intelligence. Clean JSON output integrates directly with your existing data stack.

### Use Cases

- **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

### Cost Estimate

This scraper is very lightweight. A typical run searching 3 keywords × 3 pages ≈ ~540 products costs less than $0.01 in Apify platform usage.

### FAQ

#### What is DHgate.com?

[DHgate.com](https://www.dhgate.com) is one of China's largest cross-border B2B/B2C e-commerce platforms, connecting global buyers with Chinese manufacturers and wholesalers. It offers millions of products across categories like electronics, fashion, home & garden, and more — with direct shipping worldwide.

#### How is this different from an Alibaba or AliExpress scraper?

DHgate specializes in **cross-border wholesale with low MOQ** (often 1 piece). Unlike Alibaba (bulk B2B) or AliExpress (retail), DHgate sits in the sweet spot for dropshippers and small businesses who want wholesale prices without committing to large orders.

#### Can I schedule automatic runs?

Yes. Use [Apify Schedules](https://docs.apify.com/platform/schedules) to run the scraper daily, weekly, or at any custom interval. Great for price monitoring — set it up once and get fresh data delivered to your inbox, Google Sheets, or webhook automatically.

#### How do I export data to Google Sheets or CSV?

After each run, go to the dataset tab and click "Export". You can download as JSON, CSV, Excel, or connect directly to Google Sheets via the Apify integration. For programmatic access, use the [Apify API](https://docs.apify.com/api/v2) to fetch results in any format.

#### Does it work with proxies?

The scraper uses Apify's built-in proxy infrastructure. No additional proxy configuration is needed — it handles IP rotation and rate limiting automatically to ensure reliable data extraction.

#### How much does it cost to run?

Very little. The scraper uses pure HTTP requests (no browser), so compute costs are minimal. A typical run of 3 keywords × 3 pages (~540 products) costs less than **$0.01** in Apify platform credits.

### Related Tools

- [Yiwugo Scraper](https://apify.com/jungle_intertwining/yiwugo-scraper) — Scrape China's largest offline wholesale market (Yiwu)
- Use both tools together to compare wholesale prices across platforms

### Resources

- 📖 [How to Scrape DHgate.com for Wholesale Product Data](https://dev.to/wfgsss/how-to-scrape-dhgatecom-for-wholesale-product-data-gk) — Step-by-step tutorial
- 📊 [DHgate vs AliExpress: Which Has Better Wholesale Data?](https://dev.to/wfgsss/dhgate-vs-aliexpress-which-platform-has-better-wholesale-data-for-dropshippers-3end) — Platform comparison
- 🛒 [How to Find Dropshipping Products on DHgate Using Data](https://dev.to/wfgsss/how-to-find-dropshipping-products-on-dhgate-using-data-4fp) — Dropshipping guide
- 💻 [Example code on GitHub](https://github.com/wfgsss/dhgate-scraper-example) — Ready-to-use code samples
- 📚 [Apify Platform Documentation](https://docs.apify.com/) — Learn about the Apify platform

### Disclaimer

This tool is intended for legitimate business research purposes. Please respect DHgate's Terms of Service and use responsibly.

# Actor input Schema

## `searchKeywords` (type: `array`):

List of keywords to search on DHgate.com

## `maxPages` (type: `integer`):

Maximum number of pages to scrape per keyword (each page has ~60 products)

## `sortType` (type: `string`):

How to sort search results

## `shipCountry` (type: `string`):

Country code for shipping destination (affects prices and availability)

## Actor input object example

```json
{
  "searchKeywords": [
    "phone case",
    "LED lights",
    "wireless earbuds"
  ],
  "maxPages": 3,
  "sortType": "",
  "shipCountry": "us"
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "searchKeywords": [
        "phone case"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("jungle_intertwining/dhgate-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "searchKeywords": ["phone case"] }

# Run the Actor and wait for it to finish
run = client.actor("jungle_intertwining/dhgate-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchKeywords": [
    "phone case"
  ]
}' |
apify call jungle_intertwining/dhgate-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jungle_intertwining/dhgate-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/sIYcBPWt7cuQENbkM/builds/ba1zFHMxn3aoo7Q3J/openapi.json
