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/kol-touch-distribution-v1Returns touch distribution data for a Douyin Xingtu creator using their unique KOL identifier. Helps evaluate audience contact points and reach patterns.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
Returns touch distribution data for a Douyin Xingtu creator. You send the creator's kolId and get back a list of touch categories with a count for each one.
cnt values of touch categories across several creators.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu/kol-touch-distribution-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": ""
},
"video_touch": [
{
"distribution_data": {
"cnt": 2,
"id": "0",
"name": "个人"
},
"second_distribution": []
}
]
}
| Field | Meaning |
|---|---|
base_resp.status_code / base_resp.status_message | Status of the call. status_code is 0 in the sample response and status_message is empty. |
video_touch[] | List of touch groups for the creator's videos. Each item holds one category and its sub-breakdown. |
video_touch[].distribution_data.name | Name of the touch category. The sample value is 个人. |
video_touch[].distribution_data.id | ID of the touch category, returned as a string. The sample value is 0. |
video_touch[].distribution_data.cnt | Count for the touch category. The sample value is 2. |
video_touch[].second_distribution[] | Second-level breakdown of the category. It is an empty list in the sample response. |
kolId from Douyin XingTu KOL ID by User ID, Douyin XingTu kolId Lookup or Douyin XingTu KOL ID by Unique ID.kolId is a numeric string such as 7048929565493690398.second_distribution can be an empty list, so check its length before you read items from it.$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/kol-touch-distribution-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.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
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/kol-touch-distribution-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 KOL Touch Distribution 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.