date_windowinteger
Time window, 1 by hour 2 by day
ค่าเริ่มต้น: 24
https://api.sandbase.ai/v1/api/douyin/billboard/hot-total-hot-word-listReturns trending content words and popularity scores from Douyin billboards. Supports filtering by search keyword, time window, and pagination parameters.
[
{
"data": {
"code": 0,
"data": {
"total_count": 1293,
"word_list": [
{
"favorite_id": 0,
"id": "OgfmEKEBoYl6zwhY5vp0",
"is_favorite": false,
"query_day": "20261005",
"rising_ratio": 0,
"rising_speed": "",
"score": 83,
"title": "抖音音",
"trends": [
{
"date": "20261005",
"value": 8354
}
]
},
{
"favorite_id": 0,
"id": "WUHnEKEBXfdyFZxbAAxj",
"is_favorite": false,
"query_day": "20261005",
"rising_ratio": 0,
"rising_speed": "",
"score": 35,
"title": "抖音抖一抖",
"trends": [
{
"date": "20261005",
"value": 3537.4601190476183
}
]
},
{
"favorite_id": 0,
"id": "BnHmEKEBjgz1wI4EyyrV",
"is_favorite": false,
"query_day": "20261005",
"rising_ratio": 0,
"rising_speed": "",
"score": 204,
"title": "抖音上",
"trends": [
{
"date": "20260905",
"value": 2105.6512820512817
},
{
"date": "20260906",
"value": 1372.974074074074
},
{
"date": "20261005",
"value": 15575.521428571428
}
]
},
"… 7 more items in the full response"
]
},
"extra": {
"now": 1791290412000
},
"message": ""
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Returns a ranked list of Douyin billboard content words that match a search keyword. Each word has a popularity score and a daily trend series. The request takes optional keyword, date_window, page_num and page_size values.
人工智能 is on Douyin compared with similar words.curl -X POST "https://api.sandbase.ai/v1/api/douyin/billboard/hot-total-hot-word-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
date_window | integer | No | Time window, 1 by hour 2 by day |
keyword | string | No | Search keyword |
page_num | integer | No | Page number |
page_size | integer | No | Number of items per page |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": {
"objs": [
{
"favorite_id": 0,
"id": "NRsKn6EBoYl6zwhYLhSC",
"is_favorite": false,
"query_day": "20261102",
"rising_ratio": 0,
"rising_speed": "",
"score": 112,
"title": "抖音音乐",
"trends": [
{
"date": "20260928",
"value": 9177.417093277045
}
]
}
],
"total_count": 1268,
"word_list": [
{
"favorite_id": 0,
"id": "NRsKn6EBoYl6zwhYLhSC",
"is_favorite": false,
"query_day": "20261102",
"rising_ratio": 0,
"rising_speed": "",
"score": 112,
"title": "抖音音乐",
"trends": [
{
"date": "20260928",
"value": 9177.417093277045
}
]
}
]
},
"extra": {
"now": 1793691109000
},
"message": ""
}
| Field | Meaning |
|---|---|
data.word_list[].title | The content word text. |
data.word_list[].score | Popularity score of the word. Higher values mean a more popular word. |
data.word_list[].id | Identifier of the word entry. |
data.word_list[].query_day | Day of the query, as a YYYYMMDD string. |
data.word_list[].trends[].date / data.word_list[].trends[].value | One point of the trend series. date is a YYYYMMDD string and value is the metric number for that day. |
data.word_list[].rising_ratio / data.word_list[].rising_speed | Rise indicators for the word. They were 0 and an empty string in this sample. |
data.word_list[].is_favorite / data.word_list[].favorite_id | Favorite state of the word for the account. They were false and 0 in this sample. |
data.total_count | Total number of words that match the request. Use it to work out how many pages exist. |
data.objs[] | Holds the same items as data.word_list[]. |
date_window to 1 for hourly data or 2 for daily data.page_num and page_size. Compare data.total_count with the number of items you have fetched.query_day and trends[].date use the YYYYMMDD format.$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/billboard/hot-total-hot-word-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keyword": "人工智能",
"page_num": 1,
"page_size": 10,
"date_window": 24
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
date_windowintegerTime window, 1 by hour 2 by day
ค่าเริ่มต้น: 24
keywordstringSearch keyword
ค่าเริ่มต้น: "抖音"
page_numintegerPage number
ค่าเริ่มต้น: 1
page_sizeintegerNumber of items per page
ค่าเริ่มต้น: 10
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"code": 0,
"data": {
"total_count": 1293,
"word_list": [
{
"favorite_id": 0,
"id": "OgfmEKEBoYl6zwhY5vp0",
"is_favorite": false,
"query_day": "20261005",
"rising_ratio": 0,
"rising_speed": "",
"score": 83,
"title": "抖音音",
"trends": [
{
"date": "20261005",
"value": 8354
}
]
},
{
"favorite_id": 0,
"id": "WUHnEKEBXfdyFZxbAAxj",
"is_favorite": false,
"query_day": "20261005",
"rising_ratio": 0,
"rising_speed": "",
"score": 35,
"title": "抖音抖一抖",
"trends": [
{
"date": "20261005",
"value": 3537.4601190476183
}
]
},
{
"favorite_id": 0,
"id": "BnHmEKEBjgz1wI4EyyrV",
"is_favorite": false,
"query_day": "20261005",
"rising_ratio": 0,
"rising_speed": "",
"score": 204,
"title": "抖音上",
"trends": [
{
"date": "20260905",
"value": 2105.6512820512817
},
{
"date": "20260906",
"value": 1372.974074074074
},
{
"date": "20261005",
"value": 15575.521428571428
}
]
},
"… 7 more items in the full response"
]
},
"extra": {
"now": 1791290412000
},
"message": ""
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Douyin Hot Content 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/billboard/hot-total-hot-word-list โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง ทุกองค์กรจะได้รับคำขอฟรี 100 ครั้งต่อวัน UTC โดยใช้ร่วมกันใน SandBase APIs ที่เข้าเงื่อนไขรวมถึงรายการนี้ หลังจากนั้นแต่ละคำขอจะคิดค่าบริการตามราคานี้จากยอดคงเหลือ SandBase ของคุณ ไม่มีค่าสมาชิกรายเดือน
ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: date_window (integer), keyword (string), page_num (integer) และ page_size (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Douyin Hot Content Words ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก