kolIdstringobrigatório
User kolId, can be obtained from the following interfaces: `douyin/xingtu/xingtu-kolid-by-uid`; `douyin/xingtu/xingtu-kolid-by-sec-user-id`; `douyin/xingtu/xingtu-kolid-by-unique-id`
https://api.sandbase.ai/v1/api/douyin/xingtu/author-content-hot-comment-keywords-v1Returns hot comment keywords from content produced by a Douyin Xingtu creator. Queries data using the creator's KOL identifier.
[
{
"data": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"keyword_item_distribution": {
"25岁": 4,
"女人": 4,
"维c": 4,
"胶原蛋白肽": 4,
"虾青素": 4
},
"keyword_map": {
"25岁": 4,
"女人": 4,
"女王": 4,
"维c": 12,
"胶原蛋白肽": 4,
"虾青素": 8
}
}
}
]Selecione um exemplo para carregar as entradas e o resultado no playground.
Returns hot comment keywords from the content of a Douyin Xingtu creator. It needs one input, the creator's kolId.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu/author-content-hot-comment-keywords-v1" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"kolId": "7048929565493690398"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
kolId | string | Yes | User kolId, can be obtained from the following interfaces: douyin/xingtu/xingtu-kolid-by-uid; douyin/xingtu/xingtu-kolid-by-sec-user-id; douyin/xingtu/xingtu-kolid-by-unique-id |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"base_resp": {
"status_code": 0,
"status_message": ""
},
"keyword_item_distribution": {
"25岁": 4,
"女人": 4,
"维c": 4,
"胶原蛋白肽": 4,
"虾青素": 4
},
"keyword_map": {
"25岁": 4,
"女人": 4,
"女王": 4,
"维c": 12,
"胶原蛋白肽": 4,
"虾青素": 8
}
}
| Field | Meaning |
|---|---|
keyword_map | Object that maps each hot comment keyword to a number. The keyword is the key and the number is the value. |
keyword_item_distribution | Object with the same shape as keyword_map: keyword as key, number as value. It holds a smaller set of keywords, and the numbers can differ from those in keyword_map. |
base_resp.status_code | Status code of the response. 0 means the call succeeded. |
base_resp.status_message | Status text of the response. It is an empty string when the call succeeds. |
kolId from Douyin XingTu KOL ID by User ID, Douyin XingTu kolId Lookup, or the lookup by unique ID.$0.02 per successful call. Failed calls are not charged.
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/xingtu/author-content-hot-comment-keywords-v1" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"kolId": "7048929565493690398"
}'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.
kolIdstringobrigatórioUser kolId, can be obtained from the following interfaces: `douyin/xingtu/xingtu-kolid-by-uid`; `douyin/xingtu/xingtu-kolid-by-sec-user-id`; `douyin/xingtu/xingtu-kolid-by-unique-id`
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
[
{
"data": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"keyword_item_distribution": {
"25岁": 4,
"女人": 4,
"维c": 4,
"胶原蛋白肽": 4,
"虾青素": 4
},
"keyword_map": {
"25岁": 4,
"女人": 4,
"女王": 4,
"维c": 12,
"胶原蛋白肽": 4,
"虾青素": 8
}
}
}
]Explorar mais
| API | Preço | Resposta |
|---|---|---|
Douyin | $0.02 por chamada | JSON |
Douyin | $0.02 por chamada | JSON |
Douyin | $0.02 por chamada | JSON |
Douyin | $0.02 por chamada | JSON |
Douyin | $0.02 por chamada | JSON |
Douyin | $0.02 por chamada | JSON |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/douyin/xingtu/author-content-hot-comment-keywords-v1 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.02 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: kolId (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 Xingtu Author Hot Comment Keywords 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.