item_idstringआवश्यक
Video item ID
https://api.sandbase.ai/v1/api/tiktok/ads/top-contents-item-detailGet top contents item detail on TikTok. Returns the platform data as structured JSON.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Returns the detail record for one video in the TikTok Creative Center top contents ranking. It includes the video info, author info, top comments, and view and engagement metrics for the ranking period. You need an item_id, a period_end_timestamp, and optionally a country_code.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/ads/top-contents-item-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"item_id": "7684011124739656991", "period_end_timestamp": 1793318400, "period_dimension": 3, "country_code": "US"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
item_id | string | Yes | Video item ID |
period_end_timestamp | integer | Yes | The caller must generate this 10-digit Unix timestamp in seconds from the target ranking date, for example 1785024000; do not pass 0 because it returns an empty result |
cookie | string | No | Custom Cookie string (optional) |
country_code | string | No | Country code of the ranking |
period_dimension | integer | No | 3/5 /Period dimension |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"BaseResp": {
"StatusCode": 0,
"StatusMessage": ""
},
"entityInfo": {
"commentInfos": [
{
"createTime": "1792820854",
"likeCnt": "51",
"objectID": "7700106831570731796",
"text": "To viciada na Ruffles sabor churrasco",
"userAvatarLink": "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/bfb71ec3eca2b3e35dc8…",
"userID": "7630573810387977236",
"userName": "ʚAnaɞ 🐰"
}
],
"itemAuthorInfo": {
"avatarURI": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/bd593306c9ed3c9…",
"bio": "oi :) conto histórias \nyoutube:deixa falar \n@fefeschneider\[email protected]",
"creatorType": 1,
"handlerName": "fefe",
"nickName": "Fefe",
"riskInfo": {
"disciplineInfoList": [],
"riskEventInfoList": []
},
"storeRegion": "US"
},
"itemAuthorMetrics": {
"followers": "17081647"
},
"itemInfo": {
"authorID": "6848399732281180166",
"contentType": 1,
"coverURL": "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-p-0068-tx2/ogejjeAR8AEFQ7Cv…",
"coverURLList": [
{
"format": "avif",
"imageUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-p-0068-tx2/ogejjeAR8AEFQ7Cv…"
}
],
"createTime": "1789073267",
"creatorID": "6532037588893564929",
"itemID": "7684011124739656991",
"title": "Existe combinação mais perfeita do que RUFFLES®️ e um bom filme? Impossível! Tod…",
"videoURL": "https://v16m-default.tiktokcdn-us.com/775392842ba38f70fe68b7834bdaf1d2/6ae9e53d/…"
},
"itemMetrics": {
"engagementRate": 0.001270212222686055,
"engagementRateLifeTime": 0.0013676565457314666,
"organicVideoViews": "1021860",
"organicVideoViewsLifeTime": "3551286",
"sixSecondsVTR": 0.02442178790796269,
"sixSecondsVTRLifeTime": 0.024476013493258095,
"videoViews": "35827084",
"videoViewsLifeTime": "65278816"
}
}
}
| Field | Meaning |
|---|---|
entityInfo.itemInfo.itemID / entityInfo.itemInfo.title | The video ID and its caption text, including hashtags and mentions. |
entityInfo.itemInfo.createTime | When the video was posted, as a 10-digit Unix timestamp in seconds, returned as a string. |
entityInfo.itemInfo.coverURL / entityInfo.itemInfo.videoURL | Links to the cover image and the video file. |
entityInfo.itemMetrics.videoViews / entityInfo.itemMetrics.videoViewsLifeTime | Video views for the ranking period and for the whole life of the video. |
entityInfo.itemMetrics.organicVideoViews / entityInfo.itemMetrics.organicVideoViewsLifeTime | Organic video views for the ranking period and for the whole life of the video. |
entityInfo.itemMetrics.engagementRate / entityInfo.itemMetrics.engagementRateLifeTime | Engagement rate as a decimal ratio, for the ranking period and for the whole life of the video. |
entityInfo.itemMetrics.sixSecondsVTR / entityInfo.itemMetrics.sixSecondsVTRLifeTime | Six-second view-through rate as a decimal ratio, for the ranking period and for the whole life of the video. |
entityInfo.itemAuthorInfo.nickName / entityInfo.itemAuthorInfo.handlerName / entityInfo.itemAuthorInfo.bio | The author's display name, handle, and profile bio. |
entityInfo.itemAuthorMetrics.followers | The author's follower count, returned as a string. |
entityInfo.commentInfos[].text / entityInfo.commentInfos[].likeCnt | The text of a top comment and its like count. |
item_id from the itemID values in TikTok Top contents list. Use the same period_end_timestamp and country_code as in that call.period_end_timestamp is a 10-digit Unix timestamp in seconds. Do not pass 0, because it returns an empty result.videoViews, followers, and createTime arrive as strings. Rates such as engagementRate arrive as numbers.cookie is optional.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/ads/top-contents-item-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"item_id": "7684011124739656991",
"country_code": "US",
"period_dimension": 3,
"period_end_timestamp": 1793318400
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
item_idstringआवश्यकVideo item ID
period_end_timestampintegerआवश्यकThe caller must generate this 10-digit Unix timestamp in seconds from the target ranking date, for example 1785024000; do not pass 0 because it returns an empty result
period_dimensioninteger3/5 /Period dimension
डिफ़ॉल्ट: 3
country_codestringCountry code of the ranking
डिफ़ॉल्ट: "US"
cookiestringCustom Cookie string (optional)
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
TikTok | $0.001 प्रति कॉल | JSON |
TikTok | $0.001 प्रति कॉल | JSON |
TikTok | $0.001 प्रति कॉल | JSON |
TikTok | $0.001 प्रति कॉल | JSON |
TikTok | $0.001 प्रति कॉल | JSON |
TikTok | $0.001 प्रति कॉल | JSON |
गाइड्स:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
प्रश्न
https://api.sandbase.ai/v1/api/tiktok/ads/top-contents-item-detail पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: item_id (string) और period_end_timestamp (integer)। वैकल्पिक: period_dimension (integer), country_code (string) और cookie (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। TikTok Top contents item detail SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से TikTok API access के लिए आवेदन करने की आवश्यकता नहीं है।