aweme_idstringobrigatório
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": ""
}
}
]Selecione um exemplo para carregar as entradas e o resultado no 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.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
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"
}'Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
aweme_idstringobrigatórioWork id
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
[
{
"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": ""
}
}
]Explorar mais
| API | Preço | Resposta |
|---|---|---|
Douyin | $0.001 por chamada | JSON |
Douyin | $0.001 por chamada | JSON |
Douyin | $0.001 por chamada | JSON |
Douyin | $0.001 por chamada | JSON |
Douyin | $0.001 por chamada | JSON |
Douyin | $0.001 por chamada | JSON |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/douyin/billboard/hot-comment-word-list com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
$0.001 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: aweme_id (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.
Não. Douyin Work Hot Comment Word Cloud funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Douyin separadamente.