sec_uidstringwajib
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.
Output Anda akan muncul di sini
Lengkapi input, lalu klik 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.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
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_"
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
sec_uidstringwajibUser sec_id
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
Belum ada respons tersimpan yang dipublikasikan. Jalankan API di Playground untuk melihat responsnya.
Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/douyin/billboard/hot-account-fans-interest-topic-list dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.001 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Wajib: sec_uid (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. Douyin Account Fan Interest Topics berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Douyin secara terpisah.