Discover/dhgate.com API
live

dhgate.com APIdhgate.com

Access DHgate product search, category browsing, bulk pricing tiers, seller ratings, customer reviews, and flash deals via 5 structured API endpoints.

Endpoints
5
Updated
3mo ago
Try it
Page number for pagination.
Sort order. Accepted values: 'bestmatch', 'price_asc', 'price_desc', 'recent'.
Search keyword.
Maximum price filter in USD (numeric string).
Minimum price filter in USD (numeric string).
api.parse.bot/scraper/024e9def-2f3c-46b2-820b-7badc7341d2a/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/024e9def-2f3c-46b2-820b-7badc7341d2a/search_products?page=1&query=laptop+bag' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 5 totalclick to expand

Search for products by keyword on DHgate. Returns paginated results with product names, prices, URLs, and seller information.

Input
ParamTypeDescription
pageintegerPage number for pagination.
sortstringSort order. Accepted values: 'bestmatch', 'price_asc', 'price_desc', 'recent'.
queryrequiredstringSearch keyword.
max_pricestringMaximum price filter in USD (numeric string).
min_pricestringMinimum price filter in USD (numeric string).
Response
{
  "type": "object",
  "fields": {
    "total": "integer total number of results",
    "products": "array of product objects with item_code, name, price, url, image, seller, supplier_id"
  },
  "sample": {
    "data": {
      "total": 50,
      "products": [
        {
          "url": "https://www.dhgate.com/product/high-quality-designer-bag-laptop-bag-briefcase/1105851708.html",
          "name": "High quality designer bag laptop bag briefcase men bag",
          "image": "",
          "price": "$177.20",
          "seller": "nxyluxury",
          "item_code": "1105851708",
          "supplier_id": ""
        }
      ]
    },
    "status": "success"
  }
}

About the dhgate.com API

The DHgate API provides 5 endpoints for querying DHgate.com's wholesale marketplace, covering product search, category browsing, full product details, customer reviews, and flash deals. The get_product_details endpoint alone returns 9 distinct data groups including bulk price tiers, color and size attributes, shipping options, and seller rating summaries — making it practical for building price comparison tools, supplier evaluation workflows, or procurement dashboards.

Search and Category Browsing

The search_products endpoint accepts a required query string plus optional filters for min_price, max_price, page, and sort (accepted values: bestmatch, price_asc, price_desc, recent). Each result object includes item_code, name, price, url, image, seller, and supplier_id. The get_category_products endpoint takes a category_id — for example '110' for Shoes & Accessories — and returns the same product shape without supplier_id. Both endpoints expose a total integer so you can implement accurate pagination.

Product Details and Pricing Tiers

get_product_details accepts an item_code obtainable from either search or category results and returns the most granular data the API exposes. The price_tiers array contains bulk pricing levels keyed by minimum quantity, which is essential for wholesale cost modeling. The attributes array covers color and size variants. The shipping array includes cost, estimated delivery time, and express type per method. The seller_rating object provides a review summary tied to the supplier_id, and specifications is a key-value map of product spec names to their values.

Reviews and Flash Deals

get_product_reviews takes an item_code and optional page parameter, returning a reviewList where each object contains reviewid, score, content, buyerNickname, country, createdDateText, and prodAttrs (the variant the buyer selected). The totalCount integer supports paginated retrieval across large review sets. The get_flash_deals endpoint requires no inputs and returns a data array of discounted items, each with price, original_price, discount_percent, and save_price — useful for monitoring limited-time promotions.

Common use cases
  • Build a bulk price calculator by pulling price_tiers from get_product_details across multiple suppliers.
  • Compare seller credibility by aggregating seller_rating objects for a set of supplier_id values.
  • Track flash deal discount depths over time using discount_percent and original_price from get_flash_deals.
  • Populate a product catalog by category using get_category_products with a known DHgate category_id.
  • Analyze buyer sentiment by language or region using country and content fields from get_product_reviews.
  • Filter keyword search results by price band using min_price and max_price in search_products.
  • Audit shipping cost and delivery time variation across a product's available methods using the shipping array.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does DHgate have an official developer API?+
DHgate operates a partner API program aimed at large-volume sellers and platform integrators, documented at open.dhgate.com. Access requires an application and approval process. This Parse API provides structured data access without that gating.
What does `get_product_details` return beyond a basic price?+
It returns price_tiers (bulk quantity-to-price mappings), a shipping array with per-method cost and delivery estimates, attributes for color and size variants, specifications as a key-value map of product properties, seller_rating summarizing the seller's review record, and an images array of product photo URLs.
Can I retrieve seller profile pages or store-level inventory through this API?+
Not currently. The API returns seller, supplier_id, and seller_rating as fields on product and detail objects, but there is no dedicated seller-profile or store-catalog endpoint. You can fork the API on Parse and revise it to add a seller-specific endpoint using the supplier_id values already returned.
Are product variant-level stock quantities available?+
Not currently. The attributes array in get_product_details covers color and size options, but no stock count or inventory level field is exposed. You can fork the API on Parse and revise it to surface stock data if that field is available on the product page.
How does pagination work across the search and category endpoints?+
Both search_products and get_category_products accept an integer page parameter and return a total integer in the response. You can calculate the number of pages by dividing total by the implicit page size and increment page accordingly. DHgate's category and search result sets can span many pages for broad queries, so filtering with min_price/max_price or a specific category_id helps narrow result volume.
Page content last updated . Spec covers 5 endpoints from dhgate.com.
Related APIs in MarketplaceSee all →
mouser.com API
mouser.com API
lazada.co.th API
Search for products and browse categories on Lazada Thailand to find detailed information like prices, descriptions, and availability. Discover items by keyword or category to compare specifications and make informed purchasing decisions.
woocommerce.com API
Browse and search thousands of WooCommerce extensions, themes, and business services from the official marketplace while accessing detailed product information, user reviews, and ratings. Integrate marketplace data, blog content, and documentation directly into your applications to help users discover and learn about WooCommerce solutions.
leroymerlin.fr API
Search and browse Leroy Merlin France's complete product catalog to find items by category, view pricing, product details, and compare offerings from Leroy Merlin and their online partners. Access real-time product information including names, IDs, URLs, and seller details to help you discover and evaluate home improvement and DIY products.
lowes.com API
Search and browse products from Lowe's, including product listings by category, detailed product information, and pricing. Retrieve comprehensive details on specific items to compare options and make informed purchasing decisions.
zapimoveis.com.br API
Search and filter real estate listings across Brazil on ZAP Imóveis — the country's largest property portal. Retrieve listings for sale or rent with detailed attributes including price, location, size, bedrooms, bathrooms, parking, and amenities. Supports location autocomplete, property type discovery, and full listing detail retrieval.
bilbasen.dk API
Search Denmark's largest car marketplace to find vehicles by make and model, then access detailed pricing and technical specifications including emissions, weight, MSRP, battery size, and equipment details. Get comprehensive car listings and full specs to compare vehicles on Bilbasen.dk.
bigbasket.com API
Browse and search BigBasket's online grocery catalog. Retrieve product details, pricing, stock availability, category trees, search suggestions, homepage promotions, and delivery coverage — all in one API.