cookiestringzorunlu
Cookie string of your own logged-in TikTok Shop creator account (from your browser session on the TikTok Shop / Seller Center site). Sent to the upstream for this request only and never stored by SandBase.
https://api.sandbase.ai/v1/api/tiktok/creator/video-to-product-statsReturns promotional metrics linking a TikTok video to a specific product, including views, clicks, orders, and revenue trends over time based on video and product identifiers.
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
Returns promotional performance metrics linking a TikTok video to a specific product using item_id and product_id. Filter performance trends from a specific point in time by supplying start_date.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/creator/video-to-product-stats" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"cookie": "<YOUR_TIKTOK_SHOP_COOKIE>", "item_id": "7350810998023949599", "product_id": "1732108663255959373"}'
| Name | Type | Required | Description |
|---|---|---|---|
cookie | string | Yes | Cookie string of your own logged-in TikTok Shop creator account. Used for this request only and never stored |
item_id | string | Yes | Video ID |
product_id | string | Yes | Product ID |
proxy | string | No | Optional HTTP Proxy Address |
start_date | string | No | Query Start Date, e.g. '04-01-2025' |
cookie from your own TikTok Shop creator account. The data returned belongs to that account; this API cannot look up other creators. SandBase forwards the cookie for this synchronous request only and does not store it in call history or logs, so async mode and retries are not supported.start_date formatted like '04-01-2025' to filter historical data.proxy.Flat price per call. Failed calls, including lookups whose target does not exist, 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/creator/video-to-product-stats" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"item_id": "7350810998023949599",
"product_id": "1732108663255959373"
}'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.
cookiestringzorunluCookie string of your own logged-in TikTok Shop creator account (from your browser session on the TikTok Shop / Seller Center site). Sent to the upstream for this request only and never stored by SandBase.
item_idstringzorunluVideo ID
product_idstringzorunluProduct ID
proxyanyOptional HTTP Proxy Address
start_datestringQuery Start Date, e.g. '04-01-2025'
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 | $0.001 çağrı başına | JSON |
TikTok | $0.001 çağrı başına | JSON |
TikTok | $0.001 çağrı başına | JSON |
TikTok | $0.001 çağrı başına | JSON |
TikTok | $0.001 çağrı başına | JSON |
TikTok | $0.001 çağrı başına | JSON |
Kılavuzlar:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
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/creator/video-to-product-stats adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
çağrı başına $0.001, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.
Gerekli: cookie (string), item_id (string) ve product_id (string). İsteğe bağlı: proxy (any) ve start_date (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron).
Hayır. TikTok Video Product Association Statistics, 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 API erişimi için ayrıca başvuru yapmanız gerekmez.