企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
## 接口定义 ~~~[api] get:http://open.koldata.net/douyin/subscribe/videos *int:tiktok_uid=104255897823#抖音账号uid string:from=yyyy-mm-dd hh:mm:ss#开始时间 string:to=yyyy-mm-dd hh:mm:ss#结束时间 int:page=1#页码;默认值为1 int:page_size=10#页大小,可选值10,20;默认值为10 int:sort_by=0#按发布时间排序 1升序 0降序;默认值为0 <<< success { "status": 1, "err": "成功", "data": { "0": { "video_id": "cfad7434701f48ca65ebb05e9761d78d", "video_content": "67年前的志愿军“表情包”家书看到泪目…温暖的哥哥没能实现对妹妹的承诺,牺牲在抗美援朝战场。致敬英雄!", "video_url": "https://www.iesdouyin.com/share/video/6887874287076756750/?mid=6887874426361481991", "video_smallpic": "https://p29-dy.byteimg.com/img/tos-cn-i-0813/a9eecc831dcc4a30b8d259204852a4d8~tplv-dmt-logom:tos-cn-i-0813/02e5adc521694a51a40d991b6014e610.image?from=2563711402_large", "video_like": 18661, "video_forward": 37, "video_comment": 162, "pub_time": "2020-10-26 18:30:32", "update_time": "2020-10-26 19:00:49", "author_name": "人民日报", "author_id": "rmrbxmt", "author_uid": 104255897823, "author_url": "https://www.iesdouyin.com/share/user/104255897823/?sec_uid=MS4wLjABAAAA8U_l6rBzmy7bcy6xOJel4v0RzoR_wfAubGPeJimN__4", "author_isverified": "已验证", "author_verified": "人民日报官方账号", "author_city": "北京北京", "author_head": "", "author_gender": "未设置", "author_description": "参与、沟通、记录时代。", "author_follower": 19, "author_fans": 115134000, "author_like": 1112827000, "author_works": 2397, "video_bgm_name": "@人民日报创作的原声", "video_bgm_url": "", "video_download_url": "https://aweme.snssdk.com/aweme/v1/playwm/?video_id=v0200fa50000bubaa420j24d8pvpmhq0&line=0" }, "total": 1, "from": 1, "total_page": 1, "page_size": 1 }, "request_id": "ILbtyzopYygULS3nZCCDWvAH097c2e4ca8d7a6113a3d72f1b066a21f" } <<< error { "status": 0, "err": "日期区间错误", "data": [], "request_id": "DCKQqa9CCNctk1rxYuxmimQEbf8ab7e9d52e792c1e783d2667955627" } ~~~ ## 响应参数说明 | 字段 | 说明 |类型| 备注 | |---|---|---|---| | status | 请求获取数据成功/失败 |int |1=成功;0=失败 | | err | 错误信息 | string | | data | 返回数据 | array| | | [data].video_id | 视频id | string | | [data].video_content | 简介 |string | | [data].video_url | 视频链接 |string | | [data].video_smallpic | 视频缩略图链接 | string | | [data].video_like | 点赞数 | int | | [data].video_forward | 转发数 | int | | [data].video_comment | 评论数 | string | | [data].pub_time | 发布时间 | string | | [data].update_time | 更新时间 | string | | [data].author_name | 抖音账号名称 | string | | [data].author_id | 抖音自定义id | string | | [data].author_uid | 抖音uid | int | | [data].author_url | 主页链接 | string | | [data].author_isverified | 是否认证 | string | 已认证,未认证| | [data].author_verified | 认证信息 | string | | [data].author_city | 城市 | string | | [data].author_head | 头像链接 | string | | [data].author_gender | 性别| string | 未设置,男, 女 | | [data].author_description | 账号简介 | string | | [data].author_follower | 关注数 | int | | [data].author_fans | 粉丝数 | int | | [data].author_like | 获赞数 | int | | [data].author_works | 作品数 | int | | [data].video_bgm_name | 背景音乐名称 | tring | | [data].video_bgm_url | 背景音乐地址 | string | | [data].video_download_url | 视频下载地址 | string | | total | 账号总个数 | int | | from | 数据开始行 | int | | total_page | 总页数 | int | page_size | 当前页面条数 | int | ## 接口访问限制及注意事项 1.权限:需认证; 2.频率:每分钟100次,超频将限制访问3分钟; 3.视频详情:从发文时间起,只更新一次数据 4.只能获取添加订阅后的第二天之后的视频数据 5.第二天的14:00可获取前一天的数据