Douyin-Web-API

获取用户收藏夹作品(自带Cookie)/Get collection videos with your Cookie

Changed on

[中文]

用途:

  • 获取本人收藏夹内的作品列表,所有参数通过 JSON 请求体传入。

参数:

  • collects_id: 收藏夹 ID,可从 /api/v1/douyin/web/fetch_user_collects 的返回结果获取。
  • cookie: 收藏夹所属账号的抖音网页版登录 Cookie,必填。
  • max_cursor: 首次请求传 0;翻页时传上次返回的 cursor。
  • counts: 每页数量,默认 20。

返回:

  • 作品列表 aweme_list、分页游标 cursor 和是否有下一页 has_more。

[English]

Purpose:

  • Retrieve videos in your own collection. Send all parameters in a JSON request body.

Parameters:

  • collects_id: Collection ID returned by /api/v1/douyin/web/fetch_user_collects.
  • cookie: Required web Douyin login Cookie of the collection owner.
  • max_cursor: Use 0 for the first page and the returned cursor for the next page.
  • counts: Number per page, defaults to 20.

Return:

  • Video list aweme_list, pagination cursor, and has_more.

[示例/Example]

{
    "collects_id": "",
    "cookie": "YOUR_COOKIE",
    "max_cursor": 0,
    "counts": 20
}
post/api/v1/douyin/web/fetch_user_collects_videos

Request

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

Request body

collects_idstring required

收藏夹id/Collection id

max_cursorinteger

最大游标/Maximum cursor

countsinteger

每页数量/Number per page

cookiestring required

收藏夹所属账号的抖音网页版登录Cookie/Web Douyin login Cookie of the collection owner

Example request

{
  "counts": 20,
  "cookie": "YOUR_COOKIE"
}

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