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

Douyin Creator Content Courses

Tài liệu API
https://api.sandbase.ai/v1/api/douyin/creator/creator-content-course

Returns content development courses from the Douyin creator platform for a specified category. Results can be sorted by recommendation, popularity, or upload date.

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

Phòng thử nghiệm

Đầu vào
Category ID (for more category IDs, please refer to the content creation category interface)
1100
Items per page (recommended 24, range 1-100) Phạm vi: 1 đến 100.
Offset (starting position) Tối thiểu: 0.
Order type (1=recommended order, 2=most popular, 3=latest upload)
Đầu raVí dụ
Phản hồioutputs · 185 B · 12 dòng
[
  {
    "data": {
      "category_name": "",
      "course_list": [],
      "offset": 24,
      "selected_topic_categories": null,
      "status_code": 0,
      "total": 0
    }
  }
]

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 Creator Content Courses API

Returns a page of content creation courses from the Douyin creator platform for one category. The only required input is category_id. You can sort the list and page through it with order, limit and offset.

Use cases

  • Build a catalog of Douyin creator tutorials for one topic category.
  • Rank courses by collected_count to find the tutorials creators save most.
  • Pull the newest uploads with order set to 3 to track new course releases.
  • Export course titles, captions and cover images into a learning directory.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/creator/creator-content-course" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category_id": 180}'

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

Parameters

NameTypeRequiredDescription
category_idintegerYesCategory ID (for more category IDs, please refer to the content creation category interface)
limitintegerNoItems per page (recommended 24, range 1-100)
offsetintegerNoOffset (starting position)
orderintegerNoOrder type (1=recommended order, 2=most popular, 3=latest upload)

Example response

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

{
  "category_name": "",
  "course_list": [
    {
      "collected_count": 8669,
      "hot_order": 0,
      "id": "7034444962406075679",
      "is_collected": false,
      "item": {
        "Cover": {
          "height": 960,
          "uri": "tos-cn-i-dy/913a59dbc568443ead25ffa95e2c8cc6",
          "url_list": [
            "https://p26-sign.douyinpic.com/tos-cn-i-dy/913a59dbc568443ead25ffa95e2c8cc6~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": "7034444962406075679",
        "aweme_type": 4,
        "caption": "",
        "category": 0,
        "cha_list": [
          {
            "cha_name": "抖音创作者学习中心",
            "cid": "1701253626367048",
            "connect_music": null,
            "cover_item": {
              "uri": "douyin-admin-obj/9fcacc744a1287879b360c63a44a7792",
              "url_list": [
                "https://p26-sign.douyinpic.com/douyin-admin-obj/9fcacc744a1287879b360c63a44a7792…"
              ]
            },
            "desc": "",
            "hash_tag_profile": "douyin-admin-obj/9fcacc744a1287879b360c63a44a7792",
            "is_commerce": false,
            "type": 2
          }
        ]
      },
      "name": "抖音玩法之发光文字卡点教程#抖音创作者学习中心  #剪映模板 @吴莱",
      "offset": 0,
      "rank": 1
    }
  ],
  "has_more": 1,
  "offset": 24,
  "selected_topic_categories": null,
  "status_code": 0,
  "total": 319
}

Response fields

FieldMeaning
course_list[].id / course_list[].item.aweme_idID of the course video. In the sample response both values are the same string.
course_list[].nameCourse title.
course_list[].collected_countNumber of times users saved the course. is_collected shows whether the current account saved it.
course_list[].rank / course_list[].hot_orderPosition values for the course in the list. hot_order is 0 or 1 in the sample.
course_list[].item.captionCaption text of the course video. It can be empty.
course_list[].item.Cover.url_listCover image URLs for the course video, with width and height of the image.
course_list[].item.author_user_idNumeric ID of the account that published the course.
course_list[].item.cha_list[].cha_nameName of a hashtag attached to the course, such as a learning center tag.
has_moreShows 1 when more results remain after this page.
totalTotal number of courses in the category. The sample shows 319.

Notes

  • Get category_id values from Douyin Content Categories.
  • For the next page, send the offset value returned in the response. The sample returned 24. Keep going while has_more is 1.
  • order accepts 1 (recommended), 2 (most popular) or 3 (latest upload). limit accepts 1 to 100.
  • Cover image URLs carry an x-expires value in the query string, so fetch them soon after you call the API. For trending courses, see Douyin Creator Hot Courses.

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 Creator Content Courses?

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

Bắt buộc: category_id (integer). Tùy chọn: limit (integer), offset (integer) và order (integer). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

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