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.
开始构建
具备统一身份验证和使用情况跟踪的平台 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 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_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 | $0.02 每次调用 | JSON |
Douyin | $0.02 每次调用 | JSON |
Douyin | $0.02 每次调用 | JSON |
Douyin | $0.02 每次调用 | JSON |
Douyin | $0.02 每次调用 | JSON |
Douyin | $0.02 每次调用 | JSON |
问题
向 https://api.sandbase.ai/v1/api/douyin/xingtu/kol-daily-fans-v1 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.02,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
必填:endDate (string), kolId (string) 和 startDate (string)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。Douyin Xingtu KOL Daily Fans 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Douyin API 访问权限。