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

Douyin Xingtu User Profile QR Code

API 文件
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/user-profile-qrcode

Returns a QR code for a Douyin Xingtu creator profile. Look up the profile QR code by providing either a user core ID or sec_uid.

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

Playground

輸入
User core ID (pick one with sec_uid)
User sec_uid (pick one with core_user_id)
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

Douyin Xingtu User Profile QR Code API

Returns a link to a QR code image for a Douyin Xingtu creator profile. Pass either core_user_id or sec_uid to identify the creator.

Use cases

  • Show a scannable profile code next to a creator row in an internal talent dashboard.
  • Add a creator QR code to a pitch deck or campaign brief so a client can open the profile on a phone.
  • Print or embed a creator's profile code in offline materials for a brand partnership event.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/user-profile-qrcode" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"core_user_id": "1113181577281568"}'

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

Parameters

NameTypeRequiredDescription
core_user_idstringNoUser core ID (pick one with sec_uid)
sec_uidstringNoUser sec_uid (pick one with core_user_id)

Example response

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

{
  "base_resp": {
    "status_code": 0,
    "status_message": "成功"
  },
  "qrcode": "https://p3.douyinpic.com/img/aweme-qrcode/TSQBWe7703844895601002240~c5_720x720.p…"
}

Response fields

FieldMeaning
qrcodeURL of the QR code image (a PNG file) for the creator profile. Download or embed this URL to show the code.
base_resp.status_codeResult code of the call. A value of 0 means the lookup succeeded.
base_resp.status_messageText message that goes with the status code. It reads 成功 (success) in the sample response.

Notes

Pricing

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

探索更多

相關 APIs

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

指南:Best Douyin API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Douyin Xingtu User Profile QR Code API?

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

Douyin Xingtu User Profile QR Code API 的費用是多少?

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

Douyin Xingtu User Profile QR Code API 接受哪些參數?

不需要任何參數。 選填:core_user_id (any) 和 sec_uid (any)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Douyin Xingtu User Profile QR Code API 會回傳什麼?

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

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

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