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 |
问题
向 https://api.sandbase.ai/v1/api/douyin/douplus/video-ranking 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 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 key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Douyin API 访问权限。