Douyin-Web-API

获取用户喜欢作品数据/Get user like video data

Changed on

[中文]

用途:

  • 获取用户喜欢作品数据

参数:

  • sec_user_id: 用户sec_user_id
  • max_cursor: 最大游标
  • counts: 每页数量
  • cookie: 可选,本人有效的抖音网页版登录Cookie。不传时以游客身份访问;游客无法继续翻页时,可传入Cookie后使用返回的max_cursor继续请求。

返回:

  • 用户作品数据

[English]

Purpose:

  • Get user like video data

Parameters:

  • sec_user_id: User sec_user_id
  • max_cursor: Maximum cursor
  • counts: Number per page
  • cookie: Optional, your valid Douyin web login Cookie. Omit for guest access. If guest access cannot load further pages, provide your Cookie and continue with the returned max_cursor.

Return:

  • User video data

[示例/Example]

sec_user_id = "USER_SEC_ID" max_cursor = 0 counts = 20 cookie = "YOUR_COOKIE"

post/api/v1/douyin/web/fetch_user_like_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

sec_user_idstring required

用户sec_user_id/User sec_user_id

max_cursorinteger

最大游标/Maximum cursor

countsinteger

每页数量/Number per page

cookiestring nullable

可选:本人有效的抖音网页版登录Cookie;提供后使用该登录身份访问,不传则以游客身份访问/Optional: your valid Douyin web login Cookie; uses that signed-in identity when provided, otherwise guest access

Example request

{
  "sec_user_id": "USER_SEC_ID",
  "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

    • info

      request property list-of-types was widened by adding types null to media type application/json

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status