Douyin-Web-API
批量获取作品播放量/Batch get the play counts of videos
Changed on[中文]
用途:
- 批量获取作品的公开播放量,无需 Cookie,单个作品失败不影响其他结果。
参数:
- aweme_ids: 作品id列表,用逗号分隔,例如: "123,456,789",最多20个,重复id会去重。
返回:
- total / success_count / failed_count: 总数 / 成功数量 / 失败数量
- videos: 作品列表,每项包含:
- aweme_id: 作品id
- success: 是否成功;为 false 时包含 error,可稍后重试
- is_available: 是否可获取播放量;作品不存在、已删除、私密,以及图文、实况作品均为 false
- play_count: 播放量(is_available 为 false 时为 0)
- digg_count: 点赞数
- publish_time: 发布时间戳(秒)
[English]
Purpose:
- Batch get the public play counts of videos, no Cookie required. A failed video does not affect the others.
Parameters:
- aweme_ids: Comma-separated video ids, e.g. "123,456,789", up to 20; duplicates are removed.
Return:
- total / success_count / failed_count: Total / succeeded / failed
- videos: List of results, each with:
- aweme_id: Video id
- success: Whether it succeeded; when false an error is included and it can be retried later
- is_available: Whether a play count is available; false for missing, deleted or private posts and for image / live-photo posts
- play_count: Play count (0 when is_available is false)
- digg_count: Like count
- publish_time: Publish timestamp in seconds
[示例/Example]
aweme_ids = "7512756548356492544,7695699449444816817"
get/api/v1/douyin/web/fetch_multi_video_play_count
Request
- Base URLhttps://api.tikhub.io (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Query parameters
aweme_idsstring required
作品id列表,逗号分隔,最多20个/Comma-separated video ids, up to 20
Response
Successful Response
Changes
- info
endpoint added
- info