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": "用户未登录"
}
}
]例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。
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 |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/douyin/web/user-fans-list に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.001。各組織には UTC 日ごとに 100 回の無料呼び出しが付与され、この API を含む対象の SandBase API 全体で共有されます。それ以降は、各呼び出しが 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 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Douyin の API アクセスを別途申請する必要はありません。