抖音
抖音用户粉丝 API
获取用户的粉丝列表。每次请求消耗 1 积分。
POST/api/v1/douyin/user/followers
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonsec_user_idstringrequired用户的 sec_user_id,即抖音内部使用的稳定 id。
max_timestring上一次响应返回的分页时间戳
countinteger每页返回的条数,1-50。
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
result = client.douyin.request("/api/v1/douyin/user/followers", {"sec_user_id": "..."})
print(result)Response
"max_time": "1787429453",
"has_more": true
},
"response_time": 1045
}