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

Douyin Content Categories

Tài liệu 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.

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 · 16.4 KB · 401 dòng
[
  {
    "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": {

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 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.

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 Content Categories?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/creator/creator-content-category 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 Content Categories 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 Content Categories chấp nhận những tham số nào?

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

API Douyin Content Categories 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 Content Categories 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.