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

Douyin Xingtu User Profile QR Code

Tài liệu 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.

Giá
$0.002USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
0 bắt buộc · 2 tùy chọn

Phòng thử nghiệm

Đầu vào
User core ID (pick one with sec_uid)
User sec_uid (pick one with core_user_id)
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Douyin$0.002 mỗi lần gọiJSON
Douyin$0.002 mỗi lần gọiJSON
Douyin$0.002 mỗi lần gọiJSON
Douyin$0.01 mỗi lần gọiJSON
Douyin$0.003 mỗi lần gọiJSON
Douyin$0.001 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 Xingtu User Profile QR Code?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/xingtu-v2/user-profile-qrcode 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 Xingtu User Profile QR Code có giá bao nhiêu?

$0.002 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Douyin Xingtu User Profile QR Code chấp nhận những tham số nào?

Không có tham số bắt buộc. Tùy chọn: core_user_id (any) và sec_uid (any). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Douyin Xingtu User Profile QR Code 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 Xingtu User Profile QR Code 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.