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

Douyin Hot Account Fan Portrait

เอกสาร API
https://api.sandbase.ai/v1/api/douyin/billboard/hot-account-fans-portrait-list

Returns fan portrait metrics and demographic distribution data for a Douyin account using its secure user ID and portrait option filter.

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

Playground

อินพุต
User sec_id
Option
เอาต์พุตตัวอย่าง
การตอบกลับoutputs · 1.2 KB · 51 บรรทัด
[
  {
    "data": {
      "code": 0,
      "data": {
        "option": "1",
        "portrait": {
          "key": "2000~2999",
          "portrait_data": [
            {
              "name": "2000~2999",
              "value": 0.24706867671691793
            },
            {
              "name": "5000~5999",
              "value": 0.18302003846392456
            },
            {
              "name": "3000~3999",
              "value": 0.12090080029778522
            },
            "… 8 more items in the full response"
          ]
        },
        "portrait_tgi": {
          "key": "7000~7999",
          "portrait_data": [
            {
              "name": "9000~9999",
              "value": 139.0134481561822
            },
            {
              "name": "1000~1999",
              "value": 38.94340533411409
            },
            {
              "name": "10000及以上",
              "value": 64.83608401242549
            },
            "… 8 more items in the full response"
          ]
        },
        "user_id": "MS4wLjABAAAAr52fXcfmzqOZJM_smap9Uuxtm16h8BupkCVaCt89BENq3E91mHCvtz5Z5TkXPHq_"
      },
      "extra": {
        "now": 1791290505000
      },
      "message": ""
    }
  }
]

ตัวอย่าง

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

API README

Douyin Hot Account Fan Portrait API

Returns the fan portrait of a Douyin account as a share distribution and a TGI distribution across buckets. It needs the account's sec_uid and accepts an optional integer option to pick the portrait type.

Use cases

  • Compare the top buckets in portrait across creators to see which audience segment dominates each account.
  • Use portrait_tgi to find which segment is over-represented in a creator's fans compared with the baseline.
  • Screen influencers for a campaign by checking whether their fan distribution matches a target segment.
  • Store portrait snapshots for an account to review its audience mix over time.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/billboard/hot-account-fans-portrait-list" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sec_uid": "MS4wLjABAAAAr52fXcfmzqOZJM_smap9Uuxtm16h8BupkCVaCt89BENq3E91mHCvtz5Z5TkXPHq_"}'

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

Parameters

NameTypeRequiredDescription
sec_uidstringYesUser sec_id
optionintegerNoOption

Example response

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

{
  "code": 0,
  "data": {
    "option": "1",
    "portrait": {
      "key": "2000~2999",
      "portrait_data": [
        {
          "name": "2000~2999",
          "value": 0.24579581073685258
        }
      ]
    },
    "portrait_tgi": {
      "key": "7000~7999",
      "portrait_data": [
        {
          "name": "7000~7999",
          "value": 166.5975572593203
        }
      ]
    },
    "user_id": "MS4wLjABAAAAr52fXcfmzqOZJM_smap9Uuxtm16h8BupkCVaCt89BENq3E91mHCvtz5Z5TkXPHq_"
  },
  "extra": {
    "now": 1793691104000
  },
  "message": ""
}

Response fields

FieldMeaning
data.optionThe portrait option the response is for, returned as a string. The request sent no option, and the response shows 1.
data.user_idThe sec_uid of the account the portrait belongs to.
data.portrait.keyThe name of the bucket with the highest share in portrait_data.
data.portrait.portrait_data[].nameBucket label, such as 2000~2999. The labels are ranges of numbers, and the response does not say what the numbers measure.
data.portrait.portrait_data[].valueShare of fans in that bucket, as a decimal. For example 0.2458 is about 24.6 percent.
data.portrait_tgi.keyThe name of the bucket with the highest TGI value in portrait_tgi.portrait_data.
data.portrait_tgi.portrait_data[].nameBucket label for the TGI list. It uses the same range format as portrait.
data.portrait_tgi.portrait_data[].valueTGI score for the bucket. A value above 100 would mean the bucket is over-represented, but the scale is not documented, so check it against your own data.

Notes

Pricing

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

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

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

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

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

คำถาม

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

ฉันจะใช้ Douyin Hot Account Fan Portrait API ได้อย่างไร?

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

Douyin Hot Account Fan Portrait API ราคาเท่าไร?

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

Douyin Hot Account Fan Portrait API รับพารามิเตอร์อะไรบ้าง?

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

Douyin Hot Account Fan Portrait API ส่งคืนอะไร?

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

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

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