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

Douyin Xingtu Author Fan Distribution

เอกสาร API
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-fans-distribution

Returns audience profile metrics for a Xingtu creator, including gender, age, geographic region, and interests based on creator ID.

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

Playground

อินพุต
Creator ID
Platform channel, default 1
Platform source, default 1
เอาต์พุตตัวอย่าง
การตอบกลับoutputs · 2.0 KB · 81 บรรทัด
[
  {
    "data": {
      "base_resp": {
        "status_code": 0,
        "status_message": ""
      },
      "distributions": [
        {
          "description": "男性居多,占比50%",
          "distribution_list": [
            {
              "distribution_key": "male",
              "distribution_value": "6169425"
            },
            {
              "distribution_key": "female",
              "distribution_value": "6155171"
            }
          ],
          "image": [
            "男性居多"
          ],
          "origin_type": 0,
          "type": 1,
          "type_display": "性别分布"
        },
        {
          "description": "一线居多,占比37%",
          "distribution_list": [
            {
              "distribution_key": "五线",
              "distribution_value": "1048956"
            },
            {
              "distribution_key": "二线",
              "distribution_value": "2447991"
            },
            {
              "distribution_key": "一线",
              "distribution_value": "4399542"
            },
            "… 2 more items in the full response"
          ],
          "image": [
            "一线居多"
          ],
          "origin_type": 5,
          "type": 32,
          "type_display": "城市等级分布"
        },
        {
          "description": "新锐白领居多,占比26%",
          "distribution_list": [
            {
              "distribution_key": "资深中产",
              "distribution_value": "649188"
            },
            {
              "distribution_key": "Z世代",
              "distribution_value": "2670083"
            },
            {
              "distribution_key": "都市蓝领",
              "distribution_value": "1177800"
            },
            "… 5 more items in the full response"
          ],
          "image": [
            "新锐白领居多"
          ],
          "origin_type": 10,
          "type": 1024,
          "type_display": "八大人群分布"
        },
        "… 7 more items in the full response"
      ],
      "last_update_time": "1790823903"
    }
  }
]

ตัวอย่าง

เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground

API README

Douyin Xingtu Author Fan Distribution API

Returns the audience profile of a Xingtu creator on Douyin as a list of distributions, such as interests, gender and audience groups. It needs the creator ID in o_author_id.

Use cases

  • Check whether a creator's audience is mostly male or female before booking a campaign.
  • Compare the top interest categories of a creator's fans with your product category.
  • Screen creators by audience group, such as urban blue-collar or senior middle-class, for targeted ads.
  • Store the distribution counts to compare several creators side by side.

Request

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

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

Parameters

NameTypeRequiredDescription
o_author_idstringYesCreator ID
platform_channelintegerNoPlatform channel, default 1
platform_sourceintegerNoPlatform source, default 1

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": ""
  },
  "distributions": [
    {
      "description": "分布最多的3个兴趣随拍(53%),体育(9%),社会时政(8%)",
      "distribution_list": [
        {
          "distribution_key": "随拍",
          "distribution_value": "3138780"
        }
      ],
      "image": [
        "随拍,体育,社会时政居多"
      ],
      "origin_type": 6,
      "type": 64,
      "type_display": "兴趣分布"
    }
  ],
  "last_update_time": "1793691160"
}

Response fields

FieldMeaning
distributions[]One audience breakdown per item. Each item has a type, a description and a list of counts.
distributions[].type_displayName of the breakdown, for example 兴趣分布 (interests), 性别分布 (gender) or 八大人群分布 (eight audience groups).
distributions[].type / origin_typeNumeric codes that identify the breakdown type. Use them to pick a breakdown in code instead of matching the display name.
distributions[].descriptionShort summary text of the breakdown, such as which group is largest and its percentage share.
distributions[].distribution_list[].distribution_keyLabel of one category in the breakdown, such as an interest name, male or female, or an audience group name.
distributions[].distribution_list[].distribution_valueCount for that category, returned as a string. Divide by the sum of the list to get a share.
distributions[].image[]Short text label that restates the main finding of the breakdown.
last_update_timeUnix timestamp in seconds, returned as a string.
base_resp.status_code / base_resp.status_messageStatus of the call. 0 with an empty message means success.

Notes

Pricing

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

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

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 Xingtu Author Fan Distribution API ได้อย่างไร?

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

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

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

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

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

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

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

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

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