keywordstringจำเป็น
The search keyword.
https://api.sandbase.ai/v1/api/douyin/search-userSearch Douyin (TikTok China) users by keyword with page-based pagination and optional account-type filtering. Use it to discover creators, brands, or verified accounts for research.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Returns a page of Douyin user search results for a keyword. The only required input is keyword. You can add page to move through results and userType to filter by account type.
美食 (food).userType to compare enterprise accounts with personal accounts for a topic.search_id of a query so you can trace which search produced a given result set.curl -X POST "https://api.sandbase.ai/v1/api/douyin/search-user" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "美食"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | Yes | The search keyword. |
page | integer | No | Page number (starting from 1). |
userType | string | No | Filter by user type. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"business_config": {
"ad_info": null,
"card_count": 19,
"extra": {
"hidden_filter": false,
"is_filter_search": 0,
"req_start_ts": 1793691135691
},
"extra_fresh_struct": null,
"feedback": {
"text_first": "找不到想找的帐号?",
"text_second": "告诉我们",
"url": "aweme://webview/?url=https%3A%2F%2Faweme.snssdk.com%2Ffalcon%2Ffe_app_react%2Fqu…"
},
"filter_bar": null,
"has_more": 1,
"is_filter_search": 0,
"keyword": "美食",
"next_page": {
"cursor": 20,
"keyword": "美食",
"poi_search_info": "",
"search_id": "2026110315321535AE25B844FEC0561826",
"search_request_id": "2026110315321535AE25B844FEC0561826"
},
"poi_search_info": "",
"pre_loadmore_config": null
},
"business_data": [
{
"card_id": "douyin.doctype_aweme_user",
"data": {
"aweme_list": null,
"card_id": "douyin.doctype_aweme_user",
"card_protocal_struct": {
"render_extra": {
"card_type_name": "channel_user",
"height": 80,
"schema": "aweme://lynxview/?channel=morphling_high&bundle=channel_user%2Findex%2Ftemplate.…",
"type": 999
},
"render_type": 1
},
"card_style_type": 4,
"card_type": 4,
"card_type_name": "channel_user",
"debug_data": {
"filter_debug_info_list": null
},
"debug_diff_info": {}
},
"data_id": "0",
"log": {
"dcm": "search.natural.discover.3971034404880483.2026110315321535AE25B844FEC0561826"
},
"type": 999
}
],
"extra": {
"device_score": 0,
"fatal_item_ids": [],
"logid": "2026110315321535AE25B844FEC0561826",
"now": 1793691136000,
"scenes": null,
"search_request_id": ""
},
"global_config": {
"hidden_filter": false
},
"log": {
"impr_id": "2026110315321535AE25B844FEC0561826",
"search_id": "2026110315321535AE25B844FEC0561826",
"search_keyword": "美食"
},
"log_pb": {
"impr_id": "2026110315321535AE25B844FEC0561826"
},
"mock_recall_path": "/aweme/v2/search/discover/",
"path": "/aweme/v2/search/discover/",
"render_info": [
{
"render_extra": {
"card_type_name": "channel_user",
"height": 80,
"schema": "aweme://lynxview/?channel=morphling_high&bundle=channel_user%2Findex%2Ftemplate.…",
"type": 999
},
"render_id": "0",
"render_type": 1,
"ui_info": null
}
],
"status_code": 0,
"struct": {
"children": [
{
"data_id": "0",
"fp": "",
"id": "0",
"render_id": "0"
}
],
"fp": "",
"id": "00",
"layout_type": 1
},
"success": true
}
| Field | Meaning |
|---|---|
business_data[] | One search result card per entry. Each card in this response has card_type_name set to channel_user, which marks it as a user result. |
business_data[].data_id | Position of the card in the result list, as a string starting at 0. |
business_data[].log.dcm | Tracking string for the card. It ends with the search ID, and the number before that appears to identify the matched account. |
business_config.has_more | Shows whether more results exist. The value 1 means there is another page. |
business_config.next_page.cursor | Offset for the next page of results. It is 20 in this response. |
business_config.card_count | Number of cards the search reports for this page. |
business_config.keyword / log.search_keyword | The keyword the search ran with. |
business_config.next_page.search_id / log.search_id / log.impr_id | Identifier for this search request. All three carry the same value in this response. |
status_code / success | status_code of 0 and success of true mean the call worked. |
business_data[] cards in this response show only card metadata, such as card_id and data_id. They do not show account names or follower counts, so check the card contents before you rely on them.page starting from 1 to get later pages. Check business_config.has_more to see whether another page exists.userType accepts common_user, enterprise_user or personal_user.$0.014286 per successful call. Failed calls 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/search-user" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"keyword": "美食"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
keywordstringจำเป็นThe search keyword.
pageintegerPage number (starting from 1).
ค่าเริ่มต้น: 1
userTypestringFilter by user type.
ค่าที่เป็นไปได้: common_user, enterprise_user, personal_user
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Douyin User SearchAPI นี้ Douyin | $0.014286 ต่อการเรียก | 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/search-user โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.014286 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: keyword (string). ตัวเลือก: page (integer) และ userType (หนึ่งใน common_user, enterprise_user, personal_user). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Douyin User Search ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก