获取探索作品数据/Get explore video data
Changed on[中文]
用途:
- 获取探索作品数据
参数:
- categoryType: 作品分类
- 100: 动画与漫画
- 101: 表演
- 102: 美容护理
- 103: 游戏
- 104: 喜剧
- 105: 日常生活
- 106: 家庭
- 107: 情感关系
- 108: 戏剧
- 109: 穿搭
- 110: 对口型
- 111: 美食
- 112: 运动
- 113: 动物
- 114: 社会
- 115: 汽车
- 116: 教育
- 117: 健身和健康
- 118: 科技
- 119: 唱歌跳舞
- 120: 全部
- count: 每页数量
返回:
- 作品数据
备注:
- 此接口返回的视频CDN直链需要携带返回的 tt_chain_token 才能访问,否则会返回 HTTP 403。
- 访问视频CDN直链时,请在请求头中携带 Cookie: tt_chain_token={tt_chain_token},其中 {tt_chain_token} 替换为接口返回的值。
- 如果视频CDN直链仍返回 HTTP 403:
- 请改用响应中以 https://www.tiktok.com/aweme/v1/play/ 开头的视频链接(位于 video 下各 UrlList 中)
- 请求该链接时不要携带任何 Cookie,携带 tt_chain_token 会导致 HTTP 403
- 如果需要无需任何 Cookie 即可直接访问的无水印视频链接,请使用 /fetch_post_detail 或 TikTok APP V3 目录下的接口。
[English]
Purpose:
- Get explore video data
Parameters:
- categoryType: Video category
- 100: Animation and comics
- 101: Performance
- 102: Beauty care
- 103: Game
- 104: Comedy
- 105: Daily life
- 106: Family
- 107: Emotional relationship
- 108: Drama
- 109: Dress up
- 110: Dubbing
- 111: Food
- 112: Sports
- 113: Animals
- 114: Society
- 115: Car
- 116: Education
- 117: Fitness and health
- 118: Technology
- 119: Singing and dancing
- 120: All
- count: Number per page
Return:
- Video data
Note:
- The direct video CDN links returned by this interface require the returned tt_chain_token to be accessed, otherwise HTTP 403 will be returned.
- When accessing a direct video CDN link, carry Cookie: tt_chain_token={tt_chain_token} in the request header, where {tt_chain_token} is the value returned by this interface.
- If a direct video CDN link still returns HTTP 403:
- Use the video link starting with https://www.tiktok.com/aweme/v1/play/ from the response instead (found in the UrlList fields under video)
- Send that link without any Cookie - carrying tt_chain_token will cause HTTP 403
- If you need watermark-free video links that require no Cookie at all, use /fetch_post_detail or the interfaces under the TikTok APP V3 directory.
[示例/Example]
categoryType = "120" count = 16
Request
- Base URLhttps://api.tikhub.io (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Query parameters
作品分类/Video category
每页数量/Number per page
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