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

Douyin Current Hot Topics Leaderboard

Tài liệu API
https://api.sandbase.ai/v1/api/douyin/index/current-hot-topic

Returns Douyin real-time hot topics and the trending topics leaderboard. Use this endpoint to observe currently viral subjects and platform-wide discussions.

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

Phòng thử nghiệm

Đầu vào
Không có schema đầu vào
Đầu raVí dụ
Phản hồioutputs · 1.5 KB · 66 dòng
[
  {
    "data": {
      "current": [
        {
          "category": "游戏",
          "content_cnt": "5",
          "rank": "1",
          "rank_flag": "1",
          "topic_index": "12079588",
          "topic_name": "黑神话钟馗实机演示公布",
          "vv": "23425250"
        },
        {
          "category": "天气",
          "content_cnt": "4",
          "rank": "2",
          "rank_flag": "1",
          "topic_index": "11915439",
          "topic_name": "台风沙德尔或于26日移入东海",
          "vv": "49649761"
        },
        {
          "category": "时政",
          "content_cnt": "1",
          "rank": "3",
          "rank_flag": "1",
          "topic_index": "11786246",
          "topic_name": "一号重器撑起中国能源底气",
          "vv": "46188"
        },
        "… 27 more items in the full response"
      ],
      "rocketing": [
        {
          "category": "时尚",
          "content_cnt": "3",
          "rank": "1",
          "rank_flag": "0",
          "topic_index": "7648174",
          "topic_name": "美这件事我只取悦自己",
          "vv": "396239"
        },
        {
          "category": "话题互动",
          "content_cnt": "9",
          "rank": "2",
          "rank_flag": "0",
          "topic_index": "7640132",
          "topic_name": "我有我的七夕仪式感",
          "vv": "506453364"
        },
        {
          "category": "时政",
          "content_cnt": "12",
          "rank": "3",
          "rank_flag": "-1",
          "topic_index": "7634405",
          "topic_name": "许家印被判处无期徒刑",
          "vv": "190075316"
        },
        "… 27 more items in the full response"
      ]
    }
  }
]

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 Current Hot Topics Leaderboard API

Returns two Douyin topic lists: the current hot topics and the rocketing (fast-rising) topics. The request takes no input parameters. Send an empty JSON object.

Use cases

  • Show the topics ranked highest on Douyin right now in a trend dashboard.
  • Compare the current and rocketing lists to spot topics that are climbing quickly.
  • Group trending topics by category to see which areas such as sports or finance dominate the list.
  • Save each topic's topic_index and vv over time to build a history of topic ranks and view counts.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/current-hot-topic" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

The result is returned in outputs[0].data.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "current": [
    {
      "category": "时政",
      "content_cnt": "6",
      "rank": "1",
      "rank_flag": "0",
      "topic_index": "12100833",
      "topic_name": "美官员称美袭击伊朗格什姆岛",
      "vv": "11053887"
    }
  ],
  "rocketing": [
    {
      "category": "社会",
      "content_cnt": "0",
      "rank": "1",
      "rank_flag": "0",
      "topic_index": "8467988",
      "topic_name": "网民编造“花费260万登顶珠峰”被罚",
      "vv": "0"
    }
  ]
}

Response fields

FieldMeaning
current[]Ranked list of the current hot topics on Douyin.
rocketing[]Ranked list of rocketing topics. It uses the same fields as current[].
current[].topic_name / rocketing[].topic_nameTitle of the topic, in Chinese.
current[].rank / rocketing[].rankPosition of the topic within its list, starting at 1. The value is a string.
current[].topic_index / rocketing[].topic_indexNumeric ID of the topic, returned as a string.
current[].category / rocketing[].categoryTopic category label in Chinese, such as 时政 (politics), 体育 (sports), 社会 (society) or 财经 (finance).
current[].vv / rocketing[].vvView count figure for the topic, returned as a string. Some topics show 0.
current[].content_cnt / rocketing[].content_cntContent count figure for the topic, returned as a string.
current[].rank_flag / rocketing[].rank_flagFlag that goes with the rank. The response shows only 0 and 1, and the meaning of each value is not documented.

Notes

  • The request body is an empty object {}. There is no pagination parameter.
  • All values, including numbers, come back as strings. Convert them before sorting or doing math.
  • To dig into one topic, call Douyin Hot Topic Detail Analysis. To find topics by keyword, use Douyin Topic Search.

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 Current Hot Topics Leaderboard?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/index/current-hot-topic 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 Current Hot Topics Leaderboard 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 Current Hot Topics Leaderboard chấp nhận những tham số nào?

Douyin Current Hot Topics Leaderboard không nhận tham số đầu vào; hãy gửi một phần thân JSON rỗng.

API Douyin Current Hot Topics Leaderboard 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 Current Hot Topics Leaderboard 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.