adv_idany
Advertiser id, optional
https://api.sandbase.ai/v1/api/douyin/douplus/video-rankingRetrieves DOU+ video leaderboard metrics filterable by category, ranking dimension, and time range. Returns video titles, author details, and engagement statistics.
[
{
"data": {
"code": 0,
"data": [
{
"author": {
"followerCount": 464,
"nickname": "DT&T"
},
"cover": "https://p11-sign.douyinpic.com/tos-cn-p-0015/oYA5sFEgDsAFIEbtpj9MfZfywbDFABCItCtqyl~noop.jpeg?x-expires=1786111200&x-signature=2xyILRaWzcPgHQQO1PHHer3wW7s%3D&from=3751895876",
"createTime": "1785050841",
"isPhoto": false,
"itemId": "7666734984943053430",
"photos": [],
"playAddr": "https://v13-cold.douyinvod.com/74c7ae52d1bd3e9b3965c75da5d84dd8/6a75a3aa/video/tos/cn/tos-cn-ve-15/oQFIztauQlfBGgyCYlSGeBQ72LALgf2AD0YUIl/?a=1128&br=2033&bt=2033&btag=c0010e00088000&cd=0%7C0%7C0%7C0&ch=0&cquery=101y&cr=0&cs=0&cv=1&dr=0&ds=3&dy_q=1786090899&dy_va_biz_cert=&er=0&feature_id=f5241e7604dff1d9d6c943fd20bd51a2&ft=r5QvG77JWH6BMlpJyJr0PD1IN&l=20260807162138FCE2747C65904F9F6ECE&lr=default&mime_type=video_mp4&qs=0&rc=aTNmZDVpOWg4aDM4Mzs4O0BpM2Y5Znk5cmt1PDMzNGkzM0AzXmFhMy8uXjAxYWMuNjNgYSMxbmttMmRjYWZhLS1kLTBzcw%3D%3D",
"statistics": {
"CommentCnt": "0",
"FinishPlayRate": 0.4088438432628168,
"IndexCnt": "95752",
"LikeCnt": "0",
"LikeRate": 0.017288315721151335,
"NewFansCnt": "522",
"NewFansRate": 0.0001041212465986062,
"NewLikeCnt": "86673",
"NewPlayCnt": "5013386",
"ShareCnt": "0",
"ViewCnt": "0"
},
"title": "恒隆屋顶漏雨了 #大雨"
},
{
"author": {
"followerCount": 4609,
"nickname": "小米之家文山话事人"
},
"cover": "https://p5-ex-gddgtc-sign.douyinpic.com/tos-cn-p-0015/o0EAki1FmBCuA9BUIfYFtNCgi0xIcM3JkdLAej~noop.jpeg?x-expires=1786111200&x-signature=RRZG29wn0LRmZO5GYOrYo3Qbb7A%3D&from=3751895876",
"createTime": "1784989238",
"isPhoto": false,
"itemId": "7666470398279667539",
"photos": [],
"playAddr": "https://v26-cold.douyinvod.com/2105b437b2feb8d287f8e5f97fffd885/6a75a3b8/video/tos/cn/tos-cn-ve-15/oYulemcV1INDAaA3GBMi95LiE9BQFuAkJgfzTI/?a=1128&ch=0&cr=0&dr=0&er=0&lr=default&cd=0%7C0%7C0%7C0&cv=1&br=1281&bt=1281&cs=0&ds=6&ft=r5QvG77JWH6BMlpJyJr0PD1IN&mime_type=video_mp4&qs=0&rc=NTVpaGU1ZzgzZjc0aGQ1Z0BpM2hwbHE5cjdmPDMzNGkzM0AwMTI2YjIxNTExNC9gMWFjYSNiNjQvMmRzX2ZhLS1kLWFzcw%3D%3D&btag=c0010e00097000&cquery=101y&dy_q=1786090899&feature_id=f0150a16a324336cda5d6dd0b69ed299&l=20260807162138FCE2747C65904F9F6ECE",
"statistics": {
"CommentCnt": "0",
"FinishPlayRate": 0.40804553494075607,
"IndexCnt": "81905",
"LikeCnt": "0",
"LikeRate": 0.07472019943765844,
"NewFansCnt": "1762",
"NewFansRate": 0.0002072378952251307,
"NewLikeCnt": "635294",
"NewPlayCnt": "8502306",
"ShareCnt": "0",
"ViewCnt": "0"
},
"title": "大狗大狗请叫叫!#小米之家 #家电 #商场"
},
{
"author": {
"followerCount": 2428405,
"nickname": "豆子姐姐"
},
"cover": "https://p3-sign.douyinpic.com/tos-cn-p-0015c000-ce/okfEiBqQL40DABXQwHoTafEdFAA9bEZ7FQTciI~noop.jpeg?x-expires=1786111200&x-signature=Pno0qtJ24e2%2B6ihYo6U7qa%2F4Lg4%3D&from=3751895876",
"createTime": "1785045145",
"isPhoto": false,
"itemId": "7666710519680707813",
"photos": [],
"playAddr": "https://v26-cold.douyinvod.com/fa96a0c73d2cefc54cba0942af5dd3c8/6a75a3b3/video/tos/cn/tos-cn-ve-15c000-ce/ooZLot1uBEFzIl9AApiQoSej6Bfg1DEIiiwcAM/?a=1128&ch=0&cr=0&dr=0&er=0&lr=default&cd=0%7C0%7C0%7C0&cv=1&br=1677&bt=1677&cs=0&ds=6&ft=r5QvG77JWH6BMlpJyJr0PD1IN&mime_type=video_mp4&qs=0&rc=ZWRlOjxnNzhmMzc3Ojg3aEBpM3RoOnc5cmt0PDMzbGkzNUA2XzI1YGBfNjIxYTY0MTE1YSMxZy5rMmRzLWZhLS1kLTVzcw%3D%3D&btag=c0010e00097000&cquery=101y&dy_q=1786090899&feature_id=f0150a16a324336cda5d6dd0b69ed299&l=20260807162138FCE2747C65904F9F6ECE",
"statistics": {
"CommentCnt": "0",
"FinishPlayRate": 0.48216753300400295,
"IndexCnt": "72638",
"LikeCnt": "0",
"LikeRate": 0.0334214873790522,
"NewFansCnt": "8421",
"NewFansRate": 0.0006077158917741783,
"NewLikeCnt": "463115",
"NewPlayCnt": "13856804",
"ShareCnt": "0",
"ViewCnt": "0"
},
"title": ""
},
"… 36 more items in the full response"
],
"msg": "success"
}
}
]選擇一個範例,將其輸入與結果載入 playground。
Returns the DOU+ video leaderboard for Douyin. Each entry has the video title, author, cover, and engagement statistics. All inputs are optional, and the defaults return the Entertainment category ranked by hotness index.
dim_type 1.FinishPlayRate and LikeRate across top videos to see which content holds viewers.itemId values of top videos to pull their full details with another API.curl -X POST "https://api.sandbase.ai/v1/api/douyin/douplus/video-ranking" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
adv_id | string | No | Advertiser id, optional |
dim_type | string | No | Ranking dimension, default 5. 1=low-fan hits, 2=high completion, 3=high like-rate, 4=high follower-growth, 5=hotness index |
tag_id | string | No | Category id, default 634 (Entertainment). Full map: 601 Plot, 602 Star, 606 Music, 607 ACGN, |
time_range | string | No | Time range, 1 / 2 / 3, default 2 |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": [
{
"author": {
"followerCount": 638,
"nickname": "日出夜游"
},
"cover": "https://p26-sign.douyinpic.com/eden-cn/lsfreh7ulphrvhps/douplus/private_cover.pn…",
"createTime": "1792581711",
"isPhoto": false,
"itemId": "7699079819598533282",
"photos": [],
"statistics": {
"CommentCnt": "0",
"FinishPlayRate": 0.5975203935815757,
"IndexCnt": "82170",
"LikeCnt": "0",
"LikeRate": 0.01576316934408921,
"NewFansCnt": "406",
"NewFansRate": 9.375828467601663e-05,
"NewLikeCnt": "68259"
},
"title": "这变脸速度不挣钱不行啊"
}
],
"msg": "success"
}
| Field | Meaning |
|---|---|
data[].title | Caption of the video, including its hashtags. |
data[].itemId | ID of the video, as a string. |
data[].author.nickname / data[].author.followerCount | Display name of the author and the author's follower count. |
data[].createTime | Publish time as a Unix timestamp in seconds, returned as a string. |
data[].statistics.IndexCnt | Count behind the ranking index for this video, returned as a string. Higher values appear first in the sample under the default ranking. |
data[].statistics.FinishPlayRate / data[].statistics.LikeRate / data[].statistics.NewFansRate | Ratios between 0 and 1 for completed plays, likes, and new followers gained. |
data[].statistics.NewFansCnt / data[].statistics.NewLikeCnt | Counts of new followers and new likes, returned as strings. |
data[].cover | Signed URL of the cover image. The URL carries an expiry in its query string. |
data[].playAddr | Video play URL. Some entries do not include it. |
data[].isPhoto / data[].photos | isPhoto shows whether the entry is a photo post. photos lists the images for photo posts. |
{} to get the defaults: tag_id 634 (Entertainment), dim_type 5 (hotness index), time_range 2.dim_type to 1 for low-fan hits, 2 for high completion, 3 for high like-rate, 4 for high follower-growth, or 5 for hotness index.IndexCnt and NewFansCnt are strings, so convert them to numbers before sorting.itemId to Douyin Douplus Video Detail.$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/douyin/douplus/video-ranking" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"dim_type": 5,
"time_range": 2
}'請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
adv_idanyAdvertiser id, optional
dim_typeanyRanking dimension, default 5. 1=low-fan hits, 2=high completion, 3=high like-rate, 4=high follower-growth, 5=hotness index
tag_idanyCategory id, default 634 (Entertainment). Full map: 601 Plot, 602 Star, 606 Music, 607 ACGN,
time_rangeanyTime range, 1 / 2 / 3, default 2
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
[
{
"data": {
"code": 0,
"data": [
{
"author": {
"followerCount": 464,
"nickname": "DT&T"
},
"cover": "https://p11-sign.douyinpic.com/tos-cn-p-0015/oYA5sFEgDsAFIEbtpj9MfZfywbDFABCItCtqyl~noop.jpeg?x-expires=1786111200&x-signature=2xyILRaWzcPgHQQO1PHHer3wW7s%3D&from=3751895876",
"createTime": "1785050841",
"isPhoto": false,
"itemId": "7666734984943053430",
"photos": [],
"playAddr": "https://v13-cold.douyinvod.com/74c7ae52d1bd3e9b3965c75da5d84dd8/6a75a3aa/video/tos/cn/tos-cn-ve-15/oQFIztauQlfBGgyCYlSGeBQ72LALgf2AD0YUIl/?a=1128&br=2033&bt=2033&btag=c0010e00088000&cd=0%7C0%7C0%7C0&ch=0&cquery=101y&cr=0&cs=0&cv=1&dr=0&ds=3&dy_q=1786090899&dy_va_biz_cert=&er=0&feature_id=f5241e7604dff1d9d6c943fd20bd51a2&ft=r5QvG77JWH6BMlpJyJr0PD1IN&l=20260807162138FCE2747C65904F9F6ECE&lr=default&mime_type=video_mp4&qs=0&rc=aTNmZDVpOWg4aDM4Mzs4O0BpM2Y5Znk5cmt1PDMzNGkzM0AzXmFhMy8uXjAxYWMuNjNgYSMxbmttMmRjYWZhLS1kLTBzcw%3D%3D",
"statistics": {
"CommentCnt": "0",
"FinishPlayRate": 0.4088438432628168,
"IndexCnt": "95752",
"LikeCnt": "0",
"LikeRate": 0.017288315721151335,
"NewFansCnt": "522",
"NewFansRate": 0.0001041212465986062,
"NewLikeCnt": "86673",
"NewPlayCnt": "5013386",
"ShareCnt": "0",
"ViewCnt": "0"
},
"title": "恒隆屋顶漏雨了 #大雨"
},
{
"author": {
"followerCount": 4609,
"nickname": "小米之家文山话事人"
},
"cover": "https://p5-ex-gddgtc-sign.douyinpic.com/tos-cn-p-0015/o0EAki1FmBCuA9BUIfYFtNCgi0xIcM3JkdLAej~noop.jpeg?x-expires=1786111200&x-signature=RRZG29wn0LRmZO5GYOrYo3Qbb7A%3D&from=3751895876",
"createTime": "1784989238",
"isPhoto": false,
"itemId": "7666470398279667539",
"photos": [],
"playAddr": "https://v26-cold.douyinvod.com/2105b437b2feb8d287f8e5f97fffd885/6a75a3b8/video/tos/cn/tos-cn-ve-15/oYulemcV1INDAaA3GBMi95LiE9BQFuAkJgfzTI/?a=1128&ch=0&cr=0&dr=0&er=0&lr=default&cd=0%7C0%7C0%7C0&cv=1&br=1281&bt=1281&cs=0&ds=6&ft=r5QvG77JWH6BMlpJyJr0PD1IN&mime_type=video_mp4&qs=0&rc=NTVpaGU1ZzgzZjc0aGQ1Z0BpM2hwbHE5cjdmPDMzNGkzM0AwMTI2YjIxNTExNC9gMWFjYSNiNjQvMmRzX2ZhLS1kLWFzcw%3D%3D&btag=c0010e00097000&cquery=101y&dy_q=1786090899&feature_id=f0150a16a324336cda5d6dd0b69ed299&l=20260807162138FCE2747C65904F9F6ECE",
"statistics": {
"CommentCnt": "0",
"FinishPlayRate": 0.40804553494075607,
"IndexCnt": "81905",
"LikeCnt": "0",
"LikeRate": 0.07472019943765844,
"NewFansCnt": "1762",
"NewFansRate": 0.0002072378952251307,
"NewLikeCnt": "635294",
"NewPlayCnt": "8502306",
"ShareCnt": "0",
"ViewCnt": "0"
},
"title": "大狗大狗请叫叫!#小米之家 #家电 #商场"
},
{
"author": {
"followerCount": 2428405,
"nickname": "豆子姐姐"
},
"cover": "https://p3-sign.douyinpic.com/tos-cn-p-0015c000-ce/okfEiBqQL40DABXQwHoTafEdFAA9bEZ7FQTciI~noop.jpeg?x-expires=1786111200&x-signature=Pno0qtJ24e2%2B6ihYo6U7qa%2F4Lg4%3D&from=3751895876",
"createTime": "1785045145",
"isPhoto": false,
"itemId": "7666710519680707813",
"photos": [],
"playAddr": "https://v26-cold.douyinvod.com/fa96a0c73d2cefc54cba0942af5dd3c8/6a75a3b3/video/tos/cn/tos-cn-ve-15c000-ce/ooZLot1uBEFzIl9AApiQoSej6Bfg1DEIiiwcAM/?a=1128&ch=0&cr=0&dr=0&er=0&lr=default&cd=0%7C0%7C0%7C0&cv=1&br=1677&bt=1677&cs=0&ds=6&ft=r5QvG77JWH6BMlpJyJr0PD1IN&mime_type=video_mp4&qs=0&rc=ZWRlOjxnNzhmMzc3Ojg3aEBpM3RoOnc5cmt0PDMzbGkzNUA2XzI1YGBfNjIxYTY0MTE1YSMxZy5rMmRzLWZhLS1kLTVzcw%3D%3D&btag=c0010e00097000&cquery=101y&dy_q=1786090899&feature_id=f0150a16a324336cda5d6dd0b69ed299&l=20260807162138FCE2747C65904F9F6ECE",
"statistics": {
"CommentCnt": "0",
"FinishPlayRate": 0.48216753300400295,
"IndexCnt": "72638",
"LikeCnt": "0",
"LikeRate": 0.0334214873790522,
"NewFansCnt": "8421",
"NewFansRate": 0.0006077158917741783,
"NewLikeCnt": "463115",
"NewPlayCnt": "13856804",
"ShareCnt": "0",
"ViewCnt": "0"
},
"title": ""
},
"… 36 more items in the full response"
],
"msg": "success"
}
}
]探索更多
| API | 價格 | 回應 |
|---|---|---|
Douyin | 每次呼叫 $0.001 | JSON |
Douyin | 每次呼叫 $0.001 | JSON |
Douyin | 每次呼叫 $0.001 | JSON |
Douyin | 每次呼叫 $0.001 | JSON |
Douyin | 每次呼叫 $0.001 | JSON |
Douyin | 每次呼叫 $0.001 | JSON |
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/douyin/douplus/video-ranking。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次 $0.001,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
不需要任何參數。 選填:adv_id (any), dim_type (any), tag_id (any) 和 time_range (any)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
不需要。Douyin DOU+ Video Ranking 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Douyin API 存取權。