前言
临时使用的公共接口,这些接口来自于临时开放来源,请勿用作商业用途,请勿恶意刷接口,要作于商用,请从正规渠道授权使用,谢谢您的理解与配合。
重大声明:
1.对于网络上免费使用的接口,请各位开发工程师们,或者使用接口的人员们,请不要恶意刷接口,接口贡献的大佬们在服务器维护及其他方面面临巨大压力,开放出来只是为了更好的给开发环境一个便利,请保有一份职业操守。
2.“吃水不忘挖井人”,请互相着想,换位思考。开放出来的接口仅供学习使用,有点责任心吧朋友们。
API
即(Application Programming Interface,应用程序编程接口)简单一点说就是接口,现在很多公司、企业的应用系统都有开放的接口,供其他应用系统、软件使用自己系统的功能。
目录
API
- 注意:使用哪家Api请仔细阅读官方免费声明,合法使用。
bing每日图片
http://www.bing.com/HPImageArchive.aspx?format=js&idx=1&n=10&mkt=en-US
n:图片数量,最大为8
idx:当前日期往前推idx天开始获取图片
- 请求结果:
{
"images": [
{
"bot": 1,
"copyright": "印度活根桥 (© dhritipurna/Shutterstock)",
"copyrightlink": "https://www.bing.com/search?q=%E6%B4%BB%E6%A0%B9%E6%A1%A5&form=hpcapt&mkt=zh-cn",
"drk": 1,
"enddate": "20190627",
"fullstartdate": "201906261600",
"hs": [],
"hsh": "6efd1731e25b4b1001f007bba6e770b5",
"quiz": "/search?q=Bing+homepage+quiz&filters=WQOskey:%22HPQuiz_20190626_RootBridge%22&FORM=HPQUIZ",
"startdate": "20190626",
"title": "",
"top": 1,
"url": "/th?id=OHR.RootBridge_ZH-CN5173953292_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp",
"urlbase": "/th?id=OHR.RootBridge_ZH-CN5173953292",
"wp": true
},
{
"bot": 1,
"copyright": "格拉斯顿伯里托尔和圣迈克尔塔,英格兰 (© Spraggon Photography/Getty Images Plus)",
"copyrightlink": "https://www.bing.com/search?q=%E6%A0%BC%E6%8B%89%E6%96%AF%E9%A1%BF%E4%BC%AF%E9%87%8C%E6%89%98%E5%B0%94%E5%92%8C%E5%9C%A3%E8%BF%88%E5%85%8B%E5%B0%94%E5%A1%94&form=hpcapt&mkt=zh-cn",
"drk": 1,
"enddate": "20190626",
"fullstartdate": "201906251600",
"hs": [],
"hsh": "57988f6bd0e853e18a3c37857e3ca3d8",
"quiz": "/search?q=Bing+homepage+quiz&filters=WQOskey:%22HPQuiz_20190625_GlastonburyTor%22&FORM=HPQUIZ",
"startdate": "20190625",
"title": "",
"top": 1,
"url": "/th?id=OHR.GlastonburyTor_ZH-CN4673691420_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp",
"urlbase": "/th?id=OHR.GlastonburyTor_ZH-CN4673691420",
"wp": true
}
],
"tooltips": {
"loading": "正在加载...",
"next": "下一个图像",
"previous": "上一个图像",
"walle": "此图片不能下载用作壁纸。",
"walls": "下载今日美图。仅限用作桌面壁纸。"
}
}
- Item中的地址没有Host主机域名:
以
"url": "/th?id=OHR.RootBridge_ZH-CN5173953292_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp",
为例。
- 补充完整:
https://www.bing.com/th?id=OHR.GlastonburyTor_ZH-CN4673691420_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp
综合类:
- 新闻接口:
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
为了方便各类开发者,现提供免费开放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://www.apiopen.top/journalismApi
返回值:
{
"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://www.apiopen.top/satinCommentApi?id=27610708&page=1
接口传参说明:
- 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": "",
"room_url": "",
"sex": "m",
"total_cmt_like_count": "1728",
"username": "付小瑞",
"weibo_uid": ""
},
"vote": []
},
{
"content": "看来我的恋脚癖该找个医生治治了",
"ctime": "2018-04-23T18:39:04",
"data_id": 27610708,
"hate_count": 0,
"id": 1028740,
"like_count": 0,
"precmts": [],
"status": 0,
"type": "text",
"user": {
"id": 22291903,
"is_vip": false,
"personal_page": "http://m.weibo.com/u/5257725865",
"profile_image": "http://wimg.spriteapp.cn/profile/large/2018/04/20/5ad9456199f2e_mini.jpg",
"qq_uid": "",
"qzone_uid": "",
"room_icon": "",
"room_name": "",
"room_role": "",
"room_url": "",
"sex": "m",
"total_cmt_like_count": "342",
"username": "关爱97年空巢老人",
"weibo_uid": 5257725865
},
"vote": []
},
{
"content": "放屁加脚气,原子弹的威力",
"ctime": "2018-04-23T15:54:44",
"data_id": 27610708,
"hate_count": 0,
"id": 1017581,
"like_count": 1,
"precmts": [],
"status": 0,
"type": "text",
"user": {
"id": 21975374,
"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": "7",
"username": "刚刚好EwD",
"weibo_uid": ""
},
"vote": []
},
{
"content": "谁能告诉我这是鞋还是裤子?",
"ctime": "2018-04-23T10:04:22",
"data_id": 27610708,
"hate_count": 0,
"id": 992004,
"like_count": 0,
"precmts": [],
"status": 0,
"type": "text",
"user": {
"id": 17998445,
"is_vip": false,
"personal_page": "http://user.qzone.qq.com/30BA25041BC9EC6D140D26420AD6FF80",
"profile_image": "http://qzapp.qlogo.cn/qzapp/100336987/30BA25041BC9EC6D140D26420AD6FF80/100",
"qq_uid": "",
"qzone_uid": "30BA25041BC9EC6D140D26420AD6FF80",
"room_icon": "",
"room_name": "",
"room_role": "",
"room_url": "",
"sex": "m",
"total_cmt_like_count": "125",
"username": "殠尐孖 ",
"weibo_uid": ""
},
"vote": []
},
{
"content": "噗,哈哈哈哈哈哈哈哈哈哈哈哈",
"ctime": "2018-04-21T13:37:37",
"data_id": 27610708,
"hate_count": 0,
"id": 818201,
"like_count": 1,
"precmts": [
{
"content": "脚气闷到裆",
"ctime": "2018-04-17T22:30:02",
"data_id": 27610708,
"floor": 1,
"hate_count": 0,
"id": 479161,
"like_count": 154,
"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": []
}
],
"status": 0,
"type": "text",
"user": {
"id": 19785848,
"is_vip": false,
"personal_page": "",
"profile_image": "http://wimg.spriteapp.cn/profile/large/2017/05/10/5912f6edaf3f5_mini.jpg",
"qq_uid": "",
"qzone_uid": "",
"room_icon": "",
"room_name": "",
"room_role": "",
"room_url": "",
"sex": "m",
"total_cmt_like_count": "4",
"username": "About today.WYL",
"weibo_uid": ""
},
"vote": []
}
]
}
}
}
热门小说推荐列表
https://www.apiopen.top/novelApi
返回值:
{
"code": 200,
"msg": "成功!",
"data": [
{
"bid": "7034781",
"bookname": "乡村美女图",
"introduction": "乡村赤脚小医生叶福贵,机缘巧合偶获仙府,担负起寻找转世仙女美女的任务,同时,带领着乡亲们走上富裕的阳光大道。 寻找一个个仙子美女,那也是一个技术活,和一个个仙女一起生活,更是一门艺术,叶福贵这个仙府主人,养活一大堆仙女,太幸福操劳了。 这个幸福的操劳,放着我来,谁都别抢。",
"book_info": "乡村赤脚小医生叶福贵,机缘巧合偶获仙府,担负起寻找转世仙女美女的任务,同时,带领着乡亲们走上富裕的阳光大道。 寻找一个个仙子美女,那也是一个技术活,和一个个仙女一起生活,更是一门艺术,叶福贵这个仙府主人,养活一大堆仙女,太幸福操劳了。 这个幸福的操劳,放着我来,谁都别抢。",
"chapterid": "1010932",
"topic": "第一千一百四十章视察工作",
"topic_first": "第一章和美女村长一起看春戏",
"date_updated": 1525350909,
"author": "3644907",
"author_name": "老婆爱我",
"top_class": "502",
"state": "1",
"readCount": "0",
"praiseCount": "0",
"stat_name": "连载",
"class_name": "都市生活",
"size": "3338885",
"book_cover": "http://img-tailor.11222.cn/bcv/big/201703221635121902.jpg",
"chapterid_first": "786581",
"chargeMode": "3",
"digest": "0",
"price": "0.5",
"tag": [
"爽文",
"学生",
"异能",
"扮猪吃虎"
],
"is_new": 1,
"discountNum": 10,
"quick_price": 0,
"formats": "1",
"audiobook_playCount": "0",
"chapterNum": "1140",
"isShortStory": false,
"userid": "603878327",
"search_heat": "91",
"num_click": "647637",
"recommend_num": "605962",
"first_cate_id": "51",
"first_cate_name": "都市小说",
"reason": ""
},
{
"bid": "7010609",
"bookname": "套路总裁轻点爱",
"introduction": " 作为跨国集团的总裁,黄金单身汉,经常有人给他送女人。这个胆大包天的丫头竟然把男人送上了他的床,这是在怀疑他的性取向吗?他气愤不已地把男人丢了出去,把她拽了进来,他要向她证明,他到底喜欢男人还是女人!片段一:赵冬寒:沐易臣,你到底想干什么?沐易臣:你!片段二:沐易臣:我们好久没上床了,过来!赵冬寒:别,昨晚不是还……了吗?沐易臣:宝贝你忘了?昨晚我是在“沙发”上办的你。",
"book_info": " 作为跨国集团的总裁,黄金单身汉,经常有人给他送女人。这个胆大包天的丫头竟然把男人送上了他的床,这是在怀疑他的性取向吗?他气愤不已地把男人丢了出去,把她拽了进来,他要向她证明,他到底喜欢男人还是女人!片段一:赵冬寒:沐易臣,你到底想干什么?沐易臣:你!片段二:沐易臣:我们好久没上床了,过来!赵冬寒:别,昨晚不是还……了吗?沐易臣:宝贝你忘了?昨晚我是在“沙发”上办的你。",
"chapterid": "991532",
"topic": "番外十二赔了夫人又折兵(全文完结)",
"topic_first": "第一章头牌男公关",
"date_updated": 1523846993,
"author": "613555",
"author_name": "白秋练",
"top_class": "502",
"state": "2",
"readCount": "0",
"praiseCount": "0",
"stat_name": "完结",
"class_name": "现代言情",
"size": "1247582",
"book_cover": "http://img-tailor.11222.cn/bcv/big/201804271512516485.jpg",
"chapterid_first": "846760",
"chargeMode": "3",
"digest": "0",
"price": "0.5",
"tag": [
"腹黑",
"霸道",
"总裁",
"宠文甜文"
],
"is_new": 1,
"discountNum": 10,
"quick_price": 0,
"formats": "1",
"audiobook_playCount": "0",
"chapterNum": "592",
"isShortStory": false,
"userid": "744458482",
"search_heat": "91",
"num_click": "439140",
"recommend_num": "397465",
"first_cate_id": "19",
"first_cate_name": "言情小说",
"reason": ""
},
{
"bid": "6720460",
"bookname": "太古狂魔",
"introduction": "一名身缠七彩恶龙、肩扛古老石棺的白发青年,仰望高高在上的诸天至尊、万古道祖,淡淡道:“诸位,我说我这石棺葬过天,你们信么?”",
"book_info": "一名身缠七彩恶龙、肩扛古老石棺的白发青年,仰望高高在上的诸天至尊、万古道祖,淡淡道:“诸位,我说我这石棺葬过天,你们信么?”",
"chapterid": "1041135",
"topic": "第一千二百五十三章出尔反尔!",
"topic_first": "第一章秦宇",
"date_updated": 1525365302,
"author": "52467",
"author_name": "汉隶",
"top_class": "502",
"state": "1",
"readCount": "507",
"praiseCount": "10",
"stat_name": "连载",
"class_name": "东方玄幻",
"size": "2882433",
"book_cover": "http://img-tailor.11222.cn/bcv/big/201607011010477093.jpg",
"chapterid_first": "712798",
"chargeMode": "3",
"digest": "0",
"price": "0.5",
"tag": [
"玄幻",
"东方",
"无敌"
],
"is_new": 1,
"discountNum": 10,
"quick_price": 0,
"formats": "1",
"audiobook_playCount": "0",
"chapterNum": "1253",
"isShortStory": false,
"userid": "0",
"search_heat": "73",
"num_click": "1761506",
"recommend_num": "1719831",
"first_cate_id": "1",
"first_cate_name": "玄幻小说",
"reason": ""
},
{
"bid": "7363143",
"bookname": "99亿闪婚:豪门总裁夜夜忙",
"introduction": "她二十年一次脚下失足,撞了他的豪车,留下签名和号码,走的不带一片云彩。不仅如此,还顺便牵走他‘未婚妻’的名义……隔日,全球惊爆季氏总裁惊现未婚妻……所以,她宋倾城这次是闯大祸了?!不但如此,某男还给她直接甩了一份闪婚协议书。一年后,宋倾城将离婚协议拍在某男面前,“季先生,请签字!”“我有没有告诉过你我不会写三个字。”“哪三个字?”“季正霆。”“……”",
"book_info": "她二十年一次脚下失足,撞了他的豪车,留下签名和号码,走的不带一片云彩。不仅如此,还顺便牵走他‘未婚妻’的名义……隔日,全球惊爆季氏总裁惊现未婚妻……所以,她宋倾城这次是闯大祸了?!不但如此,某男还给她直接甩了一份闪婚协议书。一年后,宋倾城将离婚协议拍在某男面前,“季先生,请签字!”“我有没有告诉过你我不会写三个字。”“哪三个字?”“季正霆。”“……”",
"chapterid": "964130",
"topic": "第699章孩子动了",
"topic_first": "第1章劈腿能不能先说一声?",
"date_updated": 1525397105,
"author": "1283790",
"author_name": "花木",
"top_class": "502",
"state": "1",
"readCount": "0",
"praiseCount": "0",
"stat_name": "连载",
"class_name": "现代言情",
"size": "1425209",
"book_cover": "http://img-tailor.11222.cn/bcv/big/201709041733565942.jpg",
"chapterid_first": "844414",
"chargeMode": "3",
"digest": "0",
"price": "0.5",
"tag": [
"霸道",
"契约",
"忠犬"
],
"is_new": 1,
"discountNum": 10,
"quick_price": 0,
"formats": "1",
"audiobook_playCount": "0",
"chapterNum": "699",
"isShortStory": false,
"userid": "0",
"search_heat": "91",
"num_click": "248638",
"recommend_num": "206963",
"first_cate_id": "19",
"first_cate_name": "言情小说",
"reason": ""
}
]
}
小说搜索接口
https://www.apiopen.top/novelSearchApi?name=盗墓笔记
接口传参说明:
- name=1:要搜索的小说名称
返回值:
{
"code": 200,
"msg": "成功!",
"data": [
"盗墓笔记",
"盗墓笔记续9",
"盗墓笔记续",
"盗墓笔记续集",
"盗墓笔记12终极解密",
"盗墓笔记之寻龙图",
"盗墓笔记之迷途",
"盗墓笔记之寻仙",
"盗墓笔记薄",
"盗墓笔记之咒语"
]
}
小说详情接口
https://www.apiopen.top/novelInfoApi?name=盗墓笔记
接口传参说明:
- name=1:要查询的小说名称
返回值:
{
"code": 200,
"msg": "成功!",
"data": {
"status": 1,
"info": {
"page": 1,
"size": 10,
"count": 20,
"total": 198,
"qp_rewrite": "盗墓笔记",
"qp_trigger": "NOVEL"
},
"aladdin": {
"title": "盗墓笔记之寻龙图",
"author": "今听雨",
"category": "悬疑探险",
"tags": "热血,爽文,坚毅,小说",
"hh_hot": 175,
"words": 612499,
"host": "shuqi.com",
"base": 0,
"bid": 7508129,
"mgbid": 0,
"authorid": 1978275,
"status": 1,
"top_class": "502",
"formats": 1,
"cover": "http://img-tailor.11222.cn/bcv/big/201803161219417395.jpg",
"desc": "寻龙图最初为商周时期一位名叫阴阳子的风水大师所著,记载了当时商周时期两座大墓和一座古遗迹祭坛所在的位置,后又加以推演,得三处真龙宝地,留言,得三可得天下之说,后被明代道士阳炎子所研究续写,后该道士改姓柳,为一权贵师爷,利用此权利之便,推演出九处真龙宝地,序言,得九为至尊,则不死,该图后因不明原因失踪,柳姓后人得知一二线索,而追查数百年并无得到,为一谜团。主人公退伍前的一场神秘任务而引发的一系列事件,退伍后,虽时隔多年,仍然耿耿于怀,于是展开了查明真相之路,不断的探索,找寻,使这件事越来越扑朔迷离,他发现,这里面竟然隐藏着惊天秘密,一座座古墓,一座座古遗迹中,不仅藏着惊天之谜,还有着危险重重。",
"latest_chapter": {
"cid": "968030",
"cname": "第201章暂时平静的日子(大结局)",
"ctime": 1522813934
},
"first_chapter": {
"cid": "967830",
"cname": "第1章紧急任务",
"ctime": 1522813243
}
},
"data": [
{
"title": "盗墓笔记续9",
"author": "邪灵一把刀",
"category": "悬疑探险",
"tags": "探险,现代,诡异,盗墓,盗墓笔记",
"hh_hot": 9681,
"words": 1435277,
"host": "shuqi.com",
"base": 0,
"bid": 3141966,
"mgbid": 0,
"authorid": 1631858,
"status": 1,
"top_class": "502",
"formats": 1,
"first_cid": 356518,
"first_chapter": "国庆贺文,非盗墓笔记,免费奉送。",
"cover": "http://img-tailor.11222.cn/bcv/middle/201603021215445850.jpg",
"desc": "张家古楼事件以后,闷油瓶去了青铜门,而我回了杭州继续经营三叔的产业,本以为事件到此为止,谁知一切都没有结束。陈文锦再次出现,霍老太的遗物中夹杂着的神秘地图,第三枚鬼玺问世,或许用不着十年,终极的秘密近在眼前。"
},
{
"title": "盗墓笔记续",
"author": "夜初落",
"category": "小说同人",
"tags": "盗墓,悬疑推理,风水异术,小说",
"hh_hot": 61,
"words": 173198,
"host": "shuqi.com",
"base": 0,
"bid": 3473400,
"mgbid": 0,
"authorid": 1646356,
"status": 1,
"top_class": "502",
"formats": 1,
"first_cid": 787111,
"first_chapter": "第一章十年后,变了的是什么",
"cover": "http://img-tailor.11222.cn/bcv/big/201706131159107399.jpg",
"desc": "十年之后,闷油瓶从青铜门里出来,已经恢复齐羽记忆的吴邪,为了销毁云顶天空的秘密,结束闷油瓶的宿命,毅然踏上了一条崎岖又充满危险的道路...麒麟红是谁?十年之后,“它”又出现了!我的最终目的是终极。可能是因为老不更的原因等,网站要求先申请完结了,据说申请成功就不能改了,我今年大五,还有三个来月考研,虽说希望不大,,,要是考完了有时间了我可能会接着写点,但是估计应该会更不正式,,,,"
},
{
"title": "盗墓笔记续集",
"author": "盗墓博物馆",
"category": "灵异鬼怪",
"tags": "盗墓笔记,小说",
"hh_hot": 1237,
"words": 498030,
"host": "shuqi.com",
"base": 0,
"bid": 177502,
"mgbid": 0,
"authorid": 187984,
"status": 1,
"top_class": "502",
"formats": 1,
"first_cid": 358521,
"first_chapter": "版本0第一章行动",
"cover": "http://img-tailor.11222.cn/bcv/big/201604111640294541.jpg",
"desc": "原本,我只意识到自己还不能停,我还必须走下去,因为还有一个十年。可是现在,我意识到其他人都没有停过,计划和阴谋还在继续!我必须行动了!胖子、阿宁、小哥,我来了!终极?闷油瓶你愿让陈文锦和老九门其他人进去,可为何偏不让我这最想进去的人守护?还有那个领走我邮件的“我”难道了解三叔鬼域所有的秘密?难道张起灵跟霍老太进入张家楼只是为了给裘德考弄到那两个环?盗墓笔记留下了太多谜团,来读续集解谜吧!"
}
],
"spend": {
"total": 0.3841
}
}
}
小说内容接口
由于内容加密,这边无法解析,所以需要用上面详情ID去请求内容,内容地址:
http://t.shuqi.com/route.php?pagename=#!/bid/177502/ct/read
2018-03-30 更新:
随机推荐热门段子【神评版本】
https://www.apiopen.top/satinGodApi?type=1&page=1
接口传参说明:
- type=1 : 全部
- type=2 : 文字
- type=3 : 图片
- type=4 : gif
- type=5 : 视频
- page=1:页码
当page=0时,会随机返回一页数据,page>=1时会返回相应页码的数据。
返回type备注:
- type=text : 文字
- type=image : 图片
- type=gif : Gif
- type=video: 视频
返回值:
{
"code": 200,
"msg": "成功!",
"data": [
{
"type": "image",
"text": "朝鲜美女集体露面,世界人民都看傻了",
"username": "黑皮咪咪眼 [黑皮住口]",
"uid": "18682920",
"header": "http://wimg.spriteapp.cn/profile/large/2016/06/27/577119b7d372e_mini.jpg",
"comment": 267,
"top_commentsVoiceuri": null,
"top_commentsContent": "大爷的,一共就俩运动员。整几百号啦啦队, 去棒子国混吃混喝,三胖儿也太狠了",
"top_commentsHeader": "http://wimg.spriteapp.cn/profile",
"top_commentsName": "用户983787",
"passtime": "2018-03-30 11:00:35",
"soureid": 27312135,
"up": 575,
"down": 107,
"forward": 7,
"image": "http://wimg.spriteapp.cn/ugc/2018/03/12/5aa5fa6cf1e8f_1.jpg",
"gif": null,
"thumbnail": "http://wimg.spriteapp.cn/ugc/2018/03/12/5aa5fa6cf1e8f_1.jpg",
"video": null
},
{
"type": "video",
"text": "来自一位90后的内心独白! ",
"username": "YXDDDD",
"uid": "13347954",
"header": "http://wimg.spriteapp.cn/profile/picture1/M00/11/81/wKiFR1THDUSADMvAAAAZItE7DD4.cn_238",
"comment": 409,
"top_commentsVoiceuri": null,
"top_commentsContent": "要不,咱们反了吧!",
"top_commentsHeader": "http://wimg.spriteapp.cn/profile/large/2016/10/01/57ef726724bef_mini.jpg",
"top_commentsName": "百思绿帽帮",
"passtime": "2018-03-29 20:53:01",
"soureid": 27368200,
"up": 1738,
"down": 37,
"forward": 462,
"image": null,
"gif": null,
"thumbnail": "http://wimg.spriteapp.cn/picture/2018/0328/27368200_565_66.jpg",
"video": "http://wvideo.spriteapp.cn/video/2018/0328/491f7b24325911e89496842b2b4c75ab_wpd.mp4"
},
{
"type": "video",
"text": "听说舌头能这么玩……我想试试!",
"username": "YXDDDD",
"uid": "13347954",
"header": "http://wimg.spriteapp.cn/profile/picture1/M00/11/81/wKiFR1THDUSADMvAAAAZItE7DD4.cn_238",
"comment": 292,
"top_commentsVoiceuri": null,
"top_commentsContent": "手机:啊……哦……喔……嘶……",
"top_commentsHeader": "http://wimg.spriteapp.cn/profile/large/2015/06/21/55869b8e0c704_mini.jpg",
"top_commentsName": "寻幻作乐",
"passtime": "2018-03-29 10:47:01",
"soureid": 27368921,
"up": 1141,
"down": 45,
"forward": 286,
"image": null,
"gif": null,
"thumbnail": "http://wimg.spriteapp.cn/picture/2018/0328/27368921_754.jpg",
"video": "http://wvideo.spriteapp.cn/video/2018/0328/9e55f240325811e8b666842b2b4c75ab_wpd.mp4"
},
{
"type": "image",
"text": "“月薪一万是讨饭!”上海公园相亲角又出惊句,你又拖后腿了么?",
"username": "这又神马情况 [有容乃悦]",
"uid": "19794323",
"header": "http://wimg.spriteapp.cn/profile/large/2017/11/23/5a16a76c2ceeb_mini.jpg",
"comment": 254,
"top_commentsVoiceuri": null,
"top_commentsContent": "月薪1500的那些是不是就是丐帮的基层人员了?",
"top_commentsHeader": "http://qzapp.qlogo.cn/qzapp/100336987/829C2E05237C4F9753FA07D0C0AEDA53/100",
"top_commentsName": "loners",
"passtime": "2018-03-29 10:38:01",
"soureid": 27369591,
"up": 571,
"down": 95,
"forward": 63,
"image": "http://wimg.spriteapp.cn/ugc/2018/03/28/5abb6d90d1556_1.jpg",
"gif": null,
"thumbnail": "http://wimg.spriteapp.cn/ugc/2018/03/28/5abb6d90d1556_1.jpg",
"video": null
}
]
}
2018-03-18 更新:
用户模块
使用用户模块需要先申请appKey
1.用户注册接口:
https://www.apiopen.top/createUser?key=00d91e8e0cca2b76f515926a36db68f5&phone=13594347817&passwd=123654
接口说明(如需上传头像,请使用POST):
- key=00d91e8e0cca2b76f515926a36db68f5 应用Key
- phone=13594347817 用户名/ID 唯一
- passwd=123654 密码
- image=File文件 头像
- name=peakchao 昵称/名字
- text= 这是我的签名。 签名/备注
- other=这是我的备注信息1 开发者需要使用的其他字段
- other2=这是我的备注信息2 开发者需要使用的其他字段
以上参数必填项:key+phone+passwd
返回值(注册成功):
{
"code": 200,
"msg": "成功!",
"data": {
"key": "00d91e8e0cca2b76f515926a36db68f5",
"phone": "13594347817",
"name": "peakchao",
"passwd": "123456",
"text": "这是我的签名。",
"img": "https://res.apiopen.top/2018031817571995.key.png",
"other": "这是我的备注信息1",
"other2": "这是我的备注信息2",
"createTime": "2018-03-18 17:57:20"
}
}
2.用户登陆接口:
https://www.apiopen.top/login?key=00d91e8e0cca2b76f515926a36db68f5&phone=13594347817&passwd=123456
- key=00d91e8e0cca2b76f515926a36db68f5 应用Key
- phone=13594347817 用户名/ID 唯一
- passwd=123654 密码
返回值(登陆成功):
{
"code": 200,
"msg": "成功!",
"data": {
"key": "00d91e8e0cca2b76f515926a36db68f5",
"phone": "13594347817",
"name": "peakchao",
"passwd": "123456",
"text": "这是我的签名。",
"img": "https://res.apiopen.top/2018031817571995.key.png",
"other": "这是我的备注信息1",
"other2": "这是我的备注信息2",
"createTime": "2018-03-18 17:57:20"
}
}
2018-02-06 更新:
ContentType定义为JSON省去前端转换JSON过程,配置允许跨域。
2018-02-04 更新:
协议升级HTTPS,无需配置端口号,兼容老接口,以前所有旧接口将会自动重定向到新地址。
2018-01-19 更新:
应用统计相关接口
1.创建应用接口
https://www.apiopen.top/createUserKey?appId=com.chat.peakchao&passwd=123456
接口说明:
- appId=com.chat.peakchao 应用包名或者唯一ID
- passwd=123456 设置对应ID的密码
返回值(创建成功/ID和密码对应即是查询):
{
"code": 200,
"msg": "成功!",
"data": {
"appId": "com.chat.peakchao",
"appkey": "00d91e8e0cca2b76f515926a36db68f5"
}
}
返回值(已经使用):
{
"code": 204,
"msg": "该AppId已经被注册!",
"data": null
}
2.增加统计信息接口
https://www.apiopen.top/addStatistics?appKey=00d91e8e0cca2b76f515926a36db68f5&type=点击统计&typeId=1&count=2
接口说明:
- appKey=00d91e8e0cca2b76f515926a36db68f5 你应用创建的Key
- type=点击统计 统计的别名备注
- typeId=1 统计分类ID
- count=2 统计次数,服务器后台自动累加
返回值:
{
"code": 200,
"msg": "统计成功!",
"data": null
}
3.查询统计信息接口
https://www.apiopen.top/findStatistics?appKey=00d91e8e0cca2b76f515926a36db68f5
接口说明:
- appKey=00d91e8e0cca2b76f515926a36db68f5 你应用创建的Key
返回值:
{
"code": 200,
"msg": "成功!",
"data": [
{
"type": "点击统计",
"typeId": 1,
"count": 2
},
{
"type": "注册统计",
"typeId": 0,
"count": 1
}
]
}
2017-11-25 更新:
女性个性网名获取接口
https://www.apiopen.top/femaleNameApi?page=1
接口说明:
- page=1: 页码
备注:
当page=0时,会随机返回一页数据,page>=1时会返回相应页码的数据。
返回值:
{
"code": 200,
"msg": "成功!",
"data": [
{
"femalename": "花花世界丶小风流"
},
{
"femalename": "回忆似风不可追"
},
{
"femalename": "向阳花.永不低头"
},
{
"femalename": "纠结需要的心痛゛"
},
{
"femalename": "九片棱角的灬回忆"
},
{
"femalename": "斑马线上的妖精"
},
{
"femalename": "各种高潮各种飘"
},
{
"femalename": "舊城舊事就回憶ず"
},
{
"femalename": "有打有闹有情调づ"
},
{
"femalename": "如果你還不明白。"
},
{
"femalename": "泼墨挥笔画中仙"
},
{
"femalename": "迷途在北极的鱼"
},
{
"femalename": "猴子死了谁偷桃丶"
},
{
"femalename": "今夕何处觅良人"
},
{
"femalename": "只想陪在你身边"
},
{
"femalename": "十里长亭花落尽"
},
{
"femalename": "丶秋雨萌萌入凉意"
},
{
"femalename": "海岛陌安逝暮梦"
},
{
"femalename": "上帝是一种信仰"
},
{
"femalename": "我的男人请尊重"
}
]
}
美图获取接口
https://www.apiopen.top/meituApi?page=1
接口说明:
- page=1: 页码
备注:
当page=0时,会随机返回一页数据,page>=1时会返回相应页码的数据。
返回值:
{
"code": 200,
"msg": "成功!",
"data": [
{
"createdAt": "2017-11-23T08:32:29.546Z",
"publishedAt": "2017-11-24T11:08:03.624Z",
"type": "美图",
"url": "http://7xi8d6.com1.z0.glb.clouddn.com/20171123083218_5mhRLg_sakura.gun_23_11_2017_8_32_9_312.jpeg"
},
{
"createdAt": "2017-11-20T07:49:41.797Z",
"publishedAt": "2017-11-20T12:42:06.454Z",
"type": "美图",
"url": "http://7xi8d6.com1.z0.glb.clouddn.com/20171120074925_ZXDh6l_joanne_722_20_11_2017_7_49_16_336.jpeg"
},
{
"createdAt": "2017-11-17T10:31:41.155Z",
"publishedAt": "2017-11-17T12:39:48.189Z",
"type": "美图",
"url": "http://7xi8d6.com1.z0.glb.clouddn.com/2017-11-17-22794158_128707347832045_9158114204975104000_n.jpg"
},
{
"createdAt": "2017-11-16T11:57:11.4Z",
"publishedAt": "2017-11-16T12:01:05.619Z",
"type": "美图",
"url": "http://7xi8d6.com1.z0.glb.clouddn.com/20171116115656_vnsrab_Screenshot.jpeg"
},
{
"createdAt": "2017-11-14T10:13:21.137Z",
"publishedAt": "2017-11-14T10:43:36.180Z",
"type": "美图",
"url": "http://7xi8d6.com1.z0.glb.clouddn.com/20171114101305_NIAzCK_rakukoo_14_11_2017_10_12_58_703.jpeg"
},
{
"createdAt": "2017-11-13T08:42:35.306Z",
"publishedAt": "2017-11-13T12:10:58.643Z",
"type": "美图",
"url": "http://7xi8d6.com1.z0.glb.clouddn.com/20171113084220_LuJgqv_sakura.gun_13_11_2017_8_42_12_311.jpeg"
},
{
"createdAt": "2017-11-09T09:53:06.802Z",
"publishedAt": "2017-11-10T08:10:02.838Z",
"type": "美图",
"url": "http://7xi8d6.com1.z0.glb.clouddn.com/20171109095254_dOw5qh_bluenamchu_9_11_2017_9_52_47_256.jpeg"
},
{
"createdAt": "2017-11-07T10:02:58.73Z",
"publishedAt": "2017-11-08T11:00:50.559Z",
"type": "美图",
"url": "http://7xi8d6.com1.z0.glb.clouddn.com/20171107100244_0fbENB_yyannwong_7_11_2017_10_2_5_982.jpeg"
},
{
"createdAt": "2017-11-02T09:23:05.497Z",
"publishedAt": "2017-11-06T12:40:39.976Z",
"type": "美图",
"url": "http://7xi8d6.com1.z0.glb.clouddn.com/20171102092251_AY0l4b_alrisaa_2_11_2017_9_22_44_335.jpeg"
},
{
"createdAt": "2017-11-01T14:18:52.937Z",
"publishedAt": "2017-11-01T14:20:59.209Z",
"type": "美图",
"url": "http://7xi8d6.com1.z0.glb.clouddn.com/20171101141835_yQYTXc_enakorin_1_11_2017_14_16_45_351.jpeg"
},
{
"createdAt": "2017-10-31T10:56:55.988Z",
"publishedAt": "2017-10-31T12:25:55.217Z",
"type": "美图",
"url": "http://7xi8d6.com1.z0.glb.clouddn.com/2017-10-31-nozomisasaki_official_31_10_2017_10_49_17_24.jpg"
},
{
"createdAt": "2017-10-27T11:40:43.793Z",
"publishedAt": "2017-10-27T12:02:30.376Z",
"type": "美图",
"url": "http://7xi8d6.com1.z0.glb.clouddn.com/20171027114026_v8VFwP_joanne_722_27_10_2017_11_40_17_370.jpeg"
},
{
"createdAt": "2017-10-25T11:30:18.697Z",
"publishedAt": "2017-10-25T11:39:10.950Z",
"type": "美图",
"url": "http://7xi8d6.com1.z0.glb.clouddn.com/20171025112955_lmesMu_katyteiko_25_10_2017_11_29_43_270.jpeg"
},
{
"createdAt": "2017-10-24T08:35:43.61Z",
"publishedAt": "2017-10-24T11:50:49.1Z",
"type": "美图",
"url": "http://7xi8d6.com1.z0.glb.clouddn.com/20171024083526_Hq4gO6_bluenamchu_24_10_2017_8_34_28_246.jpeg"
},
{
"createdAt": "2017-10-23T12:31:32.639Z",
"publishedAt": "2017-10-23T12:44:23.660Z",
"type": "美图",
"url": "https://img.gank.io/anri.kumaki_23_10_2017_12_27_30_151.jpg"
},
{
"createdAt": "2017-10-18T09:14:07.966Z",
"publishedAt": "2017-10-20T10:26:24.673Z",
"type": "美图",
"url": "http://7xi8d6.com1.z0.glb.clouddn.com/20171018091347_Z81Beh_nini.nicky_18_10_2017_9_13_35_727.jpeg"
},
{
"createdAt": "2017-10-12T07:32:28.644Z",
"publishedAt": "2017-10-17T13:10:43.731Z",
"type": "美图",
"url": "http://7xi8d6.com1.z0.glb.clouddn.com/20171012073213_p4H630_joycechu_syc_12_10_2017_7_32_7_433.jpeg"
},
{
"createdAt": "2017-10-12T07:31:27.363Z",
"publishedAt": "2017-10-16T12:19:20.311Z",
"type": "美图",
"url": "http://7xi8d6.com1.z0.glb.clouddn.com/20171012073108_0y12KR_anri.kumaki_12_10_2017_7_30_58_141.jpeg"
},
{
"createdAt": "2017-10-11T08:49:21.485Z",
"publishedAt": "2017-10-11T12:40:42.545Z",
"type": "美图",
"url": "http://7xi8d6.com1.z0.glb.clouddn.com/20171011084856_0YQ0jN_joanne_722_11_10_2017_8_39_5_505.jpeg"
},
{
"createdAt": "2017-10-10T12:38:25.180Z",
"publishedAt": "2017-10-10T12:41:34.882Z",
"type": "美图",
"url": "http://7xi8d6.com1.z0.glb.clouddn.com/2017-10-10-sakura.gun_10_10_2017_12_33_34_751.jpg"
}
]
}
2017-11-21 更新:
天气获取接口
https://www.apiopen.top/weatherApi?city=成都
接口说明:
- city=成都 : 需要获取的地名
返回值:
{
"code": 200,
"msg": "成功!",
"data": {
"yesterday": {
"date": "20日星期一",
"high": "高温 14℃",
"fx": "无持续风向",
"low": "低温 8℃",
"fl": "<![CDATA[<3级]]>",
"type": "多云"
},
"city": "成都",
"aqi": "55",
"forecast": [
{
"date": "21日星期二",
"high": "高温 11℃",
"fengli": "<![CDATA[<3级]]>",
"low": "低温 7℃",
"fengxiang": "无持续风向",
"type": "阴"
},
{
"date": "22日星期三",
"high": "高温 13℃",
"fengli": "<![CDATA[<3级]]>",
"low": "低温 6℃",
"fengxiang": "无持续风向",
"type": "阴"
},
{
"date": "23日星期四",
"high": "高温 11℃",
"fengli": "<![CDATA[<3级]]>",
"low": "低温 5℃",
"fengxiang": "无持续风向",
"type": "阴"
},
{
"date": "24日星期五",
"high": "高温 12℃",
"fengli": "<![CDATA[<3级]]>",
"low": "低温 5℃",
"fengxiang": "无持续风向",
"type": "多云"
},
{
"date": "25日星期六",
"high": "高温 13℃",
"fengli": "<![CDATA[<3级]]>",
"low": "低温 6℃",
"fengxiang": "无持续风向",
"type": "多云"
}
],
"ganmao": "天凉,昼夜温差较大,较易发生感冒,请适当增减衣服,体质较弱的朋友请注意适当防护。",
"wendu": "10"
}
}
2017-11-19 更新:
- 此次更新删除以前所有老接口,重新编写接口。
- 新购服务器和域名,配置升级,提高接口稳定性,绑定域名,由于备案非常麻烦,没有备案,所以不能通过80端口直接访问。
- 由于更换新服务器,为了优化性能,本服务器只运行这一个项目,近期准备抽点时间,重新写接口,各位有需要的朋友们,有什么需求可以在留言区提出来。
以下是新服务器开放的Api:
- 随机推荐段子(包含文字、图片、GIF、视频):
https://www.apiopen.top/satinApi?type=1&page=1
接口传参说明:
- type=1 : 全部
- type=2 : 文字
- type=3 : 图片
- type=4 : 视频
- page=1:页码
当page=0时,会随机返回一页数据,page>=1时会返回相应页码的数据,图片包含GIF,is_gif 字段判断。
返回type备注:
type=1 : 全部
type=41 : 视频
type=10 : 图片
type=29 : 段子
type=31 : 声音
返回值:
{
"code": 200,
"msg": "成功!",
"data": [
{
"type": "41",
"text": "2017版狂人日记,单身狗的妄想症,都是没有女朋友惹的祸",
"user_id": "15012957",
"name": "北京郑云影视工作室",
"screen_name": "北京郑云影视工作室",
"profile_image": "http://tp4.sinaimg.cn/2665846363/50/5650083915/1",
"created_at": "2017-10-14 11:57:01",
"create_time": null,
"passtime": "2017-10-14 11:57:01",
"love": "99",
"hate": "5",
"comment": "7",
"repost": "6",
"bookmark": "1",
"bimageuri": "http://wimg.spriteapp.cn/picture/2017/1013/26581410_188.jpg",
"voiceuri": null,
"voicetime": null,
"voicelength": null,
"status": "4",
"theme_id": "58191",
"theme_name": "搞笑视频",
"theme_type": "1",
"videouri": "http://wvideo.spriteapp.cn/video/2017/1013/59e029b7ddb34_wpd.mp4",
"videotime": 301,
"original_pid": "0",
"cache_version": 2,
"playcount": "1760",
"playfcount": "37",
"cai": "5",
"weixin_url": null,
"image1": "http://wimg.spriteapp.cn/picture/2017/1013/26581410_188.jpg",
"image2": "http://wimg.spriteapp.cn/picture/2017/1013/26581410_188.jpg",
"is_gif": false,
"image0": "http://wimg.spriteapp.cn/picture/2017/1013/26581410_188.jpg",
"image_small": "http://wimg.spriteapp.cn/picture/2017/1013/26581410_188.jpg",
"cdn_img": "http://wimg.spriteapp.cn/picture/2017/1013/26581410_188.jpg",
"width": "1066",
"height": "600",
"tag": "",
"t": 1507953421,
"ding": "99",
"favourite": "1",
"top_cmt": null,
"themes": null
},
{
"type": "10",
"text": "用你老家的方言“膝盖”怎么讲?我先说:葛啦半儿",
"user_id": "19531820",
"name": "臭宝蛋蛋",
"screen_name": "臭宝蛋蛋",
"profile_image": "http://tva4.sinaimg.cn/crop.0.0.996.996.50/e7f9e94djw8f6ursgyso3j20ro0rp0wy.jpg",
"created_at": "2017-10-14 11:56:02",
"create_time": null,
"passtime": "2017-10-14 11:56:02",
"love": "75",
"hate": "7",
"comment": "90",
"repost": "0",
"bookmark": "0",
"bimageuri": "",
"voiceuri": null,
"voicetime": null,
"voicelength": null,
"status": "4",
"theme_id": "56779",
"theme_name": "都是大奇葩",
"theme_type": "1",
"videouri": "",
"videotime": 0,
"original_pid": "0",
"cache_version": 2,
"playcount": null,
"playfcount": null,
"cai": "7",
"weixin_url": null,
"image1": "http://wimg.spriteapp.cn/ugc/2017/10/13/59e0a54731626_1.jpg",
"image2": "http://wimg.spriteapp.cn/ugc/2017/10/13/59e0a54731626_1.jpg",
"is_gif": false,
"image0": "http://wimg.spriteapp.cn/ugc/2017/10/13/59e0a54731626_1.jpg",
"image_small": null,
"cdn_img": "http://wimg.spriteapp.cn/ugc/2017/10/13/59e0a54731626_1.jpg",
"width": "750",
"height": "3024",
"tag": "",
"t": 1507953362,
"ding": "75",
"favourite": "0",
"top_cmt": null,
"themes": null
}
]
}
案例
文字
图片
视频
各类免费的API,好东西是要大家一起分享的!
以下数据来自:图灵聊天机器人、百度开放平台、eolinker的API Shop、Face++……
一、图灵聊天机器人
http://doc.tuling123.com/openapi2/263611
二、百度地图开放平台
http://lbsyun.baidu.com/index.php?title=webapi
三、eolinker - API Shop
生活常用
- 常见疾病查询:https://www.apishop.net/#/api/detail/?productID=215
- 全国天气预报:https://www.apishop.net/#/api/detail/?productID=76
- 今日热闻查询:https://www.apishop.net/#/api/detail/?productID=92
- 邮编查询:https://www.apishop.net/#/api/detail/?productID=73
- 实时空气质量数据查询:https://www.apishop.net/#/api/detail/?productID=83
- 邮编查询:https://www.apishop.net/#/api/detail/?productID=73
- 成语大全:https://www.apishop.net/#/api/detail/?productID=93
- 万年历查询:https://www.apishop.net/#/api/detail/?productID=89
- 二十四节气查询:https://www.apishop.net/#/api/detail/?productID=88
- 节假日查询:https://www.apishop.net/#/api/detail/?productID=90
- PM2.5空气质量指数查询:https://www.apishop.net/#/api/detail/?productID=94
- 标准中文电码查询:https://www.apishop.net/#/api/detail/?productID=96
- BMI计算:https://www.apishop.net/#/api/detail/?productID=104
- 区号查询:https://www.apishop.net/#/api/detail/?productID=106
- 简繁体转换:https://www.apishop.net/#/api/detail/?productID=121
文体娱乐
- 笑话大全:https://www.apishop.net/#/api/detail/?productID=122
- 菜谱大全:https://www.apishop.net/#/api/detail/?productID=171
- 新华字典:https://apistore.eolinker.com/#/api/detail/?productID=98
- NBA赛事:https://www.apishop.net/#/api/detail/?productID=125
- 周公解梦:https://www.apishop.net/#/api/detail/?productID=126
- 电视节目:https://www.apishop.net/#/api/detail/?productID=129
- 炉石传说卡牌:https://www.apishop.net/#/api/detail/?productID=203
- 万智牌卡牌:https://www.apishop.net/#/api/detail/?productID=204
- 绕口令:https://www.apishop.net/#/api/detail/?productID=127
电商服务
- 快递物流查询:https://www.apishop.net/#/api/detail/?productID=103
- 短信服务(验证码、通知):
- 淘宝热词搜索:https://www.apishop.net/#/api/detail/?productID=212
- 京东热词搜索:https://www.apishop.net/#/api/detail/?productID=211
- 商品评价分析:https://www.apishop.net/#/api/detail/?productID=208
人工智能
- OCR-身份证识别:https://www.apishop.net/#/api/detail/?productID=186
- OCR-营业执照识别:https://www.apishop.net/#/api/detail/?productID=196
- OCR-行驶证识别:https://www.apishop.net/#/api/detail/?productID=197
- 银行卡识别:https://www.apishop.net/#/api/detail/?productID=205
- 名片识别:https://www.apishop.net/#/api/detail/?productID=206
- 车牌识别:https://www.apishop.net/#/api/detail/?productID=207
- 《机动车合格证》二维码解码:https://www.apishop.net/#/api/detail/?productID=216
交通出行
- 公交及站点查询:https://apistore.eolinker.com/#/api/detail/?productID=77
- 经纬度地址转换:https://apistore.eolinker.com/#/api/detail/?productID=78
- 中国省市区查询:https://apistore.eolinker.com/#/api/detail/?productID=75
- 全国油价查询:https://apistore.eolinker.com/#/api/detail/?productID=82
- POI检索:https://apistore.eolinker.com/#/api/detail/?productID=97
- 公交、地铁路线规划查询:https://apistore.eolinker.com/#/api/detail/?productID=105
- 车型大全:https://apistore.eolinker.com/#/api/detail/?productID=117
- 火车票查询:https://www.apishop.net/#/api/detail/?productID=91
- 长途汽车查询:https://www.apishop.net/#/api/detail/?productID=100
- 汽车尾号限行:https://www.apishop.net/#/api/detail/?productID=194
- 驾考题库:https://www.apishop.net/#/api/detail/?productID=187
开发工具
- 四位图片验证码生成:https://www.apishop.net/#/api/detail/?productID=102
- 六位图片验证码生成:https://www.apishop.net/#/api/detail/?productID=101
- 中文分词:https://www.apishop.net/#/api/detail/?productID=120
- 二维码编解码:https://www.apishop.net/#/api/detail/?productID=128
- 网站排名查询:https://www.apishop.net/#/api/detail/?productID=214
金融服务
- 汇率查询:https://www.apishop.net/#/api/detail/?productID=84
- 虚拟货币交易行情:https://www.apishop.net/#/api/detail/?productID=182
- 区块链今日快讯:https://www.apishop.net/#/api/detail/?productID=185
- 银行卡信息查询(含归属地):https://www.apishop.net/#/api/detail/?productID=191
通讯服务
- 手机号归属地查询:https://www.apishop.net/#/api/detail/?productID=72
- IP地址查询:https://www.apishop.net/#/api/detail/?productID=118
教育文化
- 成语大全:https://www.apishop.net/#/api/detail/?productID=93
- 新华字典:https://www.apishop.net/#/api/detail/?productID=98
- 汉语词典:https://www.apishop.net/#/api/detail/?productID=99
- 名言警句:https://www.apishop.net/#/api/detail/?productID=123
- 英语名言:https://www.apishop.net/#/api/detail/?productID=124
- 驾驶员从业资格题:https://www.apishop.net/#/api/detail/?productID=190
- 猫咪大全:https://www.apishop.net/#/api/detail/?productID=193
- 狗狗大全:https://www.apishop.net/#/api/detail/?productID=192
- 小型宠物大全:https://www.apishop.net/#/api/detail/?productID=195
- 水族宠物大全:https://www.apishop.net/#/api/detail/?productID=200
- 爬行类宠物大全:https://www.apishop.net/#/api/detail/?productID=201
- 植物大全:https://www.apishop.net/#/api/detail/?productID=199
四、百度AI开放平台
http://ai.baidu.com/
涵盖图像处理、自然语言、语音技术、知识图谱、数据智能、AR、视频技术和深度学习八大方面。看需选择即可。
五、人脸识别Face++
http://www.faceplusplus.com.cn/
注:申请试用的API Key可以免费试用他上面的接口
聚合数据提供30大类,160种以上基础数据API服务,国内最大的基础数据API服务,下面就罗列一些免费的各类API接口。
以下接口的舒畅度使用程度请自行选择:
聚合的免费API接口数据:
手机号码归属地API接口:https://www.juhe.cn/docs/api/id/11
历史上的今天API接口:https://www.juhe.cn/docs/api/id/63
股票数据API接口:https://www.juhe.cn/docs/api/id/21
全国WIFI接口:https://www.juhe.cn/docs/api/id/18
星座运势接口:https://www.juhe.cn/docs/api/id/58
黄金数据接口:https://www.juhe.cn/docs/api/id/29
语音识别接口:https://www.juhe.cn/docs/api/id/134
周公解梦接口:https://www.juhe.cn/docs/api/id/64
天气预报API接口:https://www.juhe.cn/docs/api/id/73
身份证查询API接口:https://www.juhe.cn/docs/api/id/38
笑话大全API接口:https://www.juhe.cn/docs/api/id/95
邮编查询接口:https://www.juhe.cn/docs/api/id/66
老黄历接口:https://www.juhe.cn/docs/api/id/65
网站安全检测接口:https://www.juhe.cn/docs/api/id/19
手机固话来电显示接口:https://www.juhe.cn/docs/api/id/72
基金财务数据接口:https://www.juhe.cn/docs/api/id/28
成语词典接口:https://www.juhe.cn/docs/api/id/157
新闻头条接口:https://www.juhe.cn/docs/api/id/235
IP地址接口:https://www.juhe.cn/docs/api/id/1
问答机器人接口:https://www.juhe.cn/docs/api/id/112
汇率API接口:https://www.juhe.cn/docs/api/id/80
电影票房接口:https://www.juhe.cn/docs/api/id/44
万年历API接口:https://www.juhe.cn/docs/api/id/177
NBA赛事接口:https://www.juhe.cn/docs/api/id/92
百度旗下车联网api:https://vodp.baidu.com/#/sceneliblist
需要注意的是上图红线包裹的地方;参数ak为必填项,这里ak示例 :zLSQyjpIFmG9BtVkSZpUBMqVaGv4y3MO
百度音乐api接口
百度音乐全接口 会利用使用接口找歌简单又快捷
http://tingapi.ting.baidu.com/v1/restserver/ting
获取方式:GET
参数:format=json或xml&calback=&from=webapp_music&method=以下不同的参数获得不同的数据
PS:format根据开发需要可选择json或xmml,其他参数对应填入,calback是等于空的。
一、获取列表
例:method=baidu.ting.billboard.billList&type=1&size=10&offset=0
参数: type = 1-新歌榜,2-热歌榜,11-摇滚榜,12-爵士,16-流行,21-欧美金曲榜,22-经典老歌榜,23-情歌对唱榜,24-影视金曲榜,25-网络歌曲榜
size = 10 //返回条目数量
offset = 0 //获取偏移
以下路径类似,不再赘述。
二、貌似是推广(无用)**
例:method=baidu.ting.adv.showlist&_=1430215999
参数:_ = 1430215999//时间戳
三、搜索**
例:method=baidu.ting.search.catalogSug&query=海阔天空
参数:query = '' //搜索关键字
四、播放
例:method=baidu.ting.song.play&songid=877578
- 例:method=baidu.ting.song.playAAC&songid=877578
参数:songid = 877578 //歌曲id
五、LRC歌词
例:method=baidu.ting.song.lry&songid=877578
参数:songid = 877578 //歌曲id
六、推荐列表
- 例:method=baidu.ting.song.getRecommandSongList&song_id=877578&num=5
参数: song_id = 877578
num = 5//返回条目数量
七、下载
- 例:method=baidu.ting.song.downWeb&songid=877578&bit=24&_t=1393123213
参数: songid = 877578//歌曲id
bit = 24, 64, 128, 192, 256, 320 ,flac//码率
_t = 1430215999,, //时间戳
八、获取歌手信息
- 例:method=baidu.ting.artist.getInfo&tinguid=877578
参数: tinguid = 877578 //歌手ting id
九、获取歌手歌曲列表
-例:method=baidu.ting.artist.getSongList&tinguid=877578&limits=6&use_cluster=1&order=2
参数: tinguid = 877578//歌手ting id
limits = 6//返回条目数量
其他就不用管了
国内十大API接口网站
国内领先的API接口十大排行榜。
一、百度api集市
1136个数据服务接口
网址:http://apistore.baidu.com/
二、聚合
144个数据服务接口
网址:https://www.juhe.cn/
三、华付数据
32个实用的数据服务接口,以精准,稳定在行业立足。
网址:http://hfjk.hfdatas.com/
四、易源数据
174个数据服务接口
**五、阿凡达数据`
118个数据服务接口
网址:http://www.avatardata.cn/
六、haoservice
117个数据服务接口
网址:http://www.haoservice.com/
七、天狗云(已经找不到了)
天狗云api网站目前可能已经不可使用
不过用过的同学,都清楚,这个网站确实好用。
22个健康、生活、医疗、农业开放API接口
网址:<u style="box-sizing: border-box; outline: 0px; margin: 0px; padding: 0px; overflow-wrap: break-word;">http://www.tngou.net/doc</u>
八、apix黑格科技
网址:http://www.apix.cn/services/category
九、豆瓣 API
网址:https://developers.douban.com/wiki/?title=api_v2
十、蚂蚁金服开放平台
网址:https://doc.open.alipay.com/doc2/apiList?docType=4
十一、SDK.cn网站
提供方方面面的数据服务与导向服务,详细内容请访问官网。
https://sdk.cn/
最稳定万能vip视频解析接口 支持HTTPS
低调使用
https://cdn.yangju.vip/k/?url=后面加上播放的地址即可
https://cdn.yangju.vip/k/?url=
https://jx.lache.me/cc/?url=
https://api.653520.top/vip/?url=
https://jx.ab33.top/vip/?url=
https://vip.mpos.ren/v/?url=
https://jx.000180.top/jx/?url=
https://jx.km58.top/jx/?url=**
1.推荐:
https://ys.ykmbbs.top/?v=
2.速度不错, 无广告 而且还有p2p主要是支持SSL
https://www.gagq.cn/?url=
http://2gty.com/apiurl/yun.php?url=
3.https://jx.618g.com/?url=
4.http://www.iwkan.cn/jx2/?url=
永久性,重要的是够稳定!而且CDN加速!!解析接口支持:URL模式
全网解析 支持站点
奇艺视频 腾讯 优酷 土豆 芒果 乐视 搜狐 PPTV 华数TV 风行 咪咕 哔哩哔哩 ACfun 暴风 CCTV CNTV > 范特西 9i广场舞 搜狐自媒体 M1905视频 看看视频 27盘 虎牙直播 全民直播 战旗直播 人人视频 爆米花 今日头条 天翼视频 糖豆视频 龙珠视频 快手视频
一直播 新浪视频 360小视频 熊猫TV 斗鱼TV 花椒直播 网易公开课 音悦台 秒拍网 美拍网 爱拍 凤凰视> 频 梨视频 微录客 人民微视频 17173视频 优米视频 m3u8 mp4视频 微博视频 YY视频 私有云资源
声明
- 由于数据来源于网络,有些API会不稳定,如有异常请及时反馈,
- 本篇内容也是梳理整合与网络分享,并非完全由本人亲历亲为去深入收集,只为以后可以在学习过程中方便使用,整合在一起希望也可以帮到一些猿友能够节约时间,有更好的使用体验。当然贯穿全文的还是老生常谈的
合理使用,请勿侵权。
- 如有侵权,请告知,我将立即删除。
- 暂时整理这些,有时间了继续完善。
感谢
【作者:有梦想的程序丶猿】链接://www.greatytc.com/p/e6f072839282
【伊滴墨】链接://www.greatytc.com/p/90dce199022f