handlestringzorunlu
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).
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
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.
Geliştirmeye başlayın
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
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 anahtarınızı sunucu ortamınıza ayarlayın. İstekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarınızı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın.
handlestringzorunluThe handle of the TikTok user (e.g. mrtiktokreviews).
cursorstringPagination token for retrieving subsequent product pages.
regionstringGeographical region for proxy placement (defaults to US).
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
Yayınlanmış bir kaydedilmiş yanıt yok. Yanıtını incelemek için API'yi Playground'da çalıştırın.
Daha fazlasını keşfedin
| API | Fiyat | Yanıt |
|---|---|---|
TikTok Shop | Kullanım başına $0.0012'den itibaren | JSON |
TikTok Shop | Kullanım başına $0.0012'den itibaren | JSON |
TikTok Shop | Kullanım başına $0.0055'den itibaren | JSON |
TikTok Shop | Kullanım başına $0.0012'den itibaren | JSON |
TikTok Shop | Kullanım başına $0.00095'den itibaren | JSON |
TikTok Shop | Kullanım başına $0.00095'den itibaren | JSON |
Sorular
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/tiktok-shop/user-showcase adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
çağrı başına $0.0012'dan başlayan, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.
Gerekli: handle (string). İsteğe bağlı: cursor (string) ve region (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.
Hayır. TikTok Shop User Showcase, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. TikTok Shop API erişimi için ayrıca başvuru yapmanız gerekmez.