Songs

Get list of video snapshots

get

Get a list of video snapshots by the ID. The ID can be "av" + number, or "BV" + a 12-digit alphanumeric string, or an integer as the av number in bilibili.

Path parameters
idstringRequired

The ID of the video (e.g. av78977256, BV1KJ411C7CW, 78977256)

Query parameters
psinteger · min: 1Optional

The number of snapshots returned per page (pageSize), the default is 1000.

Default: 1000
pninteger · min: 1Optional

The page number, used for pagination. Only one of offset and pn can be specified.

offsetinteger · min: 1Optional

The offset for offset-based queries. Only one of offset and pn can be specified.

reversebooleanOptional

Reverse snapshots from old to new if set to true. Default is false.

Responses
200
Successfuly retrieved snapshots
application/json
get
GET /video/{id}/snapshots HTTP/1.1
Host: api.projectcvsa.com
Accept: */*
[
  {
    "id": 1,
    "aid": 1,
    "views": 1,
    "coins": 1,
    "likes": 1,
    "favorites": 1,
    "shares": 1,
    "danmakus": 1,
    "replies": 1
  }
]

Last updated

Was this helpful?