endDatestringwymagane
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": {}
}
}
]Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.
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.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
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"
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
endDatestringwymaganeEnd date, format: yyyy-MM-dd
kolIdstringwymaganeUser 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`
startDatestringwymaganeStart date, format: yyyy-MM-dd
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
[
{
"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": {}
}
}
]Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
Douyin | $0.02 za wywołanie | JSON |
Douyin | $0.02 za wywołanie | JSON |
Douyin | $0.02 za wywołanie | JSON |
Douyin | $0.02 za wywołanie | JSON |
Douyin | $0.02 za wywołanie | JSON |
Douyin | $0.02 za wywołanie | JSON |
Przewodniki:Best Douyin API in 2026: Pricing Compared
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/douyin/xingtu/kol-daily-fans-v1 z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
$0.02 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: endDate (string), kolId (string) i startDate (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Nie. Douyin Xingtu KOL Daily Fans działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Douyin.