countinteger
Number, default is 20, it is recommended to keep it unchanged.
Par défaut : 20
https://api.sandbase.ai/v1/api/douyin/web/user-fans-listReturns a list of followers for a specified Douyin user account. Supports result pagination via timestamp parameters and custom page counts.
[
{
"data": {
"followers": null,
"log_pb": {
"impr_id": "2026082017430894F8C082C2969380A122"
},
"status_code": 8,
"status_msg": "用户未登录"
}
}
]Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.
Returns a page of followers for a Douyin account. Each follower is a user profile object with avatar images and post count. The input is the account's sec_user_id.
total follower count of several creators during influencer research.aweme_count.curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/user-fans-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
count | integer | No | Number, default is 20, it is recommended to keep it unchanged. |
max_time | string | No | Maximum timestamp, default is 0, get from the returned data later, used for paging. |
sec_user_id | string | No | User sec_user_id |
source_type | integer | No | Source type, default is 1, use 2 as the source type for the first request, and then use 1 as the source type for the subsequent request. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"all_fans_group_title": "全部关注他(她)的人",
"display_fans_score_info": true,
"extra": {
"fatal_item_ids": [],
"logid": "20261103153231977D6BDD71CAD9F35C83",
"now": 1793691151000
},
"followers": [
{
"accept_private_policy": false,
"account_cert_info": null,
"account_region": "",
"account_type": null,
"activity": null,
"activity_label": null,
"ad_cover_title": null,
"ad_cover_url": null,
"ad_order_id": null,
"age_gate_action": null,
"age_gate_post_action": null,
"age_gate_time": null
}
],
"group_types": null,
"has_more": true,
"hotsoon_has_more": 0,
"hotsoon_text": "",
"log_pb": {
"impr_id": "20261103153231977D6BDD71CAD9F35C83"
},
"max_time": 1792839294,
"min_time": 1780926925,
"mix_count": 127
}
| Field | Meaning |
|---|---|
followers[] | List of follower profiles for the requested account. Each item is one user. |
followers[].aweme_count | Number of videos the follower has posted. |
followers[].avatar_thumb / avatar_168x168 / avatar_300x300 / avatar_medium / avatar_larger | Avatar images in different sizes. Each has a uri, width, height and a url_list of image links. |
followers[].aweme_control | Flags such as can_comment, can_forward and can_share for the follower's videos. |
total | Total number of followers of the requested account. |
has_more | true when more followers are available on a next page. |
max_time / min_time | Timestamps of the page boundaries. Use max_time for the next request's max_time parameter. |
status_code | Status of the call. 0 in the sample response. |
extra.logid / log_pb.impr_id | Request identifiers returned with the response. |
sec_user_id from a user profile link with Douyin sec_user_id from URL.source_type to 2. For later pages, set it to 1.has_more is true, then send the returned max_time value as the max_time parameter.min_time and max_time as Unix-style second values, such as 1792839294.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
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/web/user-fans-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"count": 20,
"max_time": "0",
"sec_user_id": "MS4wLjABAAAA9y04iBlVdeMQqTJbqsQZKb-tqWqWW29jPVJqideHT70",
"source_type": 1
}'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.
countintegerNumber, default is 20, it is recommended to keep it unchanged.
Par défaut : 20
max_timestringMaximum timestamp, default is 0, get from the returned data later, used for paging.
Par défaut : "0"
sec_user_idstringUser sec_user_id
Par défaut : "MS4wLjABAAAA9y04iBlVdeMQqTJbqsQZKb-tqWqWW29jPVJqideHT70"
source_typeintegerSource type, default is `1`, use `2` as the source type for the first request, and then use `1` as the source type for the subsequent request.
Par défaut : 1
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
[
{
"data": {
"followers": null,
"log_pb": {
"impr_id": "2026082017430894F8C082C2969380A122"
},
"status_code": 8,
"status_msg": "用户未登录"
}
}
]Explorer plus
| API | Prix | Réponse |
|---|---|---|
Douyin Web User Fans ListCette API Douyin | $0.001 par appel | JSON |
Douyin | $0.001 par appel | JSON |
Douyin | $0.001 par appel | JSON |
Douyin | $0.001 par appel | JSON |
Douyin | $0.001 par appel | JSON |
Douyin | $0.03 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/douyin/web/user-fans-list 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.001 par appel. Chaque organisation bénéficie de 100 appels gratuits par jour UTC, partagés entre les API SandBase éligibles, y compris celle-ci ; au-delà, chaque appel est facturé à ce tarif depuis votre solde SandBase. Aucun abonnement.
Aucun paramètre n’est requis. Facultatif : count (integer), max_time (string), sec_user_id (string) et source_type (integer). 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 Web User Fans List 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.