countinteger
Number, default is 20, it is recommended to keep it unchanged.
Padrão: 20
https://api.sandbase.ai/v1/api/douyin/web/user-fans-listReturns a list of followers for a specified Douyin user account. Supports result pagination via timestamp parameters and custom page counts.
[
{
"data": {
"followers": null,
"log_pb": {
"impr_id": "2026082017430894F8C082C2969380A122"
},
"status_code": 8,
"status_msg": "用户未登录"
}
}
]Selecione um exemplo para carregar as entradas e o resultado no playground.
Returns a page of followers for a Douyin account. Each follower is a user profile object with avatar images and post count. The input is the account's sec_user_id.
total follower count of several creators during influencer research.aweme_count.curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/user-fans-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
count | integer | No | Number, default is 20, it is recommended to keep it unchanged. |
max_time | string | No | Maximum timestamp, default is 0, get from the returned data later, used for paging. |
sec_user_id | string | No | User sec_user_id |
source_type | integer | No | Source type, default is 1, use 2 as the source type for the first request, and then use 1 as the source type for the subsequent request. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"all_fans_group_title": "全部关注他(她)的人",
"display_fans_score_info": true,
"extra": {
"fatal_item_ids": [],
"logid": "20261103153231977D6BDD71CAD9F35C83",
"now": 1793691151000
},
"followers": [
{
"accept_private_policy": false,
"account_cert_info": null,
"account_region": "",
"account_type": null,
"activity": null,
"activity_label": null,
"ad_cover_title": null,
"ad_cover_url": null,
"ad_order_id": null,
"age_gate_action": null,
"age_gate_post_action": null,
"age_gate_time": null
}
],
"group_types": null,
"has_more": true,
"hotsoon_has_more": 0,
"hotsoon_text": "",
"log_pb": {
"impr_id": "20261103153231977D6BDD71CAD9F35C83"
},
"max_time": 1792839294,
"min_time": 1780926925,
"mix_count": 127
}
| Field | Meaning |
|---|---|
followers[] | List of follower profiles for the requested account. Each item is one user. |
followers[].aweme_count | Number of videos the follower has posted. |
followers[].avatar_thumb / avatar_168x168 / avatar_300x300 / avatar_medium / avatar_larger | Avatar images in different sizes. Each has a uri, width, height and a url_list of image links. |
followers[].aweme_control | Flags such as can_comment, can_forward and can_share for the follower's videos. |
total | Total number of followers of the requested account. |
has_more | true when more followers are available on a next page. |
max_time / min_time | Timestamps of the page boundaries. Use max_time for the next request's max_time parameter. |
status_code | Status of the call. 0 in the sample response. |
extra.logid / log_pb.impr_id | Request identifiers returned with the response. |
sec_user_id from a user profile link with Douyin sec_user_id from URL.source_type to 2. For later pages, set it to 1.has_more is true, then send the returned max_time value as the max_time parameter.min_time and max_time as Unix-style second values, such as 1792839294.$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/web/user-fans-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"count": 20,
"max_time": "0",
"sec_user_id": "MS4wLjABAAAA9y04iBlVdeMQqTJbqsQZKb-tqWqWW29jPVJqideHT70",
"source_type": 1
}'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.
countintegerNumber, default is 20, it is recommended to keep it unchanged.
Padrão: 20
max_timestringMaximum timestamp, default is 0, get from the returned data later, used for paging.
Padrão: "0"
sec_user_idstringUser sec_user_id
Padrão: "MS4wLjABAAAA9y04iBlVdeMQqTJbqsQZKb-tqWqWW29jPVJqideHT70"
source_typeintegerSource type, default is `1`, use `2` as the source type for the first request, and then use `1` as the source type for the subsequent request.
Padrão: 1
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
[
{
"data": {
"followers": null,
"log_pb": {
"impr_id": "2026082017430894F8C082C2969380A122"
},
"status_code": 8,
"status_msg": "用户未登录"
}
}
]Explorar mais
| API | Preço | Resposta |
|---|---|---|
Douyin Web User Fans ListEsta API 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.03 por chamada | JSON |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/douyin/web/user-fans-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. Cada organização recebe 100 chamadas grátis por dia UTC, compartilhadas entre as APIs elegíveis da SandBase, incluindo esta; depois disso, cada chamada é cobrada nesse valor do seu saldo SandBase. Não há assinatura.
Nenhum parâmetro é obrigatório. Opcionais: count (integer), max_time (string), sec_user_id (string) e source_type (integer). 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 Web User Fans List 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.