Douyin
Douyin Video Comments API
Top-level comments on a video. Costs 1 credit per request.
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_idstringrequiredVideo id.
cursorintegerPagination cursor from a previous response. Omit for the first page.
countintegerItems to return per page. 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
}