DHgate store
A DHgate store (seller): name, logo, headline and description, supplier id, positive feedback, transactions, DHgate's service scores (on-time delivery, repurchase rate), location, open since, seller level, popular searches and the reviews summary of all its products (total, with photos, from the ship-to country, star breakdown, tags). Products are on /dhgate/v1/store-products and reviews on /dhgate/v1/store-reviews.
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 store number (store.id in search and product, e.g. 20750510) or its dhgate.com/store/ link. Example: 20750510 |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/dhgate/v1/store?id=20750510" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/dhgate/v1/store",
params={"id": "20750510"},
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/store");
url.searchParams.set("id", "20750510");
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": "20750510","url": "https://www.dhgate.com/store/20750510","supplier_id": "ff8080815d2b7f6d015d698b6146376b","name": "ocasen","logo": "https://www.dhresource.com/user_2059457937_00.jpg","headline": "Cell phone accessories manufacture, competitive price.","description": "Shenzhen Ocasen Technology Co., Ltd was established in 2009, we are specializing in producing emboss cases, TPU, PC combo cases, leather cas…","positive_feedback": "100.0%","transactions": 5529,"service_scores": {"On-time Delivery Rate": "Below Average","Repurchase rate": "Above Average"},"location": "China","open_since": "Jul 2017","level": 4,"popular_searches": ["Phone Case","Phone Cover","… 1 more"],"reviews": {"total": 6562,"with_photos": 54,"from_ship_to_country": 4359,"breakdown": {"1": 15,"2": 7,"3": 38,"4": 116,"5": 6386},"tags": [{"name": "Satisfied","count": 211},{"name": "Excellent","count": 29},"… 46 more"]},"cached": false,"credits_used": 1}