handlestringआवश्यक
The handle of the TikTok user (e.g. mrtiktokreviews).
https://api.sandbase.ai/v1/api/tiktok-shop/user-showcaseList the TikTok Shop products a creator showcases (title, price, rating, and sales per product).
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
This API returns the TikTok Shop products a creator showcases on their profile. Each product has a title, price, discount, rating, review count, and units sold. It needs the creator's TikTok handle.
soldCount and rating across a creator's showcase to find their top performing items.curl -X POST "https://api.sandbase.ai/v1/api/tiktok-shop/user-showcase" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"handle": "mrtiktokreviews"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
handle | string | Yes | The handle of the TikTok user (e.g. mrtiktokreviews). |
cursor | string | No | Pagination token for retrieving subsequent product pages. |
region | string | No | Geographical region for proxy placement (defaults to US). |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"nextCursor": "cur_eL5R6xsw_RY1c_-LVf6VnQ",
"products": [
{
"currency": "USD",
"discountPct": 50,
"imageUrl": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/8d1f118…",
"originalPrice": "30",
"price": "15",
"productId": "1729401442164511030",
"rating": 4.4,
"reviewCount": 36828,
"sellerId": "7495079418085345590",
"soldCount": 544937,
"title": "BASED Hair Texture Powder | Instant Volume & Texture | Lightweight, Matte Finish…",
"url": "https://www.tiktok.com/shop/pdp/1729401442164511030"
}
]
},
"found": true
}
| Field | Meaning |
|---|---|
data.products[].title | Product name as listed on TikTok Shop. |
data.products[].productId | ID of the product. Use it to look up the product in other TikTok Shop APIs. |
data.products[].price / data.products[].originalPrice | Current price and the price before the discount. Both are strings, such as "15" and "30". |
data.products[].discountPct | Discount as a percentage, such as 50 for a product that dropped from 30 to 15. |
data.products[].currency | Currency code of the prices, such as USD. |
data.products[].rating / data.products[].reviewCount | Average product rating and the number of reviews. |
data.products[].soldCount | Number of units sold for the product. |
data.products[].sellerId | ID of the seller that lists the product. |
data.products[].url / data.products[].imageUrl | Link to the product page on TikTok Shop and a product image URL. |
data.nextCursor | Token for the next page of products. |
@, for example mrtiktokreviews.data.nextCursor from the response as cursor in the next request, with the same handle.productId to TikTok Shop Product for product details, or to TikTok Shop Product Reviews for its reviews.sellerId to TikTok Shop Store Products to see the other products from that seller.Billed at the actual cost of each call, about $0.0012 for the request above. Failed calls are not charged.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok-shop/user-showcase" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"handle": "mrtiktokreviews"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
handlestringआवश्यकThe handle of the TikTok user (e.g. mrtiktokreviews).
cursorstringPagination token for retrieving subsequent product pages.
regionstringGeographical region for proxy placement (defaults to US).
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
TikTok Shop | $0.0012 प्रति कॉल से | JSON |
TikTok Shop | $0.0012 प्रति कॉल से | JSON |
TikTok Shop | $0.0055 प्रति कॉल से | JSON |
TikTok Shop | $0.0012 प्रति कॉल से | JSON |
TikTok Shop | $0.00095 प्रति कॉल से | JSON |
TikTok Shop | $0.00095 प्रति कॉल से | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/tiktok-shop/user-showcase पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.0012 से प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: handle (string)। वैकल्पिक: cursor (string) और region (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। TikTok Shop User Showcase SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से TikTok Shop API access के लिए आवेदन करने की आवश्यकता नहीं है।