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
https://api.sandbase.ai/v1/api/tiktok/ads/top-contents-listGet top contents list on TikTok. Returns the platform data as structured JSON.
출력이 여기에 표시됩니다
입력을 완료한 다음 Run을 클릭하세요.
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.
organicVideoViews with videoViews to see how much of a post's reach came from organic viewing.content_label_ids to track top posts in one category such as Fashion.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.
| Name | Type | Required | Description |
|---|---|---|---|
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 |
content_label_ids | string | No | Content label IDs, comma separated |
cookie | string | No | Custom Cookie string (optional) |
country_code | string | No | Country code |
limit | integer | No | Items per page, max 100 |
order_by_metric | integer | No | Order by metric |
organic_only | boolean | No | Organic content only |
page | integer | No | Page number |
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": ""
},
"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
}
}
| Field | Meaning |
|---|---|
entityInfos[].itemInfo.itemID | ID of the post. |
entityInfos[].itemInfo.title | Caption text of the post, including hashtags and mentions. Long captions may be cut. |
entityInfos[].itemInfo.createTime | Creation time of the post as a Unix timestamp in seconds, returned as a string. |
entityInfos[].itemInfo.coverURL / entityInfos[].itemInfo.coverURLList[].imageUrl | Cover 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.nickName | Handle and display name of the author. |
entityInfos[].itemAuthorInfo.bio | Profile bio text of the author. |
entityInfos[].itemAuthorMetrics.followers | Follower count of the author, returned as a string. |
entityInfos[].itemMetrics.videoViews / entityInfos[].itemMetrics.videoViewsLifeTime | Video views for the ranking period and over the whole life of the post. |
entityInfos[].itemMetrics.organicVideoViews / entityInfos[].itemMetrics.organicVideoViewsLifeTime | Organic video views for the ranking period and over the whole life of the post. |
entityInfos[].itemMetrics.engagementRate / entityInfos[].itemMetrics.sixSecondsVTR | Engagement rate and six-second view-through rate as decimal fractions. The matching LifeTime fields give the lifetime values. |
entityInfos[].contentTags[].contentLabelID / entityInfos[].contentTags[].contentLabelName | Content label ID and name for the post. This key only appears on some items. |
page and limit (max 100). The pagination object returns hasMore, pageCount and totalCount.contentLabelID values from contentTags as content_label_ids, comma separated, to filter by label.itemID and authorID and counts such as followers come back as strings.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
빌드를 시작하세요
통합 인증 및 사용량 추적이 있는 플랫폼 API 엔드포인트입니다.
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 '{
"page": 1,
"limit": 20,
"country_code": "US",
"organic_only": false,
"order_by_metric": 1,
"period_dimension": 3,
"period_end_timestamp": 1793318400
}'서버 환경에 SandBase API 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
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
기본값: "US"
content_label_idsstringContent label IDs, comma separated
order_by_metricintegerOrder by metric
기본값: 1
organic_onlybooleanOrganic content only
기본값: false
pageintegerPage number
기본값: 1
limitintegerItems per page, max 100
기본값: 20
cookiestringCustom Cookie string (optional)
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
저장된 응답이 게시되지 않았습니다. 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
질문
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/tiktok/ads/top-contents-list에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
호출당 $0.001, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.
필수: 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 표와 Playground에 모든 필드가 나와 있습니다.
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
아니요. TikTok Top contents list은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. TikTok API 액세스를 별도로 신청할 필요는 없습니다.