Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

TikTok Top contents item detail

เอกสาร API
https://api.sandbase.ai/v1/api/tiktok/ads/top-contents-item-detail

Get top contents item detail on TikTok. Returns the platform data as structured JSON.

ราคา
$0.001USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
2 จำเป็น · 3 ไม่บังคับ

Playground

อินพุต
Video item ID
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
3/5 /Period dimension
Country code of the ranking
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

TikTok Top contents item detail API

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.

Use cases

  • Compare a ranked video's period views with its lifetime views to see how much of its reach came in the ranking window.
  • Pull the author's follower count and bio to judge which creators to contact for a brand partnership.
  • Read the top comments on a ranked video to see how viewers respond to a sponsored post.
  • Save the cover and video URLs of a top video for a creative reference board.

Request

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.

Parameters

NameTypeRequiredDescription
item_idstringYesVideo item ID
period_end_timestampintegerYesThe 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
cookiestringNoCustom Cookie string (optional)
country_codestringNoCountry code of the ranking
period_dimensionintegerNo3/5 /Period dimension

Example response

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"
    }
  }
}

Response fields

FieldMeaning
entityInfo.itemInfo.itemID / entityInfo.itemInfo.titleThe video ID and its caption text, including hashtags and mentions.
entityInfo.itemInfo.createTimeWhen the video was posted, as a 10-digit Unix timestamp in seconds, returned as a string.
entityInfo.itemInfo.coverURL / entityInfo.itemInfo.videoURLLinks to the cover image and the video file.
entityInfo.itemMetrics.videoViews / entityInfo.itemMetrics.videoViewsLifeTimeVideo views for the ranking period and for the whole life of the video.
entityInfo.itemMetrics.organicVideoViews / entityInfo.itemMetrics.organicVideoViewsLifeTimeOrganic video views for the ranking period and for the whole life of the video.
entityInfo.itemMetrics.engagementRate / entityInfo.itemMetrics.engagementRateLifeTimeEngagement rate as a decimal ratio, for the ranking period and for the whole life of the video.
entityInfo.itemMetrics.sixSecondsVTR / entityInfo.itemMetrics.sixSecondsVTRLifeTimeSix-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.bioThe author's display name, handle, and profile bio.
entityInfo.itemAuthorMetrics.followersThe author's follower count, returned as a string.
entityInfo.commentInfos[].text / entityInfo.commentInfos[].likeCntThe text of a top comment and its like count.

Notes

  • Get 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.
  • Counts and timestamps such as videoViews, followers, and createTime arrive as strings. Rates such as engagementRate arrive as numbers.
  • cookie is optional.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
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

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ TikTok Top contents item detail API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/tiktok/ads/top-contents-item-detail โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

TikTok Top contents item detail API ราคาเท่าไร?

$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

TikTok Top contents item detail API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: item_id (string) และ period_end_timestamp (integer). ตัวเลือก: period_dimension (integer), country_code (string) และ cookie (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

TikTok Top contents item detail API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ TikTok ไหม?

ไม่จำเป็น TikTok Top contents item detail ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง TikTok API แยกต่างหาก