oAuthorIdstringobrigatório
Author's unique ID.
https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-fans-distributionGet Douyin Creator Marketplace (Xingtu) follower or loyal-follower distribution data for a specified creator. Use it to compare audience-profile distributions during creator selection.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
This API returns follower distribution data for one creator on Douyin Creator Marketplace (Xingtu). It needs the creator's oAuthorId, and an optional authorType switches between all followers and loyal followers.
DIE_HARD_FAN) against all followers to see how the core audience differs.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-fans-distribution" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"oAuthorId": "6870161898013196295"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
oAuthorId | string | Yes | Author's unique ID. |
authorType | string | No | Author type filter. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"base_resp": {
"status_code": 0,
"status_message": ""
},
"distributions": [
{
"description": "分布最多的3个省份广东(11%),江苏(7%),山东(6%)",
"distribution_list": [
{
"distribution_key": "广西",
"distribution_value": "4619384"
}
],
"image": [
"广东,江苏,山东居多"
],
"origin_type": 2,
"type": 4,
"type_display": "省份分布"
}
],
"last_update_time": "1793691175"
}
| Field | Meaning |
|---|---|
distributions[] | One block per audience dimension. This response includes province, city and device brand blocks. |
distributions[].type_display | Name of the dimension, for example 省份分布 (province), 城市分布 (city) or 设备品牌分布 (device brand). |
distributions[].description | Short summary text written by the platform. It names the top entries and their percentages, for example the top 3 provinces. |
distributions[].distribution_list[].distribution_key | Label of one bucket in the dimension, such as a province, city or phone brand. |
distributions[].distribution_list[].distribution_value | Value for that bucket, returned as a string. It looks like a count, not a percentage, so compare it with the other buckets in the same block. |
distributions[].image[] | Very short tag text that sums up the block, for example 北京居多. |
distributions[].type / origin_type | Numeric codes for the dimension. Use them to match the same dimension across calls. |
last_update_time | Unix timestamp in seconds, returned as a string. |
base_resp.status_code / base_resp.status_message | Call status from the platform. 0 with an empty message means success. |
authorType as FAN (default) or DIE_HARD_FAN to switch between followers and loyal followers.description, image and type_display is in Chinese.$0.021429 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-v3/data-sp-author-fans-distribution" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"oAuthorId": "6870161898013196295",
"authorType": "FAN"
}'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.
oAuthorIdstringobrigatórioAuthor's unique ID.
authorTypestringAuthor type filter.
Padrão: "FAN"
Valores possíveis: FAN, DIE_HARD_FAN
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.021429 por chamada | JSON |
Douyin | $0.021429 por chamada | JSON |
Douyin | $0.021429 por chamada | JSON |
Douyin | $0.021429 por chamada | JSON |
Douyin | $0.071429 por chamada | JSON |
Douyin | $0.021429 por chamada | JSON |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-fans-distribution 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.021429 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: oAuthorId (string). Opcionais: authorType (um de FAN, DIE_HARD_FAN). 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 Follower 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.