pageintegerจำเป็น
Page number
https://api.sandbase.ai/v1/api/douyin/billboard/hot-challenge-listReturns trending Douyin challenge leaderboard entries with rank, hot score, and video counts. Supports filtering by keyword and page-based pagination.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Returns the Douyin hot challenge leaderboard as a ranked list. Each entry has a rank, a hot score, a video count, and a short hot score history. The request needs page and page_size, and accepts an optional keyword.
trends list.keyword to find challenges on one theme.sentence_id values to join challenge entries with data from other Douyin APIs.curl -X POST "https://api.sandbase.ai/v1/api/douyin/billboard/hot-challenge-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"page": 1, "page_size": 10}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
page | integer | Yes | Page number |
page_size | integer | Yes | Number of items per page |
keyword | string | No | Hot search term |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": {
"last_update_time": "20261103152500",
"objs": [
{
"SnapshotID": 20261103152500,
"SnapshotSubType": "hotspot_challenge",
"SnapshotType": 2,
"allow_publish": false,
"city_code": 0,
"city_name": "",
"create_at": 1793592534,
"first_item_cover_url": "",
"hot_score": 9088842,
"index": 1,
"is_favorite": false,
"item_list": null
}
],
"page": {
"page": 1,
"page_size": 100,
"total": 50
}
},
"extra": {
"now": 1793691107000
},
"message": ""
}
| Field | Meaning |
|---|---|
data.objs[].sentence | Name of the challenge topic, as Douyin shows it on the leaderboard. |
data.objs[].sentence_id | Numeric ID of the challenge topic. |
data.objs[].rank / data.objs[].index | Position of the entry on the leaderboard, starting at 1. |
data.objs[].hot_score | Current hot score of the challenge. Higher scores rank higher. |
data.objs[].video_count | Video count for the challenge entry, as returned on the leaderboard. |
data.objs[].trends[].datetime / data.objs[].trends[].hot_score | Past hot score samples. datetime uses the format YYYYMMDDHHMMSS. |
data.objs[].create_at | Unix timestamp in seconds for the entry. |
data.objs[].sentence_tag | Numeric tag code for the challenge. sentence_tag_name is empty in this response. |
data.last_update_time | Time of the latest leaderboard snapshot, in the format YYYYMMDDHHMMSS. |
data.page.page / data.page.page_size / data.page.total | Pagination info. total is the number of entries in the leaderboard. |
page and page_size are both required. Increase page to read further entries.page.page_size value in the response can differ from the page_size you sent, so check the number of items in objs.SnapshotID has the same format as last_update_time, so you can use it to see which snapshot an entry came from.$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-challenge-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"keyword": "",
"page_size": 10
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
pageintegerจำเป็นPage number
page_sizeintegerจำเป็นNumber of items per page
keywordstringHot search term
ค่าเริ่มต้น: ""
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Douyin Hot Challenge ListAPI นี้ 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-challenge-list โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: page (integer) และ page_size (integer). ตัวเลือก: keyword (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Douyin Hot Challenge List ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก