countinteger
Number, default is 20, it is recommended to keep it unchanged.
默认值: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": "用户未登录"
}
}
]选择一个示例,将其输入和结果加载到 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.
开始构建
具备统一身份验证和使用情况跟踪的平台 API 端点。
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
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
countintegerNumber, default is 20, it is recommended to keep it unchanged.
默认值:20
max_timestringMaximum timestamp, default is 0, get from the returned data later, used for paging.
默认值:"0"
sec_user_idstringUser sec_user_id
默认值:"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.
默认值:1
这是该 API 保存的示例响应;查看时不会发起实时请求。
[
{
"data": {
"followers": null,
"log_pb": {
"impr_id": "2026082017430894F8C082C2969380A122"
},
"status_code": 8,
"status_msg": "用户未登录"
}
}
]探索更多
| API | 价格 | 响应 |
|---|---|---|
Douyin | $0.001 每次调用 | JSON |
Douyin | $0.001 每次调用 | JSON |
Douyin | $0.001 每次调用 | JSON |
Douyin | $0.001 每次调用 | JSON |
Douyin | $0.001 每次调用 | JSON |
Douyin | $0.03 每次调用 | JSON |
问题
向 https://api.sandbase.ai/v1/api/douyin/web/user-fans-list 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.001。每个组织在每个 UTC 日可获得 100 次免费调用,适用于包括此接口在内的所有符合条件的 SandBase APIs;超过后,每次调用将按此价格从您的 SandBase 余额中扣费。无需订阅。
无需参数。 可选:count (integer), max_time (string), sec_user_id (string) 和 source_type (integer)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。Douyin Web User Fans List 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Douyin API 访问权限。