endDatestringwajib
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": {}
}
}
]Pilih contoh untuk memuat input dan hasilnya ke 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.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
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"
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
endDatestringwajibEnd date, format: yyyy-MM-dd
kolIdstringwajibUser 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`
startDatestringwajibStart date, format: yyyy-MM-dd
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
[
{
"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": {}
}
}
]Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
Douyin Xingtu KOL Daily FansAPI ini Douyin | $0.02 per panggilan | JSON |
Douyin | $0.02 per panggilan | JSON |
Douyin | $0.02 per panggilan | JSON |
Douyin | $0.02 per panggilan | JSON |
Douyin | $0.02 per panggilan | JSON |
Douyin | $0.02 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/douyin/xingtu/kol-daily-fans-v1 dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.02 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Wajib: endDate (string), kolId (string) dan startDate (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. Douyin Xingtu KOL Daily Fans berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Douyin secara terpisah.