Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Douyin Author Video Distribution

เอกสาร 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.

ราคา
$0.002USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 2 ไม่บังคับ

Playground

อินพุต
Creator ID
Platform source, 1 for Douyin
Platform channel, 1 for short video
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

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.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
Douyin$0.002 ต่อการเรียกJSON
Douyin$0.002 ต่อการเรียกJSON
Douyin$0.002 ต่อการเรียกJSON
Douyin$0.01 ต่อการเรียกJSON
Douyin$0.003 ต่อการเรียกJSON
Douyin$0.001 ต่อการเรียกJSON

คู่มือ:Best Douyin API in 2026: Pricing Compared

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Douyin Author Video Distribution API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-video-distribution โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Douyin Author Video Distribution API ราคาเท่าไร?

$0.002 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Douyin Author Video Distribution API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: o_author_id (string). ตัวเลือก: platform_source (integer) และ platform_channel (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Douyin Author Video Distribution API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Douyin ไหม?

ไม่จำเป็น Douyin Author Video Distribution ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก