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

Douyin Xingtu KOL Audience Portrait (V1)

เอกสาร API
https://api.sandbase.ai/v1/api/douyin/xingtu/kol-audience-portrait-v1

Returns audience demographic and portrait insights for a Douyin Xingtu creator. Requires a creator identifier to retrieve detailed follower profile data.

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

Playground

อินพุต
User kolId, can be obtained from the following interfaces: `douyin/xingtu/xingtu-kolid-by-uid`; `douyin/xingtu/xingtu-kolid-by-sec-user-id`; `douyin/xingtu/xingtu-kolid-by-unique-id`
เอาต์พุตตัวอย่าง
การตอบกลับoutputs · 2.1 KB · 86 บรรทัด
[
  {
    "data": {
      "base_resp": {
        "status_code": 0,
        "status_message": ""
      },
      "distributions": [
        {
          "description": "苹果手机占比41%, 消费能力较好",
          "distribution_list": [
            {
              "distribution_key": "荣耀",
              "distribution_value": "2256032"
            },
            {
              "distribution_key": "红米",
              "distribution_value": "1598547"
            },
            {
              "distribution_key": "iPhone",
              "distribution_value": "13136988"
            },
            "… 5 more items in the full response"
          ],
          "image": [
            "苹果手机较多"
          ],
          "origin_type": 3,
          "type": 8,
          "type_display": "设备品牌分布"
        },
        {
          "description": "一线居多,占比39%",
          "distribution_list": [
            {
              "distribution_key": "五线",
              "distribution_value": "3294995"
            },
            {
              "distribution_key": "四线",
              "distribution_value": "4075951"
            },
            {
              "distribution_key": "三线",
              "distribution_value": "5667644"
            },
            "… 2 more items in the full response"
          ],
          "image": [
            "一线居多"
          ],
          "origin_type": 5,
          "type": 32,
          "type_display": "城市等级分布"
        },
        {
          "description": "18到23岁居多,占比32%",
          "distribution_list": [
            {
              "distribution_key": "41-50",
              "distribution_value": "2034880"
            },
            {
              "distribution_key": "50+",
              "distribution_value": "2320806"
            },
            {
              "distribution_key": "31-40",
              "distribution_value": "6389893"
            },
            "… 2 more items in the full response"
          ],
          "image": [
            "18到23岁居多"
          ],
          "origin_type": 1,
          "type": 2,
          "type_display": "年龄分布"
        },
        "… 5 more items in the full response"
      ],
      "last_update_time": "1790823788"
    }
  }
]

ตัวอย่าง

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

API README

Douyin Xingtu KOL Audience Portrait (V1) API

Returns audience portrait data for a Douyin Xingtu creator, grouped into distributions such as interests, age and city tier. It needs the creator's Xingtu kolId.

Use cases

  • Check which interest categories a creator's audience follows before choosing a campaign theme.
  • Compare the age spread of a creator's audience with a target customer group.
  • Check the city tier mix of an audience to judge fit for a regional product launch.
  • Store the portrait with last_update_time to track how a creator's audience profile looks over time.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu/kol-audience-portrait-v1" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"kolId": "7048929565493690398"}'

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

Parameters

NameTypeRequiredDescription
kolIdstringYesUser kolId, can be obtained from the following interfaces: douyin/xingtu/xingtu-kolid-by-uid; douyin/xingtu/xingtu-kolid-by-sec-user-id; douyin/xingtu/xingtu-kolid-by-unique-id

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个兴趣随拍(30%),亲子(10%),明星(10%)",
      "distribution_list": [
        {
          "distribution_key": "随拍",
          "distribution_value": "3"
        }
      ],
      "image": [
        "随拍,亲子,明星居多"
      ],
      "origin_type": 6,
      "type": 64,
      "type_display": "兴趣分布"
    }
  ],
  "last_update_time": "1793691190"
}

Response fields

FieldMeaning
distributions[]One block per portrait dimension. Each block holds a text summary, a list of buckets and a dimension label.
distributions[].type_displayName of the dimension, for example 兴趣分布 (interest), 年龄分布 (age) and 城市等级分布 (city tier).
distributions[].descriptionShort text summary of the dimension, such as the top interests with percentages. The text is in Chinese.
distributions[].distribution_list[].distribution_keyLabel of one bucket, such as an interest name, an age range like 31-40, or a city tier like 三线.
distributions[].distribution_list[].distribution_valueValue for that bucket, returned as a string. Compare it only with other buckets in the same list.
distributions[].image[]Short text caption for the dimension, such as 18到23岁居多.
distributions[].type / distributions[].origin_typeNumeric codes for the dimension. Use type or type_display to pick the block you need.
last_update_timeUnix timestamp in seconds, returned as a string, that marks the last update of this portrait.
base_resp.status_code / base_resp.status_messageStatus of the call. 0 with an empty message means it succeeded.

Notes

Pricing

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

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

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

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

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

คำถาม

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

ฉันจะใช้ Douyin Xingtu KOL Audience Portrait (V1) API ได้อย่างไร?

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

Douyin Xingtu KOL Audience Portrait (V1) API ราคาเท่าไร?

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

Douyin Xingtu KOL Audience Portrait (V1) API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: kolId (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Douyin Xingtu KOL Audience Portrait (V1) API ส่งคืนอะไร?

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

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

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