app_namestring
Platform, aweme=Douyin, toutiao=Toutiao (toutiao currently returns empty)
ค่าเริ่มต้น: "aweme"
ค่าที่เป็นไปได้: aweme, toutiao
https://api.sandbase.ai/v1/api/douyin/index/hot-trend-wordReturns trending search words suggested in the keyword index search box. Filter by platform and word type to retrieve relevant search suggestions.
[
{
"data": {
"trend_words": [
{
"id": "0",
"word": "重庆"
},
{
"id": "0",
"word": "时代"
},
{
"id": "0",
"word": "代峰"
},
"… 2 more items in the full response"
],
"update_time": "20260818"
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Returns the trending search words that Douyin suggests in the keyword index search box. Both inputs are optional: app_name picks the platform and type picks the word type.
update_time.curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/hot-trend-word" \
-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 (toutiao currently returns empty) |
type | integer | No | Word type, 0=search words (plain words, id is always "0"), |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"trend_words": [
{
"id": "0",
"word": "百乔"
}
],
"update_time": "20261102"
}
| Field | Meaning |
|---|---|
trend_words[] | List of suggested trending search words. |
trend_words[].word | The suggested search word as plain text. |
trend_words[].id | Word ID. For type 0 (search words) it is always the string "0". |
update_time | Date of the list as a YYYYMMDD string, for example 20261102. |
{}. The defaults are app_name set to aweme and type set to 0.app_name accepts aweme (Douyin) or toutiao. Toutiao currently returns an empty result.type accepts 0 or 1. Only 0 (search words) is described in the parameter documentation.$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-trend-word" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": 0,
"app_name": "aweme"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
app_namestringPlatform, aweme=Douyin, toutiao=Toutiao (toutiao currently returns empty)
ค่าเริ่มต้น: "aweme"
ค่าที่เป็นไปได้: aweme, toutiao
typeintegerWord type, 0=search words (plain words, id is always "0"),
ค่าเริ่มต้น: 0
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"trend_words": [
{
"id": "0",
"word": "重庆"
},
{
"id": "0",
"word": "时代"
},
{
"id": "0",
"word": "代峰"
},
"… 2 more items in the full response"
],
"update_time": "20260818"
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Douyin Hot Trend WordsAPI นี้ 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-trend-word โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: app_name (หนึ่งใน aweme, toutiao) และ type (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Douyin Hot Trend Words ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก