Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Douyin Web User Following List

API 文件
https://api.sandbase.ai/v1/api/douyin/web/user-following-list

Returns a list of accounts followed by a Douyin user. Filter by target user security ID and navigate paginated results using timestamps.

價格
$0.001美元/次呼叫
方法
POST
回應
JSON
參數
0 個必填 · 4 個選填

Playground

輸入
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.
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

Douyin Web User Following List API

Returns the list of accounts that a Douyin user follows. It needs the target user's sec_user_id and returns one page of followed accounts with paging timestamps.

Use cases

  • Pull the creators a specific Douyin account follows to see what that user is interested in.
  • Build a follow graph by walking the accounts followed by a seed user.
  • Check whether a brand or business account (see account_cert_info) appears among the accounts a user follows.
  • Collect avatar images and video counts for followed accounts to fill a dashboard.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/user-following-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.

{
  "extra": {
    "fatal_item_ids": [],
    "logid": "202611031532315C2777D33738AB243FBF",
    "now": 1793691152000
  },
  "followings": [
    {
      "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
    }
  ],
  "has_more": true,
  "hotsoon_has_more": 0,
  "hotsoon_text": "",
  "log_pb": {
    "impr_id": "202611031532315C2777D33738AB243FBF"
  },
  "max_time": 1793329603,
  "min_time": 1788086525,
  "mix_count": 436,
  "myself_user_id": "1185696462159498",
  "offset": 0,
  "rec_has_more": false
}

Response fields

FieldMeaning
followings[]One followed account per item. Each item holds profile and avatar data for that account.
followings[].aweme_countNumber of videos the followed account has posted.
followings[].account_cert_infoJSON string with account certification flags. For example {"is_biz_account":1} marks a business account. It is null when no flags are set.
followings[].avatar_thumb / avatar_168x168 / avatar_300x300 / avatar_medium / avatar_largerAvatar images in different sizes. Each has a url_list with image URLs, plus uri, width and height.
followings[].avatar_uriStorage path of the avatar image for the followed account.
followings[].aweme_controlFlags such as can_comment, can_forward and can_share that show what viewers may do with the account's videos.
has_moretrue when more followed accounts remain after this page.
max_time / min_timeTimestamps that bound this page of results. Use max_time for the next page request.
totalTotal number of accounts the user follows.
myself_user_idNumeric user ID tied to the requested user.

Notes

  • Get sec_user_id from a user's profile link. Use Douyin sec_user_id from URL to extract it.
  • Send source_type as 2 on the first request. Use 1 on every later request.
  • To get the next page, set max_time to the max_time value from the previous response while has_more is true. The first request uses 0.
  • The count parameter defaults to 20.

Pricing

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

探索更多

相關 APIs

所有 APIs
API價格回應
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.03JSON

指南:Best Douyin API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Douyin Web User Following List API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/douyin/web/user-following-list。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Douyin Web User Following List API 的費用是多少?

每次 $0.001,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Douyin Web User Following List API 接受哪些參數?

不需要任何參數。 選填:count (integer), max_time (string), sec_user_id (string) 和 source_type (integer)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Douyin Web User Following List API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Douyin 開發者帳號或 API 金鑰嗎?

不需要。Douyin Web User Following List 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Douyin API 存取權。