Marketplace
DHgate logo

DHgate API

dhgate.com

Wholesale marketplace - listings, pricing, variants, categories, and deals.

Actions
10
Category
Marketplace
Login
Not required
Output
JSON

Call the DHgate API

Submit a task, then poll the job until it settles. This example runs act_dhgate_category_listing_ssr.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_dhgate_category_listing_ssr",
    "params": {
      "category_slug": "speakers",
      "catalog_id": "103002"
    }
  }'

10 actions on dhgate.com

Read

  • Category Listing

    act_dhgate_category_listing_ssrread2 credits / call

    Returns products in a category with titles, prices, and sellers.

    category_slug
    string · required
    catalog_id
    string · required
    page
    string
  • Category Tree

    act_dhgate_category_treeread1 credit / call

    Returns the full category browse hierarchy with top-level and nested category names and links.

  • Flash Deals

    act_dhgate_flash_dealsread1 credit / call

    Returns flash-deal product modules with titles, prices, discounts, and product URLs.

    dispCurrency
    string
    language
    string
  • Homepage Deals

    act_dhgate_homepage_deals_ssrread1 credit / call

    Returns featured homepage deals with product titles, prices, and images.

  • Low Price Deals

    act_dhgate_low_price_dealsread1 credit / call

    Returns new-user low-price deal modules with product titles, prices, and links.

    dispCurrency
    string
  • Product Details

    act_dhgate_product_detail_ssrread1 credit / call

    Returns a product's title, price, images, rating, and description.

    product_slug
    string · required
    item_code
    string · required
  • Product Pricing

    act_dhgate_product_pricingread2 credits / call

    Returns tiered wholesale prices and quantity breaks for a product SKU and ship-to country.

    item_code
    string · required
    sku_id
    string · required
    country_code
    string · required
    dispCurrency
    string · required
  • Product Variants

    act_dhgate_product_variantsread1 credit / call

    Returns SKU and variant attribute options such as colors, sizes, and specs for a product listing.

    item_code
    string · required
    sku_id
    string · required
  • Shipping Availability

    act_dhgate_shipping_availabilityread2 credits / call

    Returns available shipping methods, carriers, costs, and delivery estimates for a destination country.

    item_code
    string · required
    country_code
    string · required
    quantity
    string
    dispCurrency
    string
  • Sponsored Listing

    act_dhgate_sponsored_listingread2 credits / call

    Returns sponsored product ad listings for a category with titles, prices, positions, and URLs.

    catalog_id
    string · required
    page
    string
    dispCurrency
    string

DHgate API questions

Is there an API for DHgate?
DHgate does not offer a public data API for this, but Anakin Wire provides 10 maintained endpoints for dhgate.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape DHgate data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when dhgate.com changes its markup, Anakin updates the action.
Do I need a DHgate account?
No. Every DHgate action listed here runs anonymously — no account and no credentials required.
What does the DHgate API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Marketplace APIs

All Marketplace sites