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"
]
}
}
]प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
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.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
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 को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
app_namestringPlatform, aweme=Douyin, toutiao=Toutiao
डिफ़ॉल्ट: "aweme"
संभावित मान: aweme, toutiao
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
[
{
"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 | $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/index/hot-words पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
कोई parameters आवश्यक नहीं हैं। वैकल्पिक: app_name (aweme, toutiao में से एक)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Douyin Hot Search Keywords SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Douyin API access के लिए आवेदन करने की आवश्यकता नहीं है।