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"
}
}
]Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.
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.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
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
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
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
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
[
{
"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"
}
}
]Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
Douyin | $0.001 za wywołanie | JSON |
Douyin | $0.001 za wywołanie | JSON |
Douyin | $0.001 za wywołanie | JSON |
Douyin | $0.001 za wywołanie | JSON |
Douyin | $0.001 za wywołanie | JSON |
Douyin | $0.001 za wywołanie | JSON |
Przewodniki:Best Douyin API in 2026: Pricing Compared
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/douyin/douplus/video-ranking z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
$0.001 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Nie są wymagane żadne parametry. Opcjonalne: adv_id (any), dim_type (any), tag_id (any) i time_range (any). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Nie. Douyin DOU+ Video Ranking działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Douyin.