DHgate product reviews
Buyer reviews of a DHgate product: id, rating, text, date, buyer nickname and level, country, helpful count, the variant bought, review images and video, the seller's reply and raw. Filters: with photos, buyer country and review tag; sort by newest or most helpful. Page 1 also returns the summary (average, count, photo count, transactions, store review count, star breakdown, tags). 10 reviews a page. Pass next_page back as page; null on the last page.
Every response includes credits_used: the credits this call cost.
Part of the DHgate API: 7 endpoints with prices, use cases and example responses.
Parameters
| name | type | description |
|---|---|---|
idrequired | string | The product item code (e.g. 404047032) or its link. Example: 404047032 |
sort | newest | most_helpful | Order. |
with_photos | true | true: only reviews with photos or video. |
country | string | Only reviews from buyers in this country (two letters, e.g. US). |
tag | string | Only reviews with this tag (a name from summary.tags, e.g. Satisfied). |
page | integer | Page number. Pass next_page from the previous response; null on the last page. |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/dhgate/v1/reviews?id=404047032" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/dhgate/v1/reviews",
params={"id": "404047032"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/dhgate/v1/reviews");
url.searchParams.set("id", "404047032");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).
Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)
{"id": "404047032","applied_filters": {},"total": 1482,"page": 1,"pages": 149,"count": 10,"next_page": 2,"summary": {"rating": 5,"reviews": 1482,"with_photos": 20,"transactions": 1691,"store_reviews": 6562,"breakdown": {"1": 0,"2": 1,"3": 7,"4": 20,"5": 1454},"tags": [{"name": "Satisfied","count": 93},{"name": "Excellent","count": 24},"… 46 more"]},"reviews": [{"id": "463640064","rating": 5,"text": "Very Satisfied","date": "2026-09-11T12:38:28.000Z","author": "Toshop","buyer_level": "V4","country": "United States","country_code": "US","helpful": 0,"variant": [{"name": "Color","value": "Transparent"},{"name": "Compatible","value": "For Samsung models(Contact us)"}],"images": [],"video": null,"seller_reply": null,"product_id": "ff8080815e044322015e2b94eca4265d","itemcode": null},{"id": "449593516","rating": 5,"text": "Very Satisfied","date": "2026-05-04T20:54:39.000Z","author": "Toshop","buyer_level": "V4","country": "United States","country_code": "US","helpful": 0,"variant": [{"name": "Compatible","value": "for iPhone 12 Pro Max"},{"name": "Color","value": "Transparent"}],"images": [],"video": null,"seller_reply": null,"product_id": "ff8080815e044322015e2b94eca4265d","itemcode": null},"… 8 more"],"cached": false,"credits_used": 1}