Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Douyin Batch User Profile

เอกสาร API
https://api.sandbase.ai/v1/api/douyin/web/batch-user-profile-v1

Retrieves public profile information for multiple Douyin accounts in a single request. Specify up to 10 user IDs to return user details in batch.

ราคา
$0.03USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 0 ไม่บังคับ

Playground

อินพุต
User sec_user_id list, separated by commas, up to 10
เอาต์พุตตัวอย่าง
การตอบกลับoutputs · 26 B · 5 บรรทัด
[
  {
    "data": []
  }
]

ตัวอย่าง

เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground

API README

Douyin Batch User Profile API

Returns public profile details for up to 10 Douyin accounts in one call. The input is a comma-separated string of sec_user_ids. The response is a list with one object per account.

Use cases

  • Fill a creator database with nicknames, bios and avatars for a list of Douyin accounts.
  • Check whether a set of accounts has changed its nickname, signature or unique_id.
  • Match accounts across systems using uid, short_id and sec_uid.
  • Screen a list of accounts for verification or commerce status before outreach.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/batch-user-profile-v1" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sec_user_ids": "MS4wLjABAAAANXSltcLCzDGmdNFI2Q_QixVTr67NiYzjKOIP5s03CAE,MS4wLjABAAAAW9FWcqS7RdQAWPd2AA5fL_ilmqsIFUCQ_Iym6Yh9_cUa6ZRqVLjVQSUjlHrfXY1Y"}'

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

Parameters

NameTypeRequiredDescription
sec_user_idsstringYesUser sec_user_id list, separated by commas, up to 10

Example response

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

[
  {
    "account_cert_info": "{}",
    "avatar_signature": "",
    "avatar_small": {
      "uri": "168x168/aweme-avatar/tos-cn-avt-0015_d8306450a4b1f0a9992ce420b7468b0b",
      "url_list": [
        "https://p11.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_d8306450a4b1f0a9992ce…"
      ]
    },
    "avatar_thumb": {
      "uri": "100x100/aweme-avatar/tos-cn-avt-0015_d8306450a4b1f0a9992ce420b7468b0b",
      "url_list": [
        "https://p11.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_d8306450a4b…"
      ]
    },
    "birthday_hide_level": 1,
    "commerce_user_level": 0,
    "custom_verify": "",
    "enterprise_verify_reason": "",
    "follow_status": 0,
    "follower_status": 0,
    "has_e_account_role": false,
    "im_activeness": 1
  }
]

Response fields

FieldMeaning
nicknameDisplay name of the account.
signatureBio text written by the user. It can be an empty string.
sec_uidEncrypted user ID. It matches the value you sent in sec_user_ids.
uid / short_id / unique_idOther identifiers for the account. uid is the numeric user ID. unique_id is the public Douyin ID, and it can equal short_id when the user has not set a custom one.
avatar_thumb.url_list[] / avatar_small.url_list[]Avatar image URLs at 100x100 and 168x168 sizes. Each list holds several mirror URLs for the same image.
store_regionRegion code stored for the account, such as cn-hn or cn-zj.
verification_type / custom_verify / enterprise_verify_reasonVerification state and any verification text. In this response they are 0 and empty strings.
commerce_user_level / with_commerce_entryCommerce level of the account and whether it shows a commerce entry.
follow_status / follower_status / is_blockRelationship flags between the account and the calling session. They are 0 or false in this response.

Notes

Pricing

$0.03 per successful call. Failed calls are not charged.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
Douyin$0.03 ต่อการเรียกJSON
Douyin$0.001 ต่อการเรียกJSON
Douyin$0.001 ต่อการเรียกJSON
Douyin$0.001 ต่อการเรียกJSON
Douyin$0.001 ต่อการเรียกJSON
Douyin$0.15 ต่อการเรียกJSON

คู่มือ:Best Douyin API in 2026: Pricing Compared

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Douyin Batch User Profile API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/douyin/web/batch-user-profile-v1 โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Douyin Batch User Profile API ราคาเท่าไร?

$0.03 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Douyin Batch User Profile API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: sec_user_ids (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Douyin Batch User Profile API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Douyin ไหม?

ไม่จำเป็น Douyin Batch User Profile ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก