POST /api/dhgate/products
Price: 20 credits
Get a single DHgate product by id or product URL. Returns title, images and product video, the price range and per-quantity wholesale price tiers, minimum order and measure unit, category, weight and package dimensions, units sold, review count, rating with its star breakdown and review highlight tags, product features, the specification list, the variant axes (colour, compatible model and more, each with its values and images), the shipping option for the requested country (free flag, cost, delivery window, express type, stock country) and the seller store (id, name, positive feedback, transactions, item count, location, opening date, level).
Fetch one DHgate product by its numeric id (or a product page URL). Returns id, product_url, product_title, image+images, video_url and video_duration, price and max_price, currency, price_tiers (min_quantity/max_quantity/price), measure, min_order/max_order, category and category_id, weight and length/width/height, units_sold, review_count, rating, rating_breakdown (five..one star counts), review_with_pic_count, review_tags, features, specifications (name/value), variants (name + values with images), shipping and the seller store.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)currency string — Currency the prices are returned in (default: "USD"; one of: "USD", "EUR", "GBP", "CAD", "AUD", "JPY", "RUB", "BRL", "INR", "MXN", "KRW", "TRY", "SEK", "NOK", "DKK", "PLN", "CHF", "NZD", "SGD", "HKD", "THB", "ILS", "AED", "SAR", "ZAR", "CZK")ship_to_country string — Ship-to country — drives shipping cost and delivery estimates (default: "US"; one of: "US", "GB", "CA", "AU", "DE", "FR", "IT", "ES", "NL", "BE", "SE", "NO", "DK", "FI", "IE", "PT", "PL", "CH", "AT", "CZ", "GR", "RU", "BR", "MX", "CL", "AR", "JP", "KR", "CN", "HK", "TW", "SG", "MY", "TH", "ID", "PH", "VN", "IN", "AE", "SA", "IL", "TR", "ZA", "NZ")product string required — Product id or product page URL (examples: "1114830208", "https://www.dhgate.com/product/x/1114830208.html"; minLength: 1)@type string (default: "DhgateProduct")id string requiredproduct_url string nullableproduct_title string nullableimage string nullableimages array (default: [])video_url string nullablevideo_duration integer nullableprice number nullablemax_price number nullablecurrency string nullableprice_tiers array (default: [])@type string (default: "DhgateProductPriceTier")min_quantity integer nullablemax_quantity integer nullableprice number nullablemeasure string nullablemin_order integer nullablemax_order integer nullablecategory string nullablecategory_id string nullableweight number nullablelength number nullablewidth number nullableheight number nullableunits_sold integer nullablereview_count integer nullablerating number nullablerating_breakdown object nullable@type string (default: "DhgateProductRatingBreakdown")five_star integer nullablefour_star integer nullablethree_star integer nullabletwo_star integer nullableone_star integer nullablereview_with_pic_count integer nullablereview_tags array (default: [])@type string (default: "DhgateProductReviewTag")name string requiredcount integer nullablefeatures array (default: [])specifications array (default: [])@type string (default: "DhgateProductSpecification")name string requiredvalue string nullabledescription_url string nullablevariants array (default: [])@type string (default: "DhgateProductVariant")name string requiredvalues array (default: [])@type string (default: "DhgateProductVariantValue")id string nullablename string requiredimage string nullableshipping object nullable@type string (default: "DhgateProductShipping")is_free boolean (default: false)cost number nullablecurrency string nullablecountry string nullablestock_country string nullabledelivery_time string nullabledelivery_min_days integer nullabledelivery_max_days integer nullableexpress_type string nullablestore object nullable@type string (default: "DhgateProductStore")id string nullableseller_id string nullablename string nullableurl string nullablecountry string nullablepositive_feedback_percent number nullabletransaction_count integer nullableitem_count integer nullablefavorite_count integer nullableopened_at string nullablebusiness_type string nullablelevel string nullabletier string nullable422 — The request body did not validate Check the fields against this schema. A URN with the wrong prefix is the most common cause.408 — The request ran past its time limit Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.412 — Product not found or no longer listed on DHgate Retrying will not help: either the entity does not exist, or the input points at a different one.429 — Too many requests: a rate limit or a usage window is exhausted When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.500 — Something broke on our side Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.529 — Rate limit reached, or the endpoint is overloaded Wait at least 30 seconds, then retry.X-Error — Error message text (present only on error)X-Request-ID — Unique request identifierX-Execution-Time — Execution time in secondsX-Result-Count — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.X-Total-Available-Results — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.X-Warning — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.X-Retry-After — Seconds to wait before retrying. Present only on 429.