Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Douyin Web User Fans List

Tài liệu API
https://api.sandbase.ai/v1/api/douyin/web/user-fans-list

Returns a list of followers for a specified Douyin user account. Supports result pagination via timestamp parameters and custom page counts.

Giá
$0.001USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
0 bắt buộc · 4 tùy chọn
100 lượt gọi miễn phí / ngày100 lượt gọi đầu tiên mỗi ngày miễn phí (chia sẻ theo tổ chức) · Đặt lại lúc 00:00 UTC. Sau đó tính phí theo mỗi lượt gọi.

Phòng thử nghiệm

Đầu vào
Number, default is 20, it is recommended to keep it unchanged.
Maximum timestamp, default is 0, get from the returned data later, used for paging.
User sec_user_id
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.
Đầu raVí dụ
Phản hồioutputs · 191 B · 12 dòng
[
  {
    "data": {
      "followers": null,
      "log_pb": {
        "impr_id": "2026082017430894F8C082C2969380A122"
      },
      "status_code": 8,
      "status_msg": "用户未登录"
    }
  }
]

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

README API

Douyin Web User Fans List API

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.

Use cases

  • Pull the follower list of a Douyin creator to review who follows the account.
  • Page through all followers of an account and store each profile with its avatar links.
  • Compare the total follower count of several creators during influencer research.
  • Spot followers that have posted few or no videos by checking aweme_count.

Request

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.

Parameters

NameTypeRequiredDescription
countintegerNoNumber, default is 20, it is recommended to keep it unchanged.
max_timestringNoMaximum timestamp, default is 0, get from the returned data later, used for paging.
sec_user_idstringNoUser sec_user_id
source_typeintegerNoSource 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.

Example response

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
}

Response fields

FieldMeaning
followers[]List of follower profiles for the requested account. Each item is one user.
followers[].aweme_countNumber of videos the follower has posted.
followers[].avatar_thumb / avatar_168x168 / avatar_300x300 / avatar_medium / avatar_largerAvatar images in different sizes. Each has a uri, width, height and a url_list of image links.
followers[].aweme_controlFlags such as can_comment, can_forward and can_share for the follower's videos.
totalTotal number of followers of the requested account.
has_moretrue when more followers are available on a next page.
max_time / min_timeTimestamps of the page boundaries. Use max_time for the next request's max_time parameter.
status_codeStatus of the call. 0 in the sample response.
extra.logid / log_pb.impr_idRequest identifiers returned with the response.

Notes

  • Get sec_user_id from a user profile link with Douyin sec_user_id from URL.
  • For the first request, set source_type to 2. For later pages, set it to 1.
  • To get the next page, check that has_more is true, then send the returned max_time value as the max_time parameter.
  • The sample response shows min_time and max_time as Unix-style second values, such as 1792839294.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.03 mỗi lần gọiJSON

Hướng dẫn:Best Douyin API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Douyin Web User Fans List?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/web/user-fans-list với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Douyin Web User Fans List có giá bao nhiêu?

$0.001 mỗi lần gọi. Mỗi tổ chức được 100 lần gọi miễn phí mỗi ngày UTC, dùng chung cho các API SandBase đủ điều kiện, bao gồm API này; sau đó mỗi lần gọi sẽ được tính theo mức giá này từ số dư SandBase của bạn. Không có gói đăng ký.

API Douyin Web User Fans List chấp nhận những tham số nào?

Không có tham số bắt buộc. Tùy chọn: count (integer), max_time (string), sec_user_id (string) và source_type (integer). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Douyin Web User Fans List trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Douyin không?

Không. Douyin Web User Fans List chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Douyin.