app_namestring
Platform, aweme=Douyin, toutiao=Toutiao
ค่าเริ่มต้น: "aweme"
ค่าที่เป็นไปได้: aweme, toutiao
https://api.sandbase.ai/v1/api/douyin/index/hot-wordsReturns a list of current trending search keywords and their growth rates on Douyin or Toutiao. Results can be filtered by the target platform application.
[
{
"data": {
"BaseResp": {
"StatusCode": 0,
"StatusMessage": ""
},
"hot_words": [
{
"growth": "50",
"growth_rate": 100,
"index": "100",
"keyword": "美食"
},
{
"growth": "50",
"growth_rate": 100,
"index": "100",
"keyword": "零食"
},
{
"growth": "50",
"growth_rate": 100,
"index": "100",
"keyword": "游戏"
},
"… 17 more items in the full response"
]
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Returns a list of trending search keywords on Douyin or Toutiao. Each keyword comes with an index value and growth figures. The only input is the optional app_name parameter, which defaults to aweme (Douyin).
aweme and toutiao lists to see which keywords trend on one platform but not the other.growth_rate to spot terms that are rising fast.curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/hot-words" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
app_name | string | No | Platform, aweme=Douyin, toutiao=Toutiao |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"BaseResp": {
"StatusCode": 0,
"StatusMessage": ""
},
"hot_words": [
{
"growth": "50",
"growth_rate": 100,
"index": "100",
"keyword": "美食"
}
]
}
| Field | Meaning |
|---|---|
hot_words[] | List of trending search keywords. |
hot_words[].keyword | The trending search term, as text in Chinese. |
hot_words[].index | Index value for the keyword, returned as a string. In the sample, all three keywords have 100. |
hot_words[].growth | Growth value for the keyword, returned as a string. |
hot_words[].growth_rate | Growth rate for the keyword, returned as a number. |
BaseResp.StatusCode / BaseResp.StatusMessage | Status of the call. StatusCode of 0 with an empty StatusMessage means the call succeeded. |
app_name to aweme for Douyin (the default) or toutiao for Toutiao.index and growth come back as strings, while growth_rate is a number. Convert the strings before you sort or compare them.$0.001 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/index/hot-words" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"app_name": "aweme"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
app_namestringPlatform, aweme=Douyin, toutiao=Toutiao
ค่าเริ่มต้น: "aweme"
ค่าที่เป็นไปได้: aweme, toutiao
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"BaseResp": {
"StatusCode": 0,
"StatusMessage": ""
},
"hot_words": [
{
"growth": "50",
"growth_rate": 100,
"index": "100",
"keyword": "美食"
},
{
"growth": "50",
"growth_rate": 100,
"index": "100",
"keyword": "零食"
},
{
"growth": "50",
"growth_rate": 100,
"index": "100",
"keyword": "游戏"
},
"… 17 more items in the full response"
]
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Douyin Hot Search KeywordsAPI นี้ 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/index/hot-words โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: app_name (หนึ่งใน aweme, toutiao). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Douyin Hot Search Keywords ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก