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.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
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 ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
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 นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
TikTok Shop User ShowcaseAPI นี้ 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 |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/tiktok-shop/user-showcase โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
เริ่มต้นที่ $0.0012 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: handle (string). ตัวเลือก: cursor (string) และ region (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น TikTok Shop User Showcase ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง TikTok Shop API แยกต่างหาก