sec_uidstringआवश्यक
User sec_id
https://api.sandbase.ai/v1/api/douyin/billboard/hot-account-fans-interest-topic-listReturns the top ten topics that an account's followers were interested in over the last three days based on a specified user ID.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Returns up to ten topics (hashtags) that followers of a Douyin account were interested in over the last three days. It needs one input, the account's sec_uid.
sec_uid.trends values.curl -X POST "https://api.sandbase.ai/v1/api/douyin/billboard/hot-account-fans-interest-topic-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"sec_uid": "MS4wLjABAAAAr52fXcfmzqOZJM_smap9Uuxtm16h8BupkCVaCt89BENq3E91mHCvtz5Z5TkXPHq_"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
sec_uid | string | Yes | User sec_id |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": [
{
"challenge_base_info": {
"avg_play_cnt": 126318,
"challenge_id": "1609320153042948",
"challenge_name": "theshy",
"challenge_type": 1,
"cover_url": "https://p26-sign.douyinpic.com/aweme/200x200/image-cut-tos/a612fcb74474ed514f978…",
"create_time": 1534767297,
"fancy_qrcode": "https://p11-sign.douyinpic.com/aweme-qrcode/SEWOcX7703835840601917194~c5_200x200…",
"play_cnt": 60937251819
},
"challenge_data": {
"challenge_id": 1609320153042948,
"comment_cnt": 97727,
"hot_score": 1169147,
"like_cnt": 897683,
"plav_avg": 3538.751681000782,
"play_cnt": 67890951,
"publish_cnt": 19185
},
"trends": [
{
"datetime": 1785686400,
"value": 878729
}
]
}
],
"extra": {
"now": 1793691105000
},
"message": ""
}
| Field | Meaning |
|---|---|
data[].challenge_base_info.challenge_name | Name of the topic or hashtag. |
data[].challenge_base_info.challenge_id | ID of the topic, returned as a string. |
data[].challenge_base_info.play_cnt / data[].challenge_base_info.avg_play_cnt | Play count figures for the topic. play_cnt is the larger total and avg_play_cnt is a per-item average. |
data[].challenge_base_info.challenge_type | Numeric type code of the topic. Values seen are 0, 1 and 2. The response does not explain what each code means. |
data[].challenge_base_info.create_time | Unix timestamp in seconds for when the topic was created. |
data[].challenge_base_info.cover_url / data[].challenge_base_info.fancy_qrcode | Links to the topic cover image and a QR code image. |
data[].challenge_data.hot_score | Heat score for the topic. It is 0 when no recent data is returned for that topic. |
data[].challenge_data.publish_cnt / play_cnt / like_cnt / comment_cnt | Recent activity counts for the topic: videos published, plays, likes and comments. All are 0 when no recent data is returned. |
data[].trends[].datetime / data[].trends[].value | One point per day in the topic trend. datetime is a Unix timestamp in seconds. The list is empty for some topics. |
sec_uid as a string. Use the same account ID format shown in the example, which starts with MS4w.data list has no pagination parameters. The request takes only sec_uid.0 in every challenge_data field and an empty trends list. Use challenge_base_info for those topics.$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-account-fans-interest-topic-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"sec_uid": "MS4wLjABAAAAr52fXcfmzqOZJM_smap9Uuxtm16h8BupkCVaCt89BENq3E91mHCvtz5Z5TkXPHq_"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
sec_uidstringआवश्यकUser sec_id
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| 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-account-fans-interest-topic-list पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: sec_uid (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Douyin Account Fan Interest Topics SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Douyin API access के लिए आवेदन करने की आवश्यकता नहीं है।