# DHgate Product Details Scraper (`piotrv1001/dhgate-product-details-scraper`) Actor

The DHgate Product Details Scraper extracts wholesale data from DHgate product URLs, capturing MOQ, quantity price tiers, discounted prices, product options, default SKU, custom-order pricing, shipping quotes, specifications, images and seller details — ideal for sourcing and supplier comparison.

- **URL**: https://apify.com/piotrv1001/dhgate-product-details-scraper.md
- **Developed by:** [FalconScrape](https://apify.com/piotrv1001) (community)
- **Categories:** E-commerce, Lead generation
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

$5.00 / 1,000 product details

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### 🚀 DHgate Product Details Scraper

Easily extract full product details from DHgate. The **DHgate Product Details Scraper** turns DHgate product URLs into structured wholesale data — minimum order quantity, every quantity price break, product options, custom-order pricing, a shipping quote, specifications, images and seller details — for sourcing, supplier comparison and wholesale price tracking.

### ✨ Features

- 📦 **MOQ & Quantity Price Tiers**: Get the minimum order, order unit, maximum order and every quantity price break (e.g. 50–199, 200–499, 500+), with the regular and discounted unit price for each tier.
- 🎛️ **Options & Default SKU**: Option groups (color, size, voltage, ships-from…) with their values and images, plus the default SKU the prices refer to, its selected options and stock.
- 🛠️ **Custom-Order Pricing**: When a seller offers customization, its separate MOQ, lead time and price tiers are returned apart from the regular prices.
- 🚚 **Shipping Quote**: Shipping method, cost, free-shipping flag and delivery-time range to the United States (or another country via the proxy country setting).
- 🏪 **Seller & Specs**: Seller name, store ID and URL, location, positive feedback and product count, the full specification table, all product images and the category.
- 🔗 **Works with DHgate Listings Scraper**: Feed the `productDetailUrl` values from [DHgate Listings Scraper](https://apify.com/piotrv1001/dhgate-listings-scraper) straight into this actor to go from a search to full product details.

### 🛠️ How It Works

1. **Enter Product URLs** – Paste DHgate product URLs (`https://www.dhgate.com/product/<name>/<item code>.html`) or just the item codes, e.g. `1125295173`.
2. **Set Max Products** – Choose how many products to scrape (default 50).
3. **Run the Scraper** – Get one structured record per product. Products that no longer exist are marked `not_found`.

### 💰 Pricing

**$5 per 1,000 products** ($0.005 per product) — no start fee. You pay only for products that were scraped successfully; products that no longer exist and failed requests are free.

### ⚠️ Good to Know

- Price tiers are for the product's **default SKU** (the option combination DHgate selects when the page opens). Other option combinations can be priced differently and are not priced separately.
- The shipping quote is the one shown on the product page for the destination country; it is not a landed-cost or bulk-quantity calculation. When DHgate cannot ship to that country, `canDeliver` is `false` and the cost is empty.
- Customer reviews are not included.

### 📊 Sample Output Data

The scraper provides structured JSON output with key product details (arrays shortened). Example:

```json
[
    {
        "itemCode": "831782542",
        "productId": "8aaa9f0185290607018553f2a83f1264",
        "url": "https://www.dhgate.com/product/bluetooth-rgb-led-strip-light-5050-luces/831782542.html",
        "title": "Bluetooth RGB Led Strip Light 5050 Luces 5m LED String USB Tape Diode Ribbon For Room TV Backlight Neon Lamp",
        "category": "LED Strips",
        "categoryId": "117003002",
        "currency": "USD",
        "minOrder": 1,
        "orderUnit": "Piece",
        "maxOrder": 100000,
        "lowestPrice": 0.96,
        "highestPrice": 1.15,
        "priceTiers": [
            {
                "minQuantity": 1,
                "maxQuantity": 287,
                "price": 1.15,
                "discountedPrice": null
            },
            {
                "minQuantity": 288,
                "maxQuantity": 994,
                "price": 1.05,
                "discountedPrice": null
            },
            {
                "minQuantity": 995,
                "maxQuantity": 999,
                "price": 1.01,
                "discountedPrice": null
            }
        ],
        "discountPercent": null,
        "discountEndsAt": null,
        "defaultSkuId": "1306688450958327808",
        "defaultSkuOptions": {
            "Voltage": "5V",
            "Options": "1M",
            "Emitting Color": "RGB"
        },
        "defaultSkuStock": 100000,
        "options": [
            {
                "name": "Emitting Color",
                "values": [
                    {
                        "name": "Red",
                        "imageUrl": "https://img4.dhresource.com/webp/m/0x0/f3/albu/ry/n/27/be4d3008-03b6-48a9-97ad-3f08f1036ceb.jpg"
                    },
                    {
                        "name": "Blue",
                        "imageUrl": "https://img4.dhresource.com/webp/m/0x0/f3/albu/km/z/07/3fbe1b40-dd25-4fd7-9bf2-4025b3b953b0.jpg"
                    }
                ]
            },
            {
                "name": "Voltage",
                "values": [
                    {
                        "name": "5V",
                        "imageUrl": null
                    }
                ]
            }
        ],
        "customOrder": null,
        "shipping": {
            "toCountry": "US",
            "canDeliver": true,
            "fromCountry": "CN",
            "method": "DHLink-WBP 20D",
            "cost": 14.59,
            "freeShipping": false,
            "deliveryDaysMin": 5,
            "deliveryDaysMax": 20
        },
        "specifications": [
            {
                "name": "Usage",
                "value": "Holiday Advertisement Decoration"
            },
            {
                "name": "LED Chip",
                "value": "SMD 5050"
            },
            {
                "name": "Is Waterproof",
                "value": "Yes"
            }
        ],
        "images": [
            "https://img4.dhresource.com/webp/m/0x0/f3/albu/jc/g/30/b2989b18-d5d1-4f7d-acbc-4cfe4519e9fc.jpg",
            "https://img4.dhresource.com/webp/m/0x0/f3/albu/ry/n/27/d218df65-cdb2-4968-a15a-77755207556d.jpg"
        ],
        "seller": {
            "id": "ff8080814a71299a014a9567bb7b50e9",
            "storeId": "19915306",
            "name": "tabletpc2015",
            "storeUrl": "https://www.dhgate.com/store/19915306",
            "location": "China",
            "positiveFeedbackPercent": 96.9,
            "productCount": 2174
        },
        "lastModified": "29/04/2026",
        "status": "ok",
        "scrapedAt": "2026-09-22T10:30:45.953Z"
    }
]
```

Source wholesale products smarter with **DHgate Product Details Scraper** today! 🚀

# Actor input Schema

## `productUrls` (type: `array`):

DHgate product pages (https://www.dhgate.com/product/<name>/<item code>.html) or bare item codes, e.g. 1125295173.

## `maxItems` (type: `integer`):

Stop after this many products from the list.

## `proxyConfiguration` (type: `object`):

Proxy servers used to reach DHgate. The proxy country sets the destination of the shipping quote (US by default).

## Actor input object example

```json
{
  "productUrls": [
    "https://www.dhgate.com/product/ultra-bright-cri-90-cob-led-strip-light-5v/1125295173.html",
    "https://www.dhgate.com/product/bluetooth-rgb-led-strip-light-5050-luces/831782542.html",
    "https://www.dhgate.com/product/double-sided-velvet-pouches-bags-10-10cm/946886850.html"
  ],
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

## `products` (type: `string`):

No description

# 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 = {
    "productUrls": [
        "https://www.dhgate.com/product/ultra-bright-cri-90-cob-led-strip-light-5v/1125295173.html",
        "https://www.dhgate.com/product/bluetooth-rgb-led-strip-light-5050-luces/831782542.html",
        "https://www.dhgate.com/product/double-sided-velvet-pouches-bags-10-10cm/946886850.html"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("piotrv1001/dhgate-product-details-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 = {
    "productUrls": [
        "https://www.dhgate.com/product/ultra-bright-cri-90-cob-led-strip-light-5v/1125295173.html",
        "https://www.dhgate.com/product/bluetooth-rgb-led-strip-light-5050-luces/831782542.html",
        "https://www.dhgate.com/product/double-sided-velvet-pouches-bags-10-10cm/946886850.html",
    ],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("piotrv1001/dhgate-product-details-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 '{
  "productUrls": [
    "https://www.dhgate.com/product/ultra-bright-cri-90-cob-led-strip-light-5v/1125295173.html",
    "https://www.dhgate.com/product/bluetooth-rgb-led-strip-light-5050-luces/831782542.html",
    "https://www.dhgate.com/product/double-sided-velvet-pouches-bags-10-10cm/946886850.html"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call piotrv1001/dhgate-product-details-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,piotrv1001/dhgate-product-details-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/KTz3JxLZ9Q7ddgdAm/builds/ALhFutosfPXioaN8p/openapi.json
