oAuthorIdstringจำเป็น
Author's unique ID.
https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-fans-distributionGet Douyin Creator Marketplace (Xingtu) follower or loyal-follower distribution data for a specified creator. Use it to compare audience-profile distributions during creator selection.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
This API returns follower distribution data for one creator on Douyin Creator Marketplace (Xingtu). It needs the creator's oAuthorId, and an optional authorType switches between all followers and loyal followers.
DIE_HARD_FAN) against all followers to see how the core audience differs.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-fans-distribution" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"oAuthorId": "6870161898013196295"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
oAuthorId | string | Yes | Author's unique ID. |
authorType | string | No | Author type filter. |
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个省份广东(11%),江苏(7%),山东(6%)",
"distribution_list": [
{
"distribution_key": "广西",
"distribution_value": "4619384"
}
],
"image": [
"广东,江苏,山东居多"
],
"origin_type": 2,
"type": 4,
"type_display": "省份分布"
}
],
"last_update_time": "1793691175"
}
| Field | Meaning |
|---|---|
distributions[] | One block per audience dimension. This response includes province, city and device brand blocks. |
distributions[].type_display | Name of the dimension, for example 省份分布 (province), 城市分布 (city) or 设备品牌分布 (device brand). |
distributions[].description | Short summary text written by the platform. It names the top entries and their percentages, for example the top 3 provinces. |
distributions[].distribution_list[].distribution_key | Label of one bucket in the dimension, such as a province, city or phone brand. |
distributions[].distribution_list[].distribution_value | Value for that bucket, returned as a string. It looks like a count, not a percentage, so compare it with the other buckets in the same block. |
distributions[].image[] | Very short tag text that sums up the block, for example 北京居多. |
distributions[].type / origin_type | Numeric codes for the dimension. Use them to match the same dimension across calls. |
last_update_time | Unix timestamp in seconds, returned as a string. |
base_resp.status_code / base_resp.status_message | Call status from the platform. 0 with an empty message means success. |
authorType as FAN (default) or DIE_HARD_FAN to switch between followers and loyal followers.description, image and type_display is in Chinese.$0.021429 per successful call. Failed calls are not charged.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-fans-distribution" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"oAuthorId": "6870161898013196295",
"authorType": "FAN"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
oAuthorIdstringจำเป็นAuthor's unique ID.
authorTypestringAuthor type filter.
ค่าเริ่มต้น: "FAN"
ค่าที่เป็นไปได้: FAN, DIE_HARD_FAN
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Douyin | $0.021429 ต่อการเรียก | JSON |
Douyin | $0.021429 ต่อการเรียก | JSON |
Douyin | $0.021429 ต่อการเรียก | JSON |
Douyin | $0.021429 ต่อการเรียก | JSON |
Douyin | $0.071429 ต่อการเรียก | JSON |
Douyin | $0.021429 ต่อการเรียก | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-fans-distribution โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.021429 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: oAuthorId (string). ตัวเลือก: authorType (หนึ่งใน FAN, DIE_HARD_FAN). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Douyin Xingtu Follower Distribution ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก