shopIdstringआवश्यक
The unique ID of the shop on Douyin E-commerce.
https://api.sandbase.ai/v1/api/douyin/ec/shop-itemsList the products of a Douyin shop by shop ID, page by page, with price and sales for each item.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Returns one page of products listed by a Douyin shop. Each item has a title, price, monthly sales, cover image and ID. The only required input is the shop ID in shopId.
month_sales across its products.product_id values to feed into item detail, SKU or comment lookups.curl -X POST "https://api.sandbase.ai/v1/api/douyin/ec/shop-items" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"shopId": "42853938"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
shopId | string | Yes | The unique ID of the shop on Douyin E-commerce. |
page | string | No | Page number for pagination. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"page": 1,
"products": [
{
"cover": "https://lf26-cm.ecombdstatic.com/obj/ecom-shop-material/jpeg_m_64c6f372c524bd699…",
"month_sales": 705482,
"price": 39.9,
"product_id": "3680294078299373976",
"product_tags": [
"运费险"
],
"promotion_id": "3680296553450441933",
"title": "娇婵美白补水修颜隔离防晒乳SPF50+PA++++防紫外线补水"
}
],
"shop_id": "42853938",
"total": 81,
"total_pages": 9
}
| Field | Meaning |
|---|---|
products[].product_id | ID of the product. Use it to look up the item in other Douyin shop APIs. |
products[].title | Product title as shown in the shop, in Chinese. |
products[].price | Listed price of the product as a number, for example 39.9. |
products[].month_sales | Sales count for the product, named as a monthly figure. |
products[].cover | URL of the product cover image. |
products[].product_tags | List of tags shown on the product, such as shipping insurance and return policy labels. |
products[].promotion_id | ID of the promotion linked to the product. |
page / total_pages | Current page number and the total number of pages for this shop. |
total | Total number of products found for the shop. |
shop_id | ID of the shop that was queried. |
page. The first request without page returns page 1. Stop when page reaches total_pages.product_id is a long numeric string. Keep it as a string to avoid rounding.product_id for full item data, or Douyin Shop Item SKUs for its variants.$0.028571 per successful call. Failed calls are not charged.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/ec/shop-items" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"shopId": "42853938"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
shopIdstringआवश्यकThe unique ID of the shop on Douyin E-commerce.
pagestringPage number for pagination.
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Douyin Shop Itemsयह API Douyin | $0.028571 प्रति कॉल | JSON |
Douyin | $0.025714 प्रति कॉल | JSON |
Douyin | $0.025714 प्रति कॉल | JSON |
Douyin | $0.035714 प्रति कॉल | JSON |
Douyin | $0.035714 प्रति कॉल | JSON |
Douyin | $0.001 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/douyin/ec/shop-items पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.028571 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: shopId (string)। वैकल्पिक: page (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Douyin Shop Items SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Douyin API access के लिए आवेदन करने की आवश्यकता नहीं है।