Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Douyin DOU+ Video Ranking

Tài liệu API
https://api.sandbase.ai/v1/api/douyin/douplus/video-ranking

Retrieves DOU+ video leaderboard metrics filterable by category, ranking dimension, and time range. Returns video titles, author details, and engagement statistics.

Giá
$0.001USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
0 bắt buộc · 4 tùy chọn

Phòng thử nghiệm

Đầu vào
Advertiser id, optional
Ranking dimension, default 5. 1=low-fan hits, 2=high completion, 3=high like-rate, 4=high follower-growth, 5=hotness index
Category id, default 634 (Entertainment). Full map: 601 Plot, 602 Star, 606 Music, 607 ACGN,
Time range, 1 / 2 / 3, default 2
Đầu raVí dụ
Phản hồioutputs · 4.5 KB · 89 dòng
[
  {
    "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"
    }
  }
]

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

README API

Douyin DOU+ Video Ranking API

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.

Use cases

  • Find which videos in a category currently lead the DOU+ hotness ranking.
  • Spot low-follower authors whose videos reach a large audience by ranking with dim_type 1.
  • Compare FinishPlayRate and LikeRate across top videos to see which content holds viewers.
  • Collect itemId values of top videos to pull their full details with another API.

Request

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.

Parameters

NameTypeRequiredDescription
adv_idstringNoAdvertiser id, optional
dim_typestringNoRanking dimension, default 5. 1=low-fan hits, 2=high completion, 3=high like-rate, 4=high follower-growth, 5=hotness index
tag_idstringNoCategory id, default 634 (Entertainment). Full map: 601 Plot, 602 Star, 606 Music, 607 ACGN,
time_rangestringNoTime range, 1 / 2 / 3, default 2

Example response

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"
}

Response fields

FieldMeaning
data[].titleCaption of the video, including its hashtags.
data[].itemIdID of the video, as a string.
data[].author.nickname / data[].author.followerCountDisplay name of the author and the author's follower count.
data[].createTimePublish time as a Unix timestamp in seconds, returned as a string.
data[].statistics.IndexCntCount 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.NewFansRateRatios between 0 and 1 for completed plays, likes, and new followers gained.
data[].statistics.NewFansCnt / data[].statistics.NewLikeCntCounts of new followers and new likes, returned as strings.
data[].coverSigned URL of the cover image. The URL carries an expiry in its query string.
data[].playAddrVideo play URL. Some entries do not include it.
data[].isPhoto / data[].photosisPhoto shows whether the entry is a photo post. photos lists the images for photo posts.

Notes

  • Send an empty body {} to get the defaults: tag_id 634 (Entertainment), dim_type 5 (hotness index), time_range 2.
  • Set 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.
  • Count fields such as IndexCnt and NewFansCnt are strings, so convert them to numbers before sorting.
  • To read more about one video from the list, pass its itemId to Douyin Douplus Video Detail.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON

Hướng dẫn:Best Douyin API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Douyin DOU+ Video Ranking?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/douplus/video-ranking với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Douyin DOU+ Video Ranking có giá bao nhiêu?

$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Douyin DOU+ Video Ranking chấp nhận những tham số nào?

Không có tham số bắt buộc. Tùy chọn: adv_id (any), dim_type (any), tag_id (any) và time_range (any). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Douyin DOU+ Video Ranking trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Douyin không?

Không. Douyin DOU+ Video Ranking chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Douyin.