endDatestringobligatoire
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": {}
}
}
]Sélectionnez un exemple pour charger ses entrées et son résultat dans le 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.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
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"
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
endDatestringobligatoireEnd date, format: yyyy-MM-dd
kolIdstringobligatoireUser 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`
startDatestringobligatoireStart date, format: yyyy-MM-dd
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
[
{
"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": {}
}
}
]Explorer plus
| API | Prix | Réponse |
|---|---|---|
Douyin Xingtu KOL Daily FansCette API Douyin | $0.02 par appel | JSON |
Douyin | $0.02 par appel | JSON |
Douyin | $0.02 par appel | JSON |
Douyin | $0.02 par appel | JSON |
Douyin | $0.02 par appel | JSON |
Douyin | $0.02 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/douyin/xingtu/kol-daily-fans-v1 avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
$0.02 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Obligatoire : endDate (string), kolId (string) et startDate (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.
Non. Douyin Xingtu KOL Daily Fans fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Douyin séparément.