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

Douyin Author Video Distribution

Tài liệu API
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-video-distribution

Get Author Video Distribution on Douyin. Returns the platform data as structured JSON.

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

Phòng thử nghiệm

Đầu vào
Creator ID
Platform source, 1 for Douyin
Platform channel, 1 for short video
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Douyin Author Video Distribution API

This API returns the content category breakdown of one Douyin creator's short videos, as listed on Xingtu. It needs the creator ID in o_author_id. Each row shows a category name, a video count, and that category's share of the total.

Use cases

  • Check whether a creator's videos match the category of your product before you plan a campaign.
  • Compare the main content categories of several creators to build a shortlist for a brand.
  • Spot creators whose output is spread across many categories versus those who focus on one.
  • Add a category mix column to an internal creator database.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-video-distribution" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"o_author_id": "7112600044674482187", "platform_source": 1, "platform_channel": 1}'

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

Parameters

NameTypeRequiredDescription
o_author_idstringYesCreator ID
platform_channelintegerNoPlatform channel, 1 for short video
platform_sourceintegerNoPlatform source, 1 for Douyin

Example response

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

{
  "base_resp": {
    "status_code": 0,
    "status_message": ""
  },
  "video_content_distribution": [
    {
      "cnt": 4,
      "id": "0",
      "name": "生活家居",
      "proportion": 0.6667
    }
  ]
}

Response fields

FieldMeaning
video_content_distribution[]One entry per content category found in the creator's videos. The list is sorted from the largest share to the smallest in the sample.
video_content_distribution[].nameCategory name in Chinese, for example 生活家居 (home and living) or 时尚 (fashion).
video_content_distribution[].cntNumber of the creator's videos counted in this category.
video_content_distribution[].proportionShare of the counted videos that fall in this category, as a decimal. For example 0.6667 means about two thirds.
video_content_distribution[].idCategory ID. It is "0" for every row in this response, so use name to tell categories apart.
base_resp.status_code / base_resp.status_messageStatus of the request. 0 with an empty message means it succeeded.

Notes

Pricing

$0.002 per successful call. Failed calls are not charged.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Douyin$0.002 mỗi lần gọiJSON
Douyin$0.002 mỗi lần gọiJSON
Douyin$0.002 mỗi lần gọiJSON
Douyin$0.01 mỗi lần gọiJSON
Douyin$0.003 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 Author Video Distribution?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-video-distribution 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 Author Video Distribution có giá bao nhiêu?

$0.002 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 Author Video Distribution chấp nhận những tham số nào?

Bắt buộc: o_author_id (string). Tùy chọn: platform_source (integer) và platform_channel (integer). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Douyin Author Video Distribution 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 Author Video Distribution 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.