获取用户主页作品数据/Get user homepage video data
Changed on[中文]
用途:
- 获取用户主页作品数据
- 注意:请尽量使用APP的接口而不是WEB的接口,因为WEB的接口可能会被不稳定。
参数:
- sec_user_id: 用户sec_user_id
- max_cursor: 翻页游标,第一次请求传0,然后每次请求传上一次请求返回的max_cursor进行翻页。
- count: 最大数量,建议不要超过20
- filter_type: 过滤类型,可选参数如下:
- 0: 默认排序
- 3: 热度排序
- cookie: 用户网页版抖音Cookie(此接口可以接受用户提供自己的Cookie)
返回:
- 用户作品数据
[English]
Purpose:
- Get user homepage video data
- Note: Please try to use the APP interface instead of the WEB API, because the WEB API may be unstable.
Parameters:
- sec_user_id: User sec_user_id
- max_cursor: Paging cursor, pass 0 for the first request, and then pass the max_cursor returned by the previous request for paging each time.
- count: Maximum count number, it is recommended not to exceed 20
- filter_type: Filter type, optional parameters are as follows:
- 0: Default sorting
- 3: Sort by popularity
- cookie: User's web version of Douyin Cookie (This interface can accept users to provide their own Cookie)
Return:
- User video data
[示例/Example]
sec_user_id = "MS4wLjABAAAANXSltcLCzDGmdNFI2Q_QixVTr67NiYzjKOIP5s03CAE" max_cursor = "0" counts = 20 filter_type = "0"
Request
- Base URLhttps://api.tikhub.io (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Query parameters
用户sec_user_id/User sec_user_id
最大游标/Maximum cursor
每页数量/Number per page
过滤类型/Filter type
用户网页版抖音Cookie/Your web version of Douyin Cookie
Response
Successful Response
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- info
the
response's property default value changed fromThis request will be cached. You can access the cached result directly using the URL belowvalid for 24 hours. Accessing the cache will not incur additional charges.toThis response is cached and accessible via the URL below for 24 hours at no extra cost. The cache is for request tracing only — it doesn't affect the API's data freshness and won't be returned through the API again.for the status - info
the
response's property default value changed from本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。to本次响应已缓存,可通过下方 URL 直接查看,有效期 24 小时,访问缓存链接无额外费用。缓存仅用于请求溯源,不影响接口数据的时效性,也不会再次通过接口返回。for the status
- info