keywordstring
Search keyword, e.g., "game"
ค่าเริ่มต้น: "游戏"
https://api.sandbase.ai/v1/api/douyin/search/challenge-suggestReturns a list of suggested Douyin hashtags and challenges matching a query keyword, including challenge IDs and view counts.
[
{
"data": {
"extra": {
"fatal_item_ids": [],
"logid": "2026082017471899D34C5BF00CFDA5A2CD",
"now": 1787219239000,
"search_request_id": ""
},
"log_pb": {
"impr_id": "2026082017471899D34C5BF00CFDA5A2CD"
},
"rid": "2026082017471899D34C5BF00CFDA5A2CD",
"status_code": 0,
"status_msg": "",
"sug_list": [
{
"cha_name": "游戏",
"cid": "1624332181128206",
"group_id": "",
"tag": 0,
"view_count": 725492084139
},
{
"cha_name": "游戏抖音小游戏",
"cid": "1633754745245699",
"group_id": "6659329650067526926",
"tag": 0,
"view_count": 7201417
},
{
"cha_name": "游戏主播",
"cid": "1606891846318087",
"group_id": "6595499534829229316",
"tag": 0,
"view_count": 25802787613
},
"… 3 more items in the full response"
],
"words_query_record": {
"info": "{}",
"query_id": "",
"words_source": "sug"
}
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Returns a list of Douyin hashtag and challenge suggestions that match a keyword. Each suggestion includes the challenge name, its challenge ID, and a total view count. The only input is keyword.
view_count of related hashtags to pick tags with a larger audience.curl -X POST "https://api.sandbase.ai/v1/api/douyin/search/challenge-suggest" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | No | Search keyword, e.g., "game" |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"extra": {
"fatal_item_ids": [],
"logid": "2026110315321538D3C329F551034F46C2",
"now": 1793691135000,
"scenes": null,
"search_request_id": ""
},
"log_pb": {
"impr_id": "2026110315321538D3C329F551034F46C2"
},
"rid": "2026110315321538D3C329F551034F46C2",
"status_code": 0,
"status_msg": "",
"sug_list": [
{
"cha_name": "游戏",
"cid": "1624332181128206",
"group_id": "6534954143558145288",
"tag": 0,
"view_count": 747309565180
}
],
"words_query_record": {
"info": "{}",
"query_id": "",
"words_source": "sug"
}
}
| Field | Meaning |
|---|---|
sug_list[] | List of suggested hashtags and challenges that match the keyword. |
sug_list[].cha_name | Name of the suggested challenge or hashtag. |
sug_list[].cid | Challenge ID of the suggestion, returned as a string. |
sug_list[].group_id | Group ID returned with the suggestion, as a string. |
sug_list[].view_count | Total view count of the challenge. |
sug_list[].tag | Numeric tag value returned with each suggestion. It was 0 for all items in the sample. |
status_code / status_msg | Status of the request. status_code is 0 and status_msg is empty in the sample. |
words_query_record.words_source | Source label for the suggestions. The sample value is sug. |
rid / log_pb.impr_id | Request ID. Both hold the same value in the sample. |
keyword. The schema default is 游戏.cid to identify a challenge. For more on a hashtag, see Douyin Hashtag Details. To list its videos, see Douyin Hashtag Video List.$0.01 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/challenge-suggest" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keyword": "游戏"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
keywordstringSearch keyword, e.g., "game"
ค่าเริ่มต้น: "游戏"
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"extra": {
"fatal_item_ids": [],
"logid": "2026082017471899D34C5BF00CFDA5A2CD",
"now": 1787219239000,
"search_request_id": ""
},
"log_pb": {
"impr_id": "2026082017471899D34C5BF00CFDA5A2CD"
},
"rid": "2026082017471899D34C5BF00CFDA5A2CD",
"status_code": 0,
"status_msg": "",
"sug_list": [
{
"cha_name": "游戏",
"cid": "1624332181128206",
"group_id": "",
"tag": 0,
"view_count": 725492084139
},
{
"cha_name": "游戏抖音小游戏",
"cid": "1633754745245699",
"group_id": "6659329650067526926",
"tag": 0,
"view_count": 7201417
},
{
"cha_name": "游戏主播",
"cid": "1606891846318087",
"group_id": "6595499534829229316",
"tag": 0,
"view_count": 25802787613
},
"… 3 more items in the full response"
],
"words_query_record": {
"info": "{}",
"query_id": "",
"words_source": "sug"
}
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Douyin Hashtag SuggestionsAPI นี้ Douyin | $0.01 ต่อการเรียก | JSON |
Douyin | $0.01 ต่อการเรียก | JSON |
Douyin | $0.01 ต่อการเรียก | JSON |
Douyin | $0.01 ต่อการเรียก | JSON |
Douyin | $0.01 ต่อการเรียก | JSON |
Douyin | $0.01 ต่อการเรียก | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/douyin/search/challenge-suggest โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.01 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: keyword (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Douyin Hashtag Suggestions ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก