抖音
抖音视频评论 API
获取视频下的一级评论。每次请求消耗 1 积分。
POST/api/v1/douyin/video/comments
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/jsonaweme_idstringrequired视频 id。
cursorinteger上一次响应返回的分页游标 (cursor)。请求第一页时省略。
countinteger每页返回的条数,1-50。
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
result = client.douyin.request("/api/v1/douyin/video/comments", {"aweme_id": "..."})
print(result)Response
"cursor": 5,
"total": 544933,
"has_more": true
},
"response_time": 6669
}