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

Douyin User Search (Creator)

API 文件
https://api.sandbase.ai/v1/api/douyin/creator/user-search

Searches for Douyin accounts and returns user profile records matching the query. Looks up profiles using a Douyin ID or user nickname.

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

Playground

輸入
Username (supports Douyin ID and nickname)
輸出範例
回應outputs · 982 B · 29 行
[
  {
    "data": {
      "status_code": 0,
      "status_msg": "",
      "user_infos": [
        {
          "avatar": "https://p11.douyinpic.com/aweme/100x100/aweme-avatar/mosaic-legacy_2eca80003ddc80341fa58.jpeg?from=3782654143",
          "nick_name": "example",
          "short_id": "example45626",
          "user_id": "104454092865"
        },
        {
          "avatar": "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813c001_osFANpnV8ABKvp74A9eYACnARfzIQNAbgld0ID.jpeg?from=3782654143",
          "nick_name": "Example.滔",
          "short_id": "196913582",
          "user_id": "78764563613"
        },
        {
          "avatar": "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813c000-ce_o8EAFA9AIEAfyQCeAqAwGcUVoCFctNXDjoTgho.jpeg?from=3782654143",
          "nick_name": "Example",
          "short_id": "Exampley",
          "user_id": "729671226365944"
        },
        "… 17 more items in the full response"
      ]
    }
  }
]

範例

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

API README

Douyin User Search (Creator) API

Search Douyin accounts by nickname or Douyin ID (抖音号) and get each match's nickname, Douyin ID (short_id), numeric user_id and avatar. Useful when you only know an account's name.

Use cases

  • Resolve a brand or creator name into the Douyin account ID before calling profile or video APIs.
  • Check whether a Douyin ID is taken.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/creator/user-search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"user_name": "中国人工智能学会"}'

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

Parameters

NameTypeRequiredDescription
user_namestringYesUsername (supports Douyin ID and nickname)

Example response

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

{
  "status_code": 0,
  "status_msg": "",
  "user_infos": [
    {
      "avatar": "https://p11.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_ae902e4896a…",
      "nick_name": "中国人工智能学会",
      "short_id": "CAAI_Douyin",
      "user_id": "97074768765"
    }
  ]
}

Response fields

FieldMeaning
user_infos[]Matching accounts.
nick_nameDisplay name.
short_idDouyin ID shown on the profile (抖音号).
user_idNumeric user ID.
avatarAvatar URL.

Notes

  • Results come from the Douyin creator platform search, so the closest names come first; check nick_name before using user_id.
  • For profile and posts, most Douyin APIs take sec_user_id; get it from a profile link or the video detail APIs.

Pricing

$0.001 per successful call. Failed calls, including lookups whose target does not exist, 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.001JSON

指南:Best Douyin API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Douyin User Search (Creator) API?

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

Douyin User Search (Creator) API 的費用是多少?

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

Douyin User Search (Creator) API 接受哪些參數?

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

Douyin User Search (Creator) API 會回傳什麼?

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

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

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