Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

TikTok Top contents list

API दस्तावेज़
https://api.sandbase.ai/v1/api/tiktok/ads/top-contents-list

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

मूल्य
$0.001USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
1 आवश्यक · 8 वैकल्पिक

प्लेग्राउंड

इनपुट
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
Content label IDs, comma separated
Order by metric
Organic content only
Page number
Items per page, max 100
आउटपुटतैयार

आपका आउटपुट यहाँ दिखाई देगा

इनपुट पूरा करें, फिर Run पर क्लिक करें।

API README

TikTok Top contents list API

This API returns a ranked list of top-performing TikTok content for one day in one country. It needs period_end_timestamp, a 10-digit Unix timestamp in seconds for the ranking date. Each item includes the post, its author, and view and engagement metrics.

Use cases

  • Find the posts with the most video views in the US on a given ranking day.
  • Spot paid partnership posts, such as those tagged with a brand hashtag, to see which creators brands work with.
  • Compare organicVideoViews with videoViews to see how much of a post's reach came from organic viewing.
  • Filter by content_label_ids to track top posts in one category such as Fashion.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/ads/top-contents-list" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"period_end_timestamp": 1793318400, "period_dimension": 3, "country_code": "US", "order_by_metric": 1, "page": 1, "limit": 20}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
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
content_label_idsstringNoContent label IDs, comma separated
cookiestringNoCustom Cookie string (optional)
country_codestringNoCountry code
limitintegerNoItems per page, max 100
order_by_metricintegerNoOrder by metric
organic_onlybooleanNoOrganic content only
pageintegerNoPage number
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": ""
  },
  "entityInfos": [
    {
      "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]",
        "handlerName": "fefe",
        "nickName": "Fefe"
      },
      "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…"
      },
      "itemMetrics": {
        "engagementRate": 0.001270212222686055,
        "engagementRateLifeTime": 0.0013676565457314666,
        "organicVideoViews": "1021860",
        "organicVideoViewsLifeTime": "3551286",
        "sixSecondsVTR": 0.02442178790796269,
        "sixSecondsVTRLifeTime": 0.024476013493258095,
        "videoViews": "35827084",
        "videoViewsLifeTime": "65278816"
      }
    }
  ],
  "pagination": {
    "hasMore": true,
    "limit": 20,
    "page": 1,
    "pageCount": 5,
    "totalCount": 100
  }
}

Response fields

FieldMeaning
entityInfos[].itemInfo.itemIDID of the post.
entityInfos[].itemInfo.titleCaption text of the post, including hashtags and mentions. Long captions may be cut.
entityInfos[].itemInfo.createTimeCreation time of the post as a Unix timestamp in seconds, returned as a string.
entityInfos[].itemInfo.coverURL / entityInfos[].itemInfo.coverURLList[].imageUrlCover image links for the post. The list gives the same cover in several formats, shown in format (for example avif and jpeg).
entityInfos[].itemAuthorInfo.handlerName / entityInfos[].itemAuthorInfo.nickNameHandle and display name of the author.
entityInfos[].itemAuthorInfo.bioProfile bio text of the author.
entityInfos[].itemAuthorMetrics.followersFollower count of the author, returned as a string.
entityInfos[].itemMetrics.videoViews / entityInfos[].itemMetrics.videoViewsLifeTimeVideo views for the ranking period and over the whole life of the post.
entityInfos[].itemMetrics.organicVideoViews / entityInfos[].itemMetrics.organicVideoViewsLifeTimeOrganic video views for the ranking period and over the whole life of the post.
entityInfos[].itemMetrics.engagementRate / entityInfos[].itemMetrics.sixSecondsVTREngagement rate and six-second view-through rate as decimal fractions. The matching LifeTime fields give the lifetime values.
entityInfos[].contentTags[].contentLabelID / entityInfos[].contentTags[].contentLabelNameContent label ID and name for the post. This key only appears on some items.

Notes

  • Page through results with page and limit (max 100). The pagination object returns hasMore, pageCount and totalCount.
  • Use contentLabelID values from contentTags as content_label_ids, comma separated, to filter by label.
  • IDs such as itemID and authorID and counts such as followers come back as strings.
  • To get more on a single post, call TikTok Top contents item detail.

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

प्रश्न

FAQ

TikTok Top contents list API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/tiktok/ads/top-contents-list पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

TikTok Top contents list API की लागत कितनी है?

$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।

TikTok Top contents list API कौन-से parameters स्वीकार करती है?

आवश्यक: period_end_timestamp (integer)। वैकल्पिक: period_dimension (integer), country_code (string), content_label_ids (string), order_by_metric (integer), organic_only (boolean) और page (integer) और 2 और। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

TikTok Top contents list API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।

क्या मुझे एक TikTok developer account या API key चाहिए?

नहीं। TikTok Top contents list SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से TikTok API access के लिए आवेदन करने की आवश्यकता नहीं है।