cookiestringwymagane
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.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
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.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
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"
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
cookiestringwymaganeCookie 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_idstringwymaganeVideo ID
product_idstringwymaganeProduct ID
proxyanyOptional HTTP Proxy Address
start_datestringQuery Start Date, e.g. '04-01-2025'
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
TikTok | $0.001 za wywołanie | JSON |
TikTok | $0.001 za wywołanie | JSON |
TikTok | $0.001 za wywołanie | JSON |
TikTok | $0.001 za wywołanie | JSON |
TikTok | $0.001 za wywołanie | JSON |
TikTok | $0.001 za wywołanie | JSON |
Przewodniki:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/tiktok/creator/video-to-product-stats z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
$0.001 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: cookie (string), item_id (string) i product_id (string). Opcjonalne: proxy (any) i start_date (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie).
Nie. TikTok Video Product Association Statistics działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API TikTok.