user_namestringจำเป็น
Username (supports Douyin ID and nickname)
https://api.sandbase.ai/v1/api/douyin/creator/user-searchSearches for Douyin accounts and returns user profile records matching the query. Looks up profiles using a Douyin ID or user nickname.
[
{
"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
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.
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.
| Name | Type | Required | Description |
|---|---|---|---|
user_name | string | Yes | Username (supports Douyin ID and nickname) |
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"
}
]
}
| Field | Meaning |
|---|---|
user_infos[] | Matching accounts. |
nick_name | Display name. |
short_id | Douyin ID shown on the profile (抖音号). |
user_id | Numeric user ID. |
avatar | Avatar URL. |
nick_name before using user_id.sec_user_id; get it from a profile link or the video detail APIs.$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.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
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": "example"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
user_namestringจำเป็นUsername (supports Douyin ID and nickname)
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"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"
]
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Douyin User Search (Creator)API นี้ Douyin | $0.001 ต่อการเรียก | JSON |
Douyin | $0.001 ต่อการเรียก | JSON |
Douyin | $0.001 ต่อการเรียก | JSON |
Douyin | $0.001 ต่อการเรียก | JSON |
Douyin | $0.001 ต่อการเรียก | JSON |
Douyin | $0.001 ต่อการเรียก | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/douyin/creator/user-search โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: user_name (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Douyin User Search (Creator) ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก