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

Douyin User Profile (App V3)

API 文件
https://api.sandbase.ai/v1/api/douyin/app-v3/user-profile

Returns profile information and follower statistics for a specified Douyin user based on their unique secure user identifier.

價格
$0.001美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 0 個選填
每天 100 次免費呼叫每天前 100 次呼叫免費(按組織共用)· 於 UTC 00:00 重設。之後按次收費。

Playground

輸入
User sec_user_id
輸出範例
回應outputs · 360 B · 18 行
[
  {
    "data": {
      "extra": {
        "fatal_item_ids": null,
        "logid": "202608201745417A01EED3FEFAB1F77A20",
        "now": 1787219141000,
        "search_request_id": null
      },
      "log_pb": {
        "impr_id": "202608201745417A01EED3FEFAB1F77A20"
      },
      "status_code": 2,
      "status_msg": null,
      "user": null
    }
  }
]

範例

選擇一個範例,將其輸入與結果載入 playground。

API README

Douyin User Profile (App V3) API

Returns profile data for one Douyin user, including avatar images, cover images, video count and follower count. It needs the user's sec_user_id.

Use cases

  • Track the follower_count of a creator over time to measure audience growth.
  • Check how many videos an account has published with aweme_count before pulling its video list.
  • Download avatar and profile cover images for a creator database or review dashboard.
  • Check whether an account has an ads entry in its commerce settings.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/app-v3/user-profile" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sec_user_id": "MS4wLjABAAAAr52fXcfmzqOZJM_smap9Uuxtm16h8BupkCVaCt89BENq3E91mHCvtz5Z5TkXPHq_"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
sec_user_idstringYesUser sec_user_id

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "extra": {
    "fatal_item_ids": null,
    "logid": "202611031531419AC4E1CB78CA9D11D6BF",
    "now": 1793691101000,
    "search_request_id": null
  },
  "log_pb": {
    "impr_id": "202611031531419AC4E1CB78CA9D11D6BF"
  },
  "status_code": 0,
  "status_msg": null,
  "user": {
    "account_cert_info": "{}",
    "apple_account": 0,
    "avatar_168x168": {
      "height": 720,
      "uri": "aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c745843",
      "url_list": [
        "https://p3.douyinpic.com/aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c…"
      ],
      "width": 720
    },
    "avatar_300x300": {
      "height": 720,
      "uri": "aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c745843",
      "url_list": [
        "https://p3.douyinpic.com/aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c…"
      ],
      "width": 720
    },
    "avatar_is_digged": false,
    "avatar_larger": {
      "height": 720,
      "uri": "aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c745843",
      "url_list": [
        "https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_9186d2f6f9…"
      ],
      "width": 720
    },
    "avatar_medium": {
      "height": 720,
      "uri": "aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c745843",
      "url_list": [
        "https://p3.douyinpic.com/aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c…"
      ],
      "width": 720
    },
    "avatar_thumb": {
      "height": 720,
      "uri": "aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c745843",
      "url_list": [
        "https://p3.douyinpic.com/aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c…"
      ],
      "width": 720
    },
    "aweme_count": 92,
    "aweme_count_correction_threshold": -1,
    "birthday": "",
    "birthday_hide_level": 0
  }
}

Response fields

FieldMeaning
user.follower_countNumber of followers of the account.
user.aweme_countNumber of videos (works) on the account.
user.dongtai_count / user.favoriting_count / user.evaluation_countOther count values on the profile. In this sample all three are 0.
user.avatar_larger / user.avatar_medium / user.avatar_thumbAvatar image objects in different sizes. Each has uri, width, height and a url_list of image links.
user.avatar_larger.url_list[]Image links for the avatar. Several links with different formats (heic, jpeg) can appear in one list.
user.cover_url[].url_list[]Links to the profile cover images of the account. These links contain x-expires and x-signature query values.
user.cover_and_head_image_info.profile_cover_list[]Profile cover entries with cover_url, dark_cover_color and light_cover_color.
user.commerce_user_info.has_ads_entrytrue when the account has an ads entry in its commerce info.
user.follow_statusFollow relationship value for this user. It is 0 in this sample.
status_code0 in this response, which is the success value seen here.

Notes

  • Pass sec_user_id exactly as given. It is a long string that starts with MS4wLjABAAAA.
  • Many fields, such as city, country and birthday, can be empty strings.
  • To list this user's videos, pass the same sec_user_id to Douyin User Videos.
  • To list videos this user liked, use Douyin User Liked Videos (App V3).

Pricing

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

Start with a known creator identifier

Use User Profile when you have the intended creator's sec_user_id and need a profile snapshot. Copy that identifier exactly; a display name, numeric uid, video aweme_id or profile URL is not this field. A name search is a separate task: confirm the intended account before choosing an identifier, rather than automatically selecting the first match.

The reference shows profile fields such as video counts and avatar information. Optional fields may be missing or empty, and one snapshot does not establish follower growth. Do not substitute zero for unavailable fields or use a public profile response as permission to contact the creator.

To inspect published content instead, choose User Videos with the same sec_user_id. It is a separate request; the profile example does not fetch posts automatically.

Connect a known creator to your agent

Already have a key? Keep SANDBASE_API_KEY in your local environment and open this page's API tab for the POST /v1/api/ request and Bearer header. Already connected an agent? Give it the selected endpoint and the creator's sec_user_id. For a new project, share the setup Skill, Markdown quickstart and your task. Ask it to make one request and save the response before adding any research workflow.

The saved Playground input may contain the placeholder example. Replace it with the intended creator's sec_user_id before running. The API tab uses a schema example for teaching when the saved value is a placeholder; that example is not a promise that the creator remains available. These public-data requests do not provide access to a private account, an account's management tools or TikTok's separate API.

From a completed SandBase response, read outputs[0].data. In the dated reference samples, Douyin uses integer status_code 0 for success, with a user object for the profile or an aweme_list array for videos. Check that provider status and the expected field before using the data; HTTP 200 alone is insufficient. Preserve missing fields as unknown and treat explicit zero counters as provider-returned values, not independently verified audience measurements.

Pricing checked on 2026-11-08: both selected endpoints list $0.001 per call and eligibility for the organization's 100 daily free data API calls, shared across eligible APIs and reset at 00:00 UTC. Eligibility is not remaining allowance. Inspect current pricing and quota before executing. This update made no new business calls. The Douyin Python integration guide separates the bounded first request from dated historical research.

探索更多

相關 APIs

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

指南:Best Douyin API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Douyin User Profile (App V3) API?

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

Douyin User Profile (App V3) API 的費用是多少?

每次 $0.001。每個組織每個 UTC 日可免費呼叫 100 次,並可在包含此 API 在內的所有符合資格之 SandBase APIs 間共用;超過後,每次呼叫都會從您的 SandBase 餘額中以此價格計費。沒有訂閱方案。

Douyin User Profile (App V3) API 接受哪些參數?

必要:sec_user_id (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Douyin User Profile (App V3) API 會回傳什麼?

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

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

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

我可以把創作者名稱或個人頁 URL 當成 sec_user_id 傳入嗎?

不行。這個 app-v3/user-profile schema 需要創作者的 sec_user_id 字串。名稱、數字 uid、影片 aweme_id 與 URL 都是不同的輸入。請確認目標帳號,並完整複製其安全使用者識別碼;名稱搜尋是另一個請求。

為什麼儲存的 Playground 範例會顯示 example?

因為已儲存的範例只是佔位符,不是可用的創作者識別碼。請在執行前替換它。API 分頁中的教學請求在需要時會使用 schema 範例;它不會修改已儲存的快照,也不保證範例帳號目前可用。

個人頁快照能證明粉絲成長嗎?

不能。那只是單一 provider 的結果。請讀取 outputs[0].data、檢查 status_code 與 user 物件,並將不可用欄位保留為 unknown。成長需要可比較、帶日期的觀察;單一回應無法建立趨勢。