billboard_typestringआवश्यक
Billboard type
https://api.sandbase.ai/v1/api/douyin/billboard/hot-category-listReturns category IDs and popularity metrics from Douyin hot list billboards. Supports filtering by billboard type, search keywords, and snapshot time ranges.
[
{
"data": {
"code": 0,
"data": [
{
"label": "美食",
"num": 120,
"value": [
9000
]
},
{
"label": "旅行",
"num": 434,
"value": [
10000
]
},
{
"label": "站内玩法",
"num": 426,
"value": [
1004,
1000,
1002,
"… 2 more items in the full response"
]
},
"… 20 more items in the full response"
],
"extra": {
"now": 1790689544000
},
"message": ""
}
}
]प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
Returns a list of Douyin hot list categories for a given billboard type, with a category label, a count, and numeric category IDs. It needs one input, billboard_type (for example rise). You can narrow results with keyword, snapshot_time, or a start_date and end_date range.
rise billboard to build a category filter for other billboard calls.num counts across categories such as food and travel to see which categories have more entries.snapshot_time values to compare how the category list looks at different times.keyword to check which categories a hot search term falls under.curl -X POST "https://api.sandbase.ai/v1/api/douyin/billboard/hot-category-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"billboard_type": "rise"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
billboard_type | string | Yes | Billboard type |
end_date | string | No | Snapshot end time |
keyword | string | No | Hot search term |
snapshot_time | string | No | Snapshot time |
start_date | string | No | Snapshot start time |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": [
{
"label": "美食",
"num": 74,
"value": [
9000
]
}
],
"extra": {
"now": 1793691107000
},
"message": ""
}
| Field | Meaning |
|---|---|
data[].label | Category name in Chinese, for example 美食 (food) or 旅行 (travel). |
data[].num | A count for the category. Larger numbers appear for broader categories, such as 326 for 站内玩法. |
data[].value[] | List of numeric category IDs for this label. Most labels have one ID, and some have several, such as 1004, 1000 and 1002. |
code / message | code is 0 on success. message is an empty string in this response. |
extra.now | Server time of the response as a Unix timestamp in milliseconds. |
billboard_type is the only required parameter. The example uses rise.snapshot_time for a single snapshot, or start_date and end_date for a range.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/billboard/hot-category-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"billboard_type": "rise"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
billboard_typestringआवश्यकBillboard type
end_datestringSnapshot end time
keywordstringHot search term
snapshot_timestringSnapshot time
start_datestringSnapshot start time
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
[
{
"data": {
"code": 0,
"data": [
{
"label": "美食",
"num": 120,
"value": [
9000
]
},
{
"label": "旅行",
"num": 434,
"value": [
10000
]
},
{
"label": "站内玩法",
"num": 426,
"value": [
1004,
1000,
1002,
"… 2 more items in the full response"
]
},
"… 20 more items in the full response"
],
"extra": {
"now": 1790689544000
},
"message": ""
}
}
]और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Douyin | $0.001 प्रति कॉल | JSON |
Douyin | $0.001 प्रति कॉल | JSON |
Douyin | $0.001 प्रति कॉल | JSON |
Douyin | $0.001 प्रति कॉल | JSON |
Douyin | $0.001 प्रति कॉल | JSON |
Douyin | $0.001 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/douyin/billboard/hot-category-list पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.001 प्रति call। हर organization को प्रति UTC day 100 निःशुल्क calls मिलती हैं, जो इस सहित योग्य SandBase APIs के बीच साझा होती हैं; उसके बाद हर call का बिल आपकी SandBase balance से इस कीमत पर लिया जाता है। कोई subscription नहीं है।
आवश्यक: billboard_type (string)। वैकल्पिक: end_date (string), keyword (string), snapshot_time (string) और start_date (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Douyin Billboard Hot Category List SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Douyin API access के लिए आवेदन करने की आवश्यकता नहीं है।