aweme_idstring必須
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": ""
}
}
]例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。
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.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
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"
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
aweme_idstring必須Work id
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
[
{
"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": ""
}
}
]さらに探索
| 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 |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/douyin/billboard/hot-comment-word-list に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.001、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須: aweme_id (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。Douyin Work Hot Comment Word Cloud は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Douyin の API アクセスを別途申請する必要はありません。