aweme_idstringwajib
Work id
https://api.sandbase.ai/v1/api/douyin/billboard/hot-comment-word-listReturns word cloud analysis data and keyword weights extracted from comments on a Douyin video. Input a target video identifier to analyze audience feedback topics.
[
{
"data": {
"code": 0,
"data": [
{
"related_comment": null,
"value": 61,
"word_seg": "宝宝"
},
{
"related_comment": null,
"value": 27,
"word_seg": "吱声"
},
{
"related_comment": null,
"value": 17,
"word_seg": "评论"
},
"… 77 more items in the full response"
],
"extra": {
"now": 1791290507000
},
"message": ""
}
}
]Pilih contoh untuk memuat input dan hasilnya ke playground.
Returns a list of keywords taken from the comments on one Douyin video, each with a weight. It needs one input, the video's aweme_id.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/billboard/hot-comment-word-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"aweme_id": "7372484719365098803"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
aweme_id | string | Yes | Work id |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": [
{
"related_comment": null,
"value": 46,
"word_seg": "宝宝"
}
],
"extra": {
"now": 1793691108000
},
"message": ""
}
| Field | Meaning |
|---|---|
code | Status code of the response. 0 appears in a normal response. |
data[] | One entry per keyword found in the comments. |
data[].word_seg | The keyword text, taken from the comments. |
data[].value | The weight of the keyword. A higher number means the word counts for more in the word cloud. |
data[].related_comment | Comments linked to the keyword. It is null in the sample response. |
extra.now | A 13-digit number that looks like a timestamp in milliseconds. It is likely the time of the response. |
message | Text message from the response. It is an empty string in the sample. |
aweme_id, for example 7372484719365098803. Send it as a string.data list.data[].value to size words in a word cloud or to sort keywords.$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-comment-word-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"aweme_id": "7372484719365098803"
}'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.
aweme_idstringwajibWork id
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
[
{
"data": {
"code": 0,
"data": [
{
"related_comment": null,
"value": 61,
"word_seg": "宝宝"
},
{
"related_comment": null,
"value": 27,
"word_seg": "吱声"
},
{
"related_comment": null,
"value": 17,
"word_seg": "评论"
},
"… 77 more items in the full response"
],
"extra": {
"now": 1791290507000
},
"message": ""
}
}
]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-comment-word-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: aweme_id (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 Work Hot Comment Word Cloud 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.