endDatestringจำเป็น
End date, format: yyyy-MM-dd
https://api.sandbase.ai/v1/api/douyin/xingtu/kol-daily-fans-v1Returns daily fan statistics for a Douyin Xingtu creator over a specified date range. Requires the creator ID alongside the start and end dates formatted as yyyy-MM-dd.
[
{
"data": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"daily": [
{
"date": "2026-09-01",
"fans_cnt": "12593268"
},
{
"date": "2026-09-02",
"fans_cnt": "12591678"
},
{
"date": "2026-09-03",
"fans_cnt": "12590744"
},
"… 25 more items in the full response"
],
"delta": [
{
"date": "2026-09-01",
"fans_cnt": "-1135"
},
{
"date": "2026-09-02",
"fans_cnt": "-1590"
},
{
"date": "2026-09-03",
"fans_cnt": "-934"
},
"… 25 more items in the full response"
],
"description": "",
"fans_advice": "",
"fans_growth": "0",
"fans_growth_rate": 0,
"fans_growth_rate_v2": {
"value": -38
},
"fans_growth_v2": {
"value": -48049
},
"raw_play_rate": {}
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Returns fan growth statistics for a Douyin Xingtu creator over a date range. It needs the creator's kolId, a startDate and an endDate in yyyy-MM-dd format.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu/kol-daily-fans-v1" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"endDate": "2025-01-01", "kolId": "7048929565493690398", "startDate": "2024-12-01"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
endDate | string | Yes | End date, format: yyyy-MM-dd |
kolId | string | Yes | 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 |
startDate | string | Yes | Start date, format: yyyy-MM-dd |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"base_resp": {
"status_code": 0,
"status_message": ""
},
"daily": [],
"delta": [],
"description": "",
"fans_advice": "",
"fans_growth": "0",
"fans_growth_rate": 0,
"fans_growth_rate_v2": {
"value": -22
},
"fans_growth_v2": {
"value": -256
},
"raw_play_rate": {}
}
| Field | Meaning |
|---|---|
fans_growth_v2.value | Net fan change over the requested date range. A negative number means the creator lost fans. |
fans_growth_rate_v2.value | Fan growth rate over the requested date range. A negative number means a decline. |
fans_growth | Older fan growth value, returned as a string. It can be "0" even when fans_growth_v2.value is not zero. |
fans_growth_rate | Older fan growth rate, returned as a number. It can be 0 even when fans_growth_rate_v2.value is not zero. |
daily[] | List of per-day fan entries. It was empty in this response. |
delta[] | List of fan change entries. It was empty in this response. |
fans_advice / description | Text fields for advice and a description. Both were empty strings in this response. |
base_resp.status_code / base_resp.status_message | Status of the call. status_code is 0 and status_message is empty in this response. |
kolId from Douyin XingTu KOL ID by User ID, Douyin XingTu kolId Lookup or Douyin XingTu KOL ID by Unique ID.startDate and endDate as yyyy-MM-dd, for example 2024-12-01.daily and delta lists can come back empty while the _v2 growth fields still hold values, so read fans_growth_v2.value and fans_growth_rate_v2.value first.$0.02 per successful call. Failed calls are not charged.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu/kol-daily-fans-v1" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"kolId": "6677767167234015243",
"endDate": "2026-09-28",
"startDate": "2026-09-01"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
endDatestringจำเป็นEnd date, format: yyyy-MM-dd
kolIdstringจำเป็น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`
startDatestringจำเป็นStart date, format: yyyy-MM-dd
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"daily": [
{
"date": "2026-09-01",
"fans_cnt": "12593268"
},
{
"date": "2026-09-02",
"fans_cnt": "12591678"
},
{
"date": "2026-09-03",
"fans_cnt": "12590744"
},
"… 25 more items in the full response"
],
"delta": [
{
"date": "2026-09-01",
"fans_cnt": "-1135"
},
{
"date": "2026-09-02",
"fans_cnt": "-1590"
},
{
"date": "2026-09-03",
"fans_cnt": "-934"
},
"… 25 more items in the full response"
],
"description": "",
"fans_advice": "",
"fans_growth": "0",
"fans_growth_rate": 0,
"fans_growth_rate_v2": {
"value": -38
},
"fans_growth_v2": {
"value": -48049
},
"raw_play_rate": {}
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Douyin Xingtu KOL Daily FansAPI นี้ Douyin | $0.02 ต่อการเรียก | JSON |
Douyin | $0.02 ต่อการเรียก | JSON |
Douyin | $0.02 ต่อการเรียก | JSON |
Douyin | $0.02 ต่อการเรียก | JSON |
Douyin | $0.02 ต่อการเรียก | JSON |
Douyin | $0.02 ต่อการเรียก | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/douyin/xingtu/kol-daily-fans-v1 โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.02 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: endDate (string), kolId (string) และ startDate (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Douyin Xingtu KOL Daily Fans ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก