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 |
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/douyin/web/user-fans-list。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次 $0.001。每個組織每個 UTC 日可免費呼叫 100 次,並可在包含此 API 在內的所有符合資格之 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 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Douyin API 存取權。