一些开放的免费接口【已失效】
音乐搜索接口:
接口地址: https://api.apiopen.top/searchMusic
请求示例: https://api.apiopen.top/searchMusic?name=雅俗共赏
{ "author": "许嵩", "link": "http://music.163.com/#/song?id=411214279", "pic": "http://p2.music.126.net/Wcs2dbukFx3TUWkRuxVCpw==/3431575794705764.jpg?param=300x300", "type": "netease", "title": "雅俗共赏", "lrc": "", "songid": 411214279, "url": "http://music.163.com/song/media/outer/url?id=411214279.mp3" }
音乐排行榜接口:
接口地址: https://api.apiopen.top/musicRankings
请求示例;
{ "pic_s210": "http://business.cdn.qianqian.com/qianqian/pic/bos_client_734232335ef76f5a05179797875817f3.jpg", "bg_pic": "http://business0.qianqian.com/qianqian/file/5bfe4e9aa7496_218.png", "color": "0xDC5900", "pic_s444": "http://hiphotos.qianqian.com/ting/pic/item/c83d70cf3bc79f3d98ca8e36b8a1cd11728b2988.jpg", "count": 4, "type": 2, "content": [ { "all_rate": "96,128,224,320,flac", "song_id": "604568155", "rank_change": "0", "biaoshi": "lossless,vip,perm-1", "author": "马良,孙茜茹", "album_id": "604568152", "pic_small": "http://qukufile2.qianqian.com/data2/pic/f53a667bbf3c11df1da0841fd34c4d9d/666910793/666910793.jpg@s_2,w_90,h_90", "title": "往后余生", "pic_big": "http://qukufile2.qianqian.com/data2/pic/f53a667bbf3c11df1da0841fd34c4d9d/666910793/666910793.jpg@s_2,w_150,h_150", "album_title": "往后余生" }, { "all_rate": "96,224,128,320,flac", "song_id": "601427388", "rank_change": "0", "biaoshi": "lossless,perm-3", "author": "火箭少女101", "album_id": "601427384", "pic_small": "http://qukufile2.qianqian.com/data2/pic/8d356491f24692ff802cc49c80f51fee/612356223/612356223.jpg@s_2,w_90,h_90", "title": "卡路里(电影《西虹市首富》插曲)", "pic_big": "http://qukufile2.qianqian.com/data2/pic/8d356491f24692ff802cc49c80f51fee/612356223/612356223.jpg@s_2,w_150,h_150", "album_title": "卡路里(电影《西虹市首富》插曲)" } ], "bg_color": "0xFBEFE6", "web_url": "", "name": "热歌榜", "comment": "该榜单是根据千千音乐平台歌曲每周播放量自动生成的数据榜单,统计范围为千千音乐平台上的全部歌曲,每日更新一次", "pic_s192": "http://business.cdn.qianqian.com/qianqian/pic/bos_client_1452f36a8dc430ccdb8f6e57be6df2ee.jpg", "pic_s260": "http://hiphotos.qianqian.com/ting/pic/item/838ba61ea8d3fd1f1326c83c324e251f95ca5f8c.jpg" }
随机古诗词接口:
接口地址: https://api.gushi.ci/all.json
请求示例:
{ "content" : "睡里消魂无说处。觉来惆怅消魂误。", "origin" : "蝶恋花·梦入江南烟水路", "author" : "晏几道", "category" : "古诗文-抒情-闺怨" }
天气获取接口:
接口地址: https://www.apiopen.top/weatherApi?city=上海
请求示例:
{ "code": 200, "msg": "成功!", "data": { "yesterday": { "date": "19日星期四", "high": "高温 27℃", "fx": "东北风", "low": "低温 21℃", "fl": "\u003c![CDATA[\u003c3级]]\u003e", "type": "多云" }, "city": "上海", "aqi": null, "forecast": [ { "date": "20日星期五", "high": "高温 27℃", "fengli": "\u003c![CDATA[\u003c3级]]\u003e", "low": "低温 22℃", "fengxiang": "东北风", "type": "多云" }, { "date": "21日星期六", "high": "高温 25℃", "fengli": "\u003c![CDATA[5-6级]]\u003e", "low": "低温 22℃", "fengxiang": "无持续风向", "type": "中雨" }, { "date": "22日星期天", "high": "高温 26℃", "fengli": "\u003c![CDATA[5-6级]]\u003e", "low": "低温 21℃", "fengxiang": "无持续风向", "type": "多云" }, { "date": "23日星期一", "high": "高温 27℃", "fengli": "\u003c![CDATA[3-4级]]\u003e", "low": "低温 20℃", "fengxiang": "北风", "type": "多云" }, { "date": "24日星期二", "high": "高温 27℃", "fengli": "\u003c![CDATA[\u003c3级]]\u003e", "low": "低温 19℃", "fengxiang": "北风", "type": "多云" } ], "ganmao": "虽然温度适宜但风力较大,仍较易发生感冒,体质较弱的朋友请注意适当防护。", "wendu": "23" } }
美图获取接口:
接口地址: https://www.apiopen.top/meituApi?page=1
请求示例;
{ "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" }
以下是网络收集的一些免费的接口,测试过一些可用,但是不是非常稳定,使用稳定的还是建议大家使用付费的。
转载 其他的免费接口:
快递查询:
https://api.apiopen.top/EmailSearch?number=1012002
随机单句诗词推荐:
https://api.apiopen.top/singlePoetry
随机一首诗词推荐:
https://api.apiopen.top/recommendPoetry
搜索古诗词:
https://api.apiopen.top/searchPoetry?name=古风二首 二
搜索古诗词作者:
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
音乐电台接口:
https://api.apiopen.top/musicBroadcasting
音乐电台详情接口:
https://api.apiopen.top/musicBroadcastingDetails?channelname=public_tuijian_spring
音乐详情接口:
https://api.apiopen.top/musicDetails
音乐排行榜接口:
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/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
---------------------
转载至https://www.jianshu.com/p/e6f072839282
api开源社区: https://www.apiopen.top/api.html#top