Douyin-Web-API

获取单个作品播放量/Get the play count of a video

Changed on

[中文]

用途:

  • 获取单个作品的公开播放量,无需 Cookie。

参数:

  • aweme_id: 作品id

返回:

  • aweme_id: 作品id
  • is_available: 是否可获取播放量;作品不存在、已删除、私密,以及图文、实况作品均为 false
  • play_count: 播放量(is_available 为 false 时为 0)
  • digg_count: 点赞数(is_available 为 false 时为 0)
  • publish_time: 发布时间戳(秒,is_available 为 false 时为 0)

[English]

Purpose:

  • Get the public play count of a single video, no Cookie required.

Parameters:

  • aweme_id: Video id

Return:

  • aweme_id: Video id
  • 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 (0 when is_available is false)
  • publish_time: Publish timestamp in seconds (0 when is_available is false)

[示例/Example]

aweme_id = "7512756548356492544"

get/api/v1/douyin/web/fetch_video_play_count

Request

  • Base URL
    https://api.tikhub.io (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Query parameters

aweme_idstring required

作品id/Video id

Response

Successful Response

codeinteger

HTTP status code | HTTP状态码

request_idstring nullable

Unique request identifier | 唯一请求标识符

messagestring

Response message (EN-US) | 响应消息 (English)

message_zhstring

Response message (ZH-CN) | 响应消息 (中文)

supportstring

Support message | 支持消息

timestring

The time the response was generated | 生成响应的时间

time_stampinteger

The timestamp the response was generated | 生成响应的时间戳

time_zonestring

The timezone of the response time | 响应时间的时区

docsstring nullable

Link to the API Swagger documentation for this endpoint | 此端点的 API Swagger 文档链接

cache_messagestring nullable

Cache message (EN-US) | 缓存消息 (English)

cache_message_zhstring nullable

Cache message (ZH-CN) | 缓存消息 (中文)

cache_urlstring nullable

The URL to access the cached result | 访问缓存结果的 URL

routerstring

The endpoint that generated this response | 生成此响应的端点

paramsunknown
dataunknown

Changes