欢迎大家加群讨论:地址:https://www.apiopen.top
为了方便各类开发者,现提供免费开放Api接口,所有接口均无使用限制,返回格式全是JSON,所以基本能满足大家的开发需求,但请各位不要将这些Api接入正式项目,因为有一些不稳定因素,目前服务器购买时长是三年,如果到期,我会自动续费,这些Api是我平时业余时间编写,可能有些不能满足需求的情况,请大家在留言区提出来,或者大家写Demo需要一些有关联的数据等等,都可以在留言区告诉我,我有时间一定会给大家处理。
目前接口列表:
- 新实时段子
https://api.apiopen.top/getJoke?page=1&count=2&type=video - 通过Id查段子
https://api.apiopen.top/getSingleJoke?sid=28654780 - 快递查询:
https://api.apiopen.top/EmailSearch?number=1012002 - 随机单句诗词推荐:
https://api.apiopen.top/singlePoetry - 随机一首诗词推荐:
https://api.apiopen.top/recommendPoetry - 搜索古诗词:
https://api.apiopen.top/searchPoetry?name=古风二首%20二 - 搜索古诗词作者:
https://api.apiopen.top/searchAuthors?name=李白 - 模糊搜索古诗词(可搜索诗词名、诗词内容、诗词作者):
https://api.apiopen.top/likePoetry?name=李白 - 获取宋朝古诗词:
https://api.apiopen.top/getSongPoetry?page=1&count=20 - 获取唐朝古诗词:
https://api.apiopen.top/getTangPoetry?page=1&count=20 - 音乐搜索接口:
https://api.apiopen.top/searchMusic?name=不要说话 - 音乐电台接口:
https://api.apiopen.top/musicBroadcasting - 音乐电台详情接口:
https://api.apiopen.top/musicBroadcastingDetails?channelname=public_tuijian_spring - 音乐详情接口:
https://api.apiopen.top/musicDetails?id=604392760 - 音乐排行榜接口:
https://api.apiopen.top/musicRankings - 音乐排行榜详情接口:
https://api.apiopen.top/musicRankingsDetails?type=1 - 每日视频推荐接口:
https://api.apiopen.top/todayVideo - 视频大纲获取接口:
https://api.apiopen.top/videoHomeTab - 视频分类推荐接口:
https://api.apiopen.top/videoCategory - 视频分类推荐接口:
https://api.apiopen.top/videoCategoryDetails?id=14 - 根据ID推荐接口:
https://api.apiopen.top/videoRecommend?id=127398 - 新闻接口:
https://www.apiopen.top/journalismApi - 随机推荐热门段子(包含文字、图片、GIF、视频):
https://www.apiopen.top/satinApi?type=1&page=1 - 随机推荐热门段子【神评版本】(包含文字、图片、GIF、视频):
https://www.apiopen.top/satinGodApi?type=1&page=1 - 随机推荐热门段子【神评版本】评论列表:
https://www.apiopen.top/satinCommentApi?id=27610708&page=1 - 热门小说推荐列表
https://www.apiopen.top/novelApi - 小说搜索接口
https://www.apiopen.top/novelSearchApi?name=盗墓笔记 - 小说详情接口
https://www.apiopen.top/novelInfoApi?name=盗墓笔记 - 天气获取接口
https://www.apiopen.top/weatherApi?city=成都 - 美图获取接口
https://www.apiopen.top/meituApi?page=1 - 个性网名获取接口
https://www.apiopen.top/femaleNameApi?page=1 - 创建应用接口
https://www.apiopen.top/createUserKey?appId=com.chat.peakchao&passwd=123456 - 增加统计信息接口
https://www.apiopen.top/addStatistics?appKey=00d91e8e0cca2b76f515926a36db68f5&type=点击统计&typeId=1&count=2 - 查询统计信息接口
https://www.apiopen.top/findStatistics?appKey=00d91e8e0cca2b76f515926a36db68f5 - 用户注册接口
https://www.apiopen.top/createUser?key=00d91e8e0cca2b76f515926a36db68f5&phone=13594347817&passwd=123654 - 用户登陆接口
https://www.apiopen.top/login?key=00d91e8e0cca2b76f515926a36db68f5&phone=13594347817&passwd=123456
2018-04-18 更新(已备案完成,可访问。):
应其他特殊需求,现正在进行域名备案,备案期间需要关闭服务器,待备案完成后方可访问,备案后,域名将允许在微信小程序或其他第三方领域使用。
2018-09-24 更新:
古诗词相关接口
- 快递查询:
https://api.apiopen.top/EmailSearch?number=1012002 - 随机单句诗词推荐:
https://api.apiopen.top/singlePoetry - 随机一首诗词推荐:
https://api.apiopen.top/recommendPoetry - 搜索古诗词:
https://api.apiopen.top/searchPoetry?name=古风二首%20二 - 搜索古诗词作者:
https://api.apiopen.top/searchAuthors?name=李白 - 模糊搜索古诗词(可搜索诗词名、诗词内容、诗词作者):
https://api.apiopen.top/likePoetry?name=李白 - 获取宋朝古诗词:
https://api.apiopen.top/getSongPoetry?page=1&count=20 - 获取唐朝古诗词:
https://api.apiopen.top/getTangPoetry?page=1&count=20
2018-09-23 更新:
视频/音乐相关接口
- 新实时段子
https://api.apiopen.top/getJoke?page=1&count=2&type=video - 通过Id查段子
https://api.apiopen.top/getSingleJoke?sid=28654780 - 音乐搜索接口:
https://api.apiopen.top/searchMusic?name=不要说话 - 音乐电台接口:
https://api.apiopen.top/musicBroadcasting - 音乐电台详情接口:
https://api.apiopen.top/musicBroadcastingDetails?channelname=public_tuijian_spring - 音乐详情接口:
https://api.apiopen.top/musicDetails?id=604392760 - 音乐排行榜接口:
https://api.apiopen.top/musicRankings - 音乐排行榜详情接口:
https://api.apiopen.top/musicRankingsDetails?type=1 - 每日视频推荐接口:
https://api.apiopen.top/todayVideo - 视频大纲获取接口:
https://api.apiopen.top/videoHomeTab - 视频分类推荐接口:
https://api.apiopen.top/videoCategory - 视频分类推荐接口:
https://api.apiopen.top/videoCategoryDetails?id=14 - 根据ID推荐接口:
https://api.apiopen.top/videoRecommend?id=127398
2018-07-13 更新:
新闻接口
https:
返回值:
{"code": 200,"msg": "成功!","data": { "tech": [ { "liveInfo": null, "tcount": 1, "picInfo": [ { "ref": null, "width": null, "url": "http://cms-bucket.nosdn.127.net/2018/07/13/96e750810c7c47c7b95d6ee112cb9ab4.png", "height": null } ], "docid": "DMJU4F9E00097U7R", "videoInfo": null, "channel": "tech", "link": "https://3g.163.com/all/article/DMJU4F9E00097U7R.html", "source": "网易科技报道", "title": "消息称滴滴考虑明年IPO 放慢融资计划", "type": "doc", "imgsrcFrom": null, "imgsrc3gtype": 1, "unlikeReason": "重复、旧闻/6,内容质量差/6", "digest": "网易科技讯7月13日消息,据香港媒体报道,消息人士透露,滴滴", "typeid": "", "addata": null, "tag": "", "category": "科技", "ptime": "2018-07-13 15:47:37" } ], "auto": [ { "liveInfo": null, "tcount": 514, "picInfo": [ { "ref": null, "width": null, "url": "http://cms-bucket.nosdn.127.net/2018/07/13/bcb246ac4558454d979b593138207f39.jpeg", "height": null } ], "docid": "DMIP77HO0008856R", "videoInfo": null, "channel": "auto", "link": "https://3g.163.com/all/article/DMIP77HO0008856R.html", "source": "网易汽车", "title": "尊贵到令人膨胀 这辆宾利慕尚情怀爆棚", "type": "doc", "imgsrcFrom": null, "imgsrc3gtype": 1, "unlikeReason": "重复、旧闻/6,内容质量差/6", "digest": "宾利汽车将于2019年迎来品牌成立100周年,为庆祝这一即将", "typeid": "", "addata": null, "tag": "", "category": "汽车", "ptime": "2018-07-13 05:02:30" } ] } }
2018-05-04 更新:
随机推荐热门段子【神评版本】评论列表
https:
接口传参说明:
- page=1:页码
- id=27610708:此id来自于神评列表的id
返回值:
{"code": 200,"msg": "成功!","data": { "author_uid": 19064947, "hot": { "info": { "count": 3 }, "list": [ { "content": "脚气闷到裆", "ctime": "2018-04-17T22:30:02", "data_id": 27610708, "hate_count": 0, "id": 479161, "like_count": 154, "precmts": [], "status": 0, "type": "text", "user": { "id": 21759605, "is_vip": false, "personal_page": "", "profile_image": "http://wimg.spriteapp.cn/p/jie.jpg", "qq_uid": "", "qzone_uid": "", "room_icon": "", "room_name": "", "room_role": "", "room_url": "", "sex": "m", "total_cmt_like_count": "255", "username": "风盖着吹", "weibo_uid": "" }, "vote": [] }, { "content": "中间开个口,嗯 很舒坦", "ctime": "2018-04-20T01:32:19", "data_id": 27610708, "hate_count": 2, "id": 685602, "like_count": 70, "precmts": [], "status": 0, "type": "text", "user": { "id": 22382795, "is_vip": false, "personal_page": "", "profile_image": "http://wimg.spriteapp.cn/profile/large/2018/04/20/5ad8d12442b3a_mini.jpg", "qq_uid": "", "qzone_uid": "", "room_icon": "", "room_name": "", "room_role": "", "room_url": "", "sex": "m", "total_cmt_like_count": "84", "username": "昵称审核未通过", "weibo_uid": "" }, "vote": [] }, { "content": "麻烦姐夫打赞", "ctime": "2018-04-19T23:52:38", "data_id": 27610708, "hate_count": 5, "id": 676713, "like_count": 33, "precmts": [], "status": 0, "type": "text", "user": { "id": 22380832, "is_vip": false, "personal_page": "http://user.qzone.qq.com/73810188211C98272F24B39C95F3888D", "profile_image": "http://wimg.spriteapp.cn/profile/large/2018/04/19/5ad8b98686516_mini.jpg", "qq_uid": "", "qzone_uid": "73810188211C98272F24B39C95F3888D", "room_icon": "", "room_name": "", "room_role": "", "room_url": "", "sex": "m", "total_cmt_like_count": "33", "username": "周某人来找姐夫", "weibo_uid": "" }, "vote": [] } ] }, "normal": { "info": { "count": 140, "np": 20 }, "list": [ { "content": "你是想象不出自己有多穷", "ctime": "2018-05-02T23:17:43", "data_id": 27610708, "hate_count": 0, "id": 1750296, "like_count": 0, "precmts": [], "status": 0, "type": "text", "user": { "id": 16144082, "is_vip": false, "personal_page": "http://user.qzone.qq.com/3720E9B0E9A28CBCB2BF1639F100A7F1", "profile_image": "http://wimg.spriteapp.cn/profile/large/2018/04/30/5ae6fe78a87ed_mini.jpg", "qq_uid": "", "qzone_uid": "3720E9B0E9A28CBCB2BF1639F100A7F1", "room_icon": "", "room_name": "", "room_role": "", "room_url": "", "sex": "m", "total_cmt_like_count": "213", "username": "请问菇凉妳的心怎么走", "weibo_uid": "" }, "vote": [] }, { "content": "脚背痒怎么办", "ctime": "2018-04-24T19:48:02", "data_id": 27610708, "hate_count": 0, "id": 1117028, "like_count": 0, "precmts": [], "status": 0, "type": "text", "user": { "id": 20600661, "is_vip": false, "personal_page": "", "profile_image": "http://wx.qlogo.cn/mmopen/ZeuSZYeUCFL1xh9kYCrel0ia1E8a5RugFZ4A1bwt3Y6Gb3ph6MZdqaTw4A6Dq9Q8SoToEKqOjiaDfopBqib2wrlZaOWibz9V0F96/0", "qq_uid": "", "qzone_uid": "", "room_icon": "", "room_name": "", "room_role":