Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Douyin Content Categories

API 文件
https://api.sandbase.ai/v1/api/douyin/creator/creator-content-category

Returns the list of content categories available on Douyin. Authors and applications can review official topic classifications without requiring input parameters.

價格
$0.001美元/次呼叫
方法
POST
回應
JSON
參數
0 個必填 · 0 個選填

Playground

輸入
沒有可用的輸入結構
輸出範例
回應outputs · 16.4 KB · 401 行
[
  {
    "data": {
      "activity_list": [],
      "banner_list": [],
      "course_category_list": [
        {
          "children": [
            {
              "children": null,
              "course_list": null,
              "cover_url": "",
              "create_time": 1657791417,
              "id": "184",
              "name": "视频创作",
              "tags": []
            },
            {
              "children": null,
              "course_list": null,
              "cover_url": "",
              "create_time": 1758857748,
              "id": "234",
              "name": "精选内容创作",
              "tags": []
            },
            "… 17 more items in the full response"
          ],
          "course_list": null,
          "cover_url": "",
          "create_time": 1657791107,
          "id": "180",
          "name": "内容创作",
          "tags": []
        },
        {
          "children": [
            {
              "children": null,
              "course_list": null,
              "cover_url": "",
              "create_time": 1657856120,
              "id": "195",
              "name": "星图",
              "tags": []
            },
            {
              "children": null,
              "course_list": null,
              "cover_url": "",
              "create_time": 1657856137,
              "id": "196",
              "name": "直播变现",
              "tags": []
            },
            "… 5 more items in the full response"
          ],
          "course_list": null,
          "cover_url": "",
          "create_time": 1657791335,
          "id": "181",
          "name": "变现指南",
          "tags": []
        },
        "… 2 more items in the full response"
      ],
      "hot_items": [
        {
          "collected_count": 11896,
          "hot_order": 1,
          "id": "7529857225054063913",
          "is_collected": false,
          "item": {
            "Cover": {
              "height": 720,
              "uri": "tos-cn-i-dy/8c62d3d8585c40cab3a6b72b31218a4a",
              "url_list": [
                "https://p26-sign.douyinpic.com/tos-cn-i-dy/8c62d3d8585c40cab3a6b72b31218a4a~tplv-dy-resize-walign-adapt-aq:540:q75.jpeg?lk3s=138a59ce&x-expires=1788426000&x-signature=KUXHXdL0Uj2um7Bi5krlSsFXBRA%3D&from=327834062&s=PackSourceEnum_OPERATION_TASK_AWEME&se=false&sc=cover&biz_tag=aweme_video&l=202608201…",
                "https://p3-sign.douyinpic.com/tos-cn-i-dy/8c62d3d8585c40cab3a6b72b31218a4a~tplv-dy-resize-walign-adapt-aq:540:q75.jpeg?lk3s=138a59ce&x-expires=1788426000&x-signature=ftGfzNuZQGiAh%2FKemTr24dYe%2FnM%3D&from=327834062&s=PackSourceEnum_OPERATION_TASK_AWEME&se=false&sc=cover&biz_tag=aweme_video&l=202608…",
                "… 1 more items in the full response"
              ],
              "width": 540
            },
            "author": {
              "avatar_larger": {
                "uri": "1080x1080/aweme-avatar/tos-cn-avt-0015_3beaaeb52d39e341205653ab779a6e5b",
                "url_list": [
                  "https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_3beaaeb52d39e341205653ab779a6e5b.jpeg?from=327834062"
                ]
              },
              "avatar_medium": {
                "uri": "720x720/aweme-avatar/tos-cn-avt-0015_3beaaeb52d39e341205653ab779a6e5b",
                "url_list": [
                  "https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_3beaaeb52d39e341205653ab779a6e5b.jpeg?from=327834062"
                ]
              },
              "avatar_thumb": {
                "uri": "100x100/aweme-avatar/tos-cn-avt-0015_3beaaeb52d39e341205653ab779a6e5b",
                "url_list": [
                  "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_3beaaeb52d39e341205653ab779a6e5b.jpeg?from=327834062"
                ]
              },
              "birthday": "***",
              "card_entries": null,
              "followers_detail": null,
              "geofencing": null,
              "mix_info": null,
              "nickname": "抖音作者助手",
              "platform_sync_info": null,
              "policy_version": null,
              "short_id": "2941976066",
              "signature": "创作卡壳、规则迷茫、看不懂数据、憋不出梗?\n别硬抗,私信找我就对了\n你的全能作者助手,全天候为你在线",
              "type_label": null,
              "uid": "92769419069",
              "unique_id": "dyczxzs"
            },
            "author_user_id": 92769419069,
            "aweme_id": "7529857225054063913",
            "aweme_type": 4,
            "caption": "抖音精选优质内容指南来啦~干货满满!从标准解读到作品解析,带你拆解抖音精选作品特征,期待更多好内容被看见~#抖音精选创作课",
            "category": 0,
            "cha_list": [
              {
                "cha_name": "抖音精选创作课",
                "cid": "7431072586374580243",
                "connect_music": null,
                "cover_item": {
                  "uri": "",
                  "url_list": "… 0 items in the full response"
                },
                "desc": "",
                "hash_tag_profile": "",
                "is_commerce": false,
                "type": 1,
                "user_count": 0,
                "view_count": 0
              }
            ],
            "chapter_bar_color": null,
            "chapter_list": null,
            "comment_list": null,
            "common_labels": null,
            "create_time": 1753181521,
            "creator_item_setting": {},
            "desc": "抖音精选优质内容指南 抖音精选优质内容指南来啦~干货满满!从标准解读到作品解析,带你拆解抖音精选作品特征,期待更多好内容被看见~#抖音精选创作课 #青年创作者成长计划 #抖音精选公开课",
            "duration": 229739,
            "forward_id": "0",
            "geofencing": null,
            "group_id": 7529857225054064000,
            "horizontal_cover": {
              "height": 539,
              "uri": "tos-cn-i-dy/1d6606d204a34949b8826d959a49f929",
              "url_list": [
                "https://p11-sign.douyinpic.com/tos-cn-i-dy/1d6606d204a34949b8826d959a49f929~noop.jpeg?lk3s=d6d19ed4&x-expires=1787238000&x-signature=ct9czTsZtJ238AW1Hm%2Bb0ol4PiE%3D&from=3604061908",
                "https://p3-sign.douyinpic.com/tos-cn-i-dy/1d6606d204a34949b8826d959a49f929~noop.jpeg?lk3s=d6d19ed4&x-expires=1787238000&x-signature=abclrukd0iKRARwuidAvZigiQcM%3D&from=3604061908",
                "… 1 more items in the full response"
              ],
              "width": 720
            },
            "horizontal_cover_tsp": 0,
            "image_infos": null,
            "images": null,
            "img_bitrate": null,
            "interaction_stickers": null,
            "is_charge_series": 0,
            "is_live_replay": false,
            "is_pic_word": false,
            "is_preview": 0,
            "is_story": 0,
            "item_id": 7529857225054064000,
            "item_title": "抖音精选优质内容指南",
            "label_top_text": null,
            "long_video": null,
            "misc_info": "{\"common_business_mob\":\"{}\",\"is_teen_video\":0}",
            "promotions": null,
            "series_paid_info": {
              "item_price": 0,
              "series_paid_tatus": 0
            },
            "share_info": {
              "share_desc": "在抖音,记录美好生活",
              "share_link_desc": "4.64 hbN:/ [email protected] 05/01 :4pm 复制打开抖音,看看【抖音作者助手的作品】抖音精选优质内容指南 抖音精选优质内容指南来啦~干... %s",
              "share_title": "抖音精选优质内容指南 抖音精选优质内容指南来啦~干货满满!从标准解读到作品解析,带你拆解抖音精选作品特征,期待更多好内容被看见~#抖音精选创作课 #青年创作者成长计划 #抖音精选公开课",
              "share_weibo_desc": "#在抖音,记录美好生活#抖音精选优质内容指南 抖音精选优质内容指南来啦~干货满满!从标准解读到作品解析,带你拆解抖音精选作品特征,期待更多好内容被看见~#抖音精选创作课 #青年创作者成长计划 #抖音精选公开课"
            },
            "share_url": "https://www.iesdouyin.com/share/video/7529857225054063913/?region=&mid=7529857358340639538&u_code=0&did=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&iid=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&with_sec_did=1&video_share_track_ver=&titleType=title&share_sign=uOFIqI7UtkazMBq…",
            "statistics": {
              "aweme_id": "7529857225054063913",
              "collect_count": 10408,
              "comment_count": 36603,
              "digg_count": 34475,
              "forward_count": 0,
              "live_watch_count": 0,
              "play_count": 2084965,
              "share_count": 4470
            },
            "…": "6 more fields in the full response"
          },
          "name": "抖音精选优质内容指南",
          "offset": 0,
          "rank": 1
        },
        {
          "collected_count": 10307,
          "hot_order": 1,
          "id": "7478676870200855818",
          "is_collected": false,
          "item": {
            "Cover": {
              "height": 720,
              "uri": "tos-cn-i-dy/26c0bcdacf2a46f5a690a9d215474a2d",
              "url_list": [
                "https://p11-sign.douyinpic.com/tos-cn-i-dy/26c0bcdacf2a46f5a690a9d215474a2d~tplv-dy-resize-walign-adapt-aq:540:q75.jpeg?lk3s=138a59ce&x-expires=1788426000&x-signature=oUNCozwOvfIm6YAWoW1PmQx8KIs%3D&from=327834062&s=PackSourceEnum_OPERATION_TASK_AWEME&se=false&sc=cover&biz_tag=aweme_video&l=202608201…",
                "https://p3-sign.douyinpic.com/tos-cn-i-dy/26c0bcdacf2a46f5a690a9d215474a2d~tplv-dy-resize-walign-adapt-aq:540:q75.jpeg?lk3s=138a59ce&x-expires=1788426000&x-signature=cPNM4iuAROF7%2FyjNKrfj%2B8WiU5s%3D&from=327834062&s=PackSourceEnum_OPERATION_TASK_AWEME&se=false&sc=cover&biz_tag=aweme_video&l=202608…",
                "… 1 more items in the full response"
              ],
              "width": 540
            },
            "author": {
              "avatar_larger": {
                "uri": "1080x1080/aweme-avatar/tos-cn-avt-0015_3beaaeb52d39e341205653ab779a6e5b",
                "url_list": [
                  "https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_3beaaeb52d39e341205653ab779a6e5b.jpeg?from=327834062"
                ]
              },
              "avatar_medium": {
                "uri": "720x720/aweme-avatar/tos-cn-avt-0015_3beaaeb52d39e341205653ab779a6e5b",
                "url_list": [
                  "https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_3beaaeb52d39e341205653ab779a6e5b.jpeg?from=327834062"
                ]
              },
              "avatar_thumb": {
                "uri": "100x100/aweme-avatar/tos-cn-avt-0015_3beaaeb52d39e341205653ab779a6e5b",
                "url_list": [
                  "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_3beaaeb52d39e341205653ab779a6e5b.jpeg?from=327834062"
                ]
              },
              "birthday": "***",
              "card_entries": null,
              "followers_detail": null,
              "geofencing": null,
              "mix_info": null,
              "nickname": "抖音作者助手",
              "platform_sync_info": null,
              "policy_version": null,
              "short_id": "2941976066",
              "signature": "创作卡壳、规则迷茫、看不懂数据、憋不出梗?\n别硬抗,私信找我就对了\n你的全能作者助手,全天候为你在线",
              "type_label": null,
              "uid": "92769419069",
              "unique_id": "dyczxzs"
            },
            "author_user_id": 92769419069,
            "aweme_id": "7478676870200855818",
            "aweme_type": 4,
            "caption": "#封面  #抖音精选创作课",
            "category": 0,
            "cha_list": [
              {
                "cha_name": "封面",
                "cid": "1569562626498578",
                "connect_music": null,
                "cover_item": {
                  "uri": "image-cut-tos/405a7c336b276635a0eed5d475c37c0a.jpg",
                  "url_list": "… 3 items in the full response"
                },
                "desc": "",
                "hash_tag_profile": "image-cut-tos/405a7c336b276635a0eed5d475c37c0a.jpg",
                "is_commerce": false,
                "type": 0,
                "user_count": 0,
                "view_count": 0
              }
            ],
            "chapter_bar_color": null,
            "chapter_list": null,
            "comment_list": null,
            "common_labels": null,
            "create_time": 1741265168,
            "creator_item_setting": {},
            "desc": "如何做出一张吸睛封面?封面创作指南来支招! #封面  #抖音精选创作课 #青年创作者成长计划 #抖音精选公开课",
            "duration": 179835,
            "forward_id": "0",
            "geofencing": null,
            "group_id": 7478676870200856000,
            "image_infos": null,
            "images": null,
            "img_bitrate": null,
            "interaction_stickers": null,
            "is_charge_series": 0,
            "is_live_replay": false,
            "is_pic_word": false,
            "is_preview": 0,
            "is_story": 0,
            "item_id": 7478676870200856000,
            "item_title": "如何做出一张吸睛封面?封面创作指南来支招!",
            "label_top_text": null,
            "long_video": null,
            "misc_info": "{\"common_business_mob\":\"{}\",\"is_teen_video\":1}",
            "promotions": null,
            "series_paid_info": {

範例

選擇一個範例,將其輸入與結果載入 playground。

API README

Douyin Content Categories API

Returns the course categories, selected course topics and hot course videos shown on the Douyin creator platform. The API takes no input parameters. Send an empty JSON object.

Use cases

  • Build a category picker from the course category tree for a creator education tool.
  • Track which course topics have the highest total_views on the Douyin creator platform.
  • List the top hot course videos with their captions and hashtags to see what Douyin promotes to creators.
  • Collect category id values to use as input for a course lookup.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/creator/creator-content-category" \
  -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.

{
  "activity_list": [],
  "banner_list": [],
  "course_category_list": [
    {
      "children": [
        {
          "children": null,
          "course_list": null,
          "cover_url": "",
          "create_time": 1657791417,
          "id": "184",
          "name": "视频创作",
          "tags": []
        }
      ],
      "course_list": null,
      "cover_url": "",
      "create_time": 1657791107,
      "id": "180",
      "name": "内容创作",
      "tags": []
    }
  ],
  "hot_items": [
    {
      "collected_count": 12051,
      "hot_order": 1,
      "id": "7529857225054063913",
      "is_collected": false,
      "item": {
        "Cover": {
          "height": 720,
          "uri": "tos-cn-i-dy/8c62d3d8585c40cab3a6b72b31218a4a",
          "url_list": [
            "https://p26-sign.douyinpic.com/tos-cn-i-dy/8c62d3d8585c40cab3a6b72b31218a4a~tplv…"
          ],
          "width": 540
        },
        "author": {
          "avatar_larger": {
            "uri": "1080x1080/aweme-avatar/tos-cn-avt-0015_3beaaeb52d39e341205653ab779a6e5b",
            "url_list": [
              "https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_3beaaeb52d…"
            ]
          },
          "avatar_medium": {
            "uri": "720x720/aweme-avatar/tos-cn-avt-0015_3beaaeb52d39e341205653ab779a6e5b",
            "url_list": [
              "https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_3beaaeb52d39…"
            ]
          },
          "avatar_thumb": {
            "uri": "100x100/aweme-avatar/tos-cn-avt-0015_3beaaeb52d39e341205653ab779a6e5b",
            "url_list": [
              "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_3beaaeb52d39…"
            ]
          },
          "birthday": "***",
          "card_entries": null,
          "followers_detail": null,
          "geofencing": null,
          "mix_info": null
        },
        "author_user_id": 92769419069,
        "aweme_id": "7529857225054063913",
        "aweme_type": 4,
        "caption": "抖音精选优质内容指南来啦~干货满满!从标准解读到作品解析,带你拆解抖音精选作品特征,期待更多好内容被看见~#抖音精选创作课",
        "category": 0,
        "cha_list": [
          {
            "cha_name": "抖音精选创作课",
            "cid": "7431072586374580243",
            "connect_music": null,
            "cover_item": {
              "uri": "",
              "url_list": []
            },
            "desc": "",
            "hash_tag_profile": "",
            "is_commerce": false,
            "type": 1
          }
        ]
      },
      "name": "抖音精选优质内容指南",
      "offset": 0,
      "rank": 1
    }
  ],
  "selected_topics": [
    {
      "children": null,
      "course_list": null,
      "cover_url": "",
      "cover_urls": {
        "uri": "douyin-admin-obj/f31374b0793598e7af0bda8ceb2bd82c",
        "url_list": [
          "https://p26-sign.douyinpic.com/douyin-admin-obj/f31374b0793598e7af0bda8ceb2bd82c…"
        ]
      },
      "create_time": 1780544858,
      "id": "238",
      "name": "开启创作之旅",
      "tags": [
        "通用"
      ],
      "title": "开启创作之旅",
      "total_views": 5354833
    }
  ],
  "status_code": 0
}

Response fields

FieldMeaning
course_category_list[].id / course_category_list[].nameID and Chinese name of a top-level course category, such as 180 for 内容创作.
course_category_list[].children[]Sub-categories under a top-level category. Each child has its own id, name and create_time. The children of a child is null.
course_category_list[].create_timeUnix timestamp in seconds for when the category was created.
selected_topics[].id / selected_topics[].titleID and title of a selected course topic, such as 开启创作之旅.
selected_topics[].tagsShort labels for the topic, such as 通用 and a lesson count like 4讲.
selected_topics[].total_viewsView count for the selected topic.
hot_items[].name / hot_items[].rankTitle of a hot course video and its rank value.
hot_items[].collected_countNumber of times the hot item has been collected.
hot_items[].item.aweme_id / hot_items[].item.captionID and caption text of the video behind the hot item.
hot_items[].item.cha_list[].cha_nameHashtag names attached to the hot video, with the hashtag ID in cid.

Notes

  • Send {} as the request body. The API has no parameters.
  • activity_list and banner_list were empty in the sample response.
  • Timestamps such as create_time are Unix seconds. IDs are returned as strings.
  • Pass a category id to Douyin Creator Content Courses to get the courses in that category.

Pricing

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

探索更多

相關 APIs

所有 APIs
API價格回應
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON

指南:Best Douyin API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Douyin Content Categories API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/douyin/creator/creator-content-category。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Douyin Content Categories API 的費用是多少?

每次 $0.001,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Douyin Content Categories API 接受哪些參數?

Douyin Content Categories 不接受任何輸入參數;請送出空的 JSON 主體。

Douyin Content Categories API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Douyin 開發者帳號或 API 金鑰嗎?

不需要。Douyin Content Categories 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Douyin API 存取權。