前言

在开发测试阶段,或者是在写Demo的时候,难免会用到一些测试数据,有时苦于没有可用的接口,需要自己动手去写,但是这样大大降低了效率,前期我也找了一些开放的接口,这篇文章整理一下,以下接口完全免费,不用注册,返回格式全是JSON,所有接口均可无限制使用,有需要的小伙伴可以进来看看。(ps:所有数据来源于网络,如有侵权,请作者联系删除)


各类无次数限制的免费API接口整理,主要是聚合数据上和API Store上的一些,还有一些其他的。聚合数据提供30大类,160种以上基础数据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/235IP地址接口:
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/177NBA赛事接口:
https://www.juhe.cn/docs/api/id/92IP地址查询
http://apistore.baidu.com/apiworks/servicedetail/114.html频道新闻API_易源
http://apistore.baidu.com/apiworks/servicedetail/688.html微信热门精选 :
http://apistore.baidu.com/apiworks/servicedetail/632.html天气查询
http://apistore.baidu.com/apiworks/servicedetail/112.html中国和世界天气预报
http://apistore.baidu.com/apiworks/servicedetail/478.html股票查询
http://apistore.baidu.com/apiworks/servicedetail/115.html身份证查询:
http://apistore.baidu.com/apiworks/servicedetail/113.html美女图片
http://apistore.baidu.com/apiworks/servicedetail/720.html音乐搜索
http://apistore.baidu.com/apiworks/servicedetail/1020.html图灵机器人
http://apistore.baidu.com/apiworks/servicedetail/736.html汇率转换
http://apistore.baidu.com/apiworks/servicedetail/119.html节假日
http://apistore.baidu.com/apiworks/servicedetail/1116.htmlpullword在线分词服务
http://apistore.baidu.com/apiworks/servicedetail/143.html去哪儿网火车票
http://apistore.baidu.com/apiworks/servicedetail/697.html笑话大全
http://apistore.baidu.com/apiworks/servicedetail/864.html银行卡查询服务
http://apistore.baidu.com/apiworks/servicedetail/735.html语音合成
http://apistore.baidu.com/apiworks/servicedetail/867.html宅言API-动漫台词接口
http://apistore.baidu.com/apiworks/servicedetail/446.html去哪儿景点门票查询
http://apistore.baidu.com/apiworks/servicedetail/140.html手机号码归属地
http://apistore.baidu.com/apiworks/servicedetail/794.html体育新闻
http://apistore.baidu.com/apiworks/servicedetail/711.html手机归属地查询
http://apistore.baidu.com/apiworks/servicedetail/709.html科技新闻
http://apistore.baidu.com/apiworks/servicedetail/1061.html空气质量指数
http://apistore.baidu.com/apiworks/servicedetail/116.html天狗健康菜谱
http://apistore.baidu.com/apiworks/servicedetail/987.html热门游记列表
http://apistore.baidu.com/apiworks/servicedetail/520.html天狗药品查询
http://apistore.baidu.com/apiworks/servicedetail/916.html汉字转拼音
http://apistore.baidu.com/apiworks/servicedetail/1124.html国际新闻
http://apistore.baidu.com/apiworks/servicedetail/823.html彩票
http://apistore.baidu.com/apiworks/servicedetail/164.html微信精选
http://apistore.baidu.com/apiworks/servicedetail/863.html天狗健康资讯
http://apistore.baidu.com/apiworks/servicedetail/888.html兴趣点检索
http://apistore.baidu.com/apiworks/servicedetail/182.html用药参考
http://apistore.baidu.com/apiworks/servicedetail/754.html天狗健康知识
http://apistore.baidu.com/apiworks/servicedetail/899.html奇闻趣事
http://apistore.baidu.com/apiworks/servicedetail/633.html花边新闻
http://apistore.baidu.com/apiworks/servicedetail/768.html天狗医院大全
http://apistore.baidu.com/apiworks/servicedetail/988.html生活健康
http://apistore.baidu.com/apiworks/servicedetail/989.html一些其他的API接口:豆瓣开放
https://developers.douban.com/wiki/?title=guide淘宝开放平台
http://open.taobao.com/?spm=a219a.7395905.1.1.YdFDV6图灵语音
http://www.tuling123.com/help/h_cent_andriodsdk.jhtml?nav=doc讯飞语音http://www.xfyun.cn/robots/solution马化腾的微信开放平台(对应的还有腾讯开放平台)
https://open.weixin.qq.com/融云IM
https://developer.rongcloud.cn/signin?returnUrl=%2Fapp%2Fappkey%2FPv4vYQwaxSZdfpLX5AI%3D百度开发者中心
http://developer.baidu.com/人脸识别
http://www.faceplusplus.com.cn/高德地图:
http://lbs.amap.com/蜻蜓:
FMhttp://open.qingting.fm

图片类接口

美女图片:

  1. https://www.apiopen.top/meituApi?page=1
  2. https://www.easy-mock.com/mock/5c36b5d2be0a1c39bfd57589/img/beauty/page=1

风景图片:

  1. https://www.easy-mock.com/mock/5c36b5d2be0a1c39bfd57589/img/page=1

第一个接口每页有20条数据,多少页还不清楚,返回数据如图

后两个接口是我用Easy Mock写的,第一个接口一共3页,每一页有10条数据,page表示页码。第二个接口两页,每一页10条数据。返回数据如下图

音乐类接口

  1. 音乐搜索:https://api.apiopen.top/searchMusic?name=好久不见

返回数据如图

  1. 音乐详情:https://api.apiopen.top/musicDetails?id=604392760

返回数据如图

  1. 音乐排行榜:https://api.apiopen.top/musicRankings

该接口包含有热歌榜,新歌榜,网络歌曲榜,影视金曲榜,经典老歌榜以及欧美金曲榜。每个榜有4条数据,下面拿热歌榜数据如图

  1. 音乐排行榜详情:https://api.apiopen.top/musicRankingsDetails?type=1

返回数据如图

  1. 音乐电台:https://api.apiopen.top/musicBroadcasting

此接口有公共频道和音乐人频道,返回数据如图

  1. 音乐电台详情:https://api.apiopen.top/musicBroadcastingDetails?channelname=public_tuijian_spring

返回数据如图

视频类接口

  1. 视频分类:https://api.apiopen.top/videoHomeTab

共有22种分类,每一类又有详细的视频,返回数据如图

  1. 视频分类:https://api.apiopen.top/videoCategory

和上面的类似,返回数据如图

  1. 今日视频推荐:https://api.apiopen.top/todayVideo

返回数据如图

  1. 根据ID推荐视频:https://api.apiopen.top/videoRecommend?id=127398

返回数据如图

小说类接口

  1. 书籍分类:https://www.easy-mock.com/mock/5c3e90f39d8f6075a543c3cd/story/classify

用easymock写的,只有分类,包括类型和图片,共16中分类,返回数据如图

  1. 小说搜索:https://www.apiopen.top/novelSearchApi?name=盗墓笔记

该接口提供的搜索功能只限小说名称,返回数据如图

  1. 小说详情:https://www.apiopen.top/novelInfoApi?name=盗墓笔记

返回数据如图

天气类接口

  1. 搜索地方天气:https://www.apiopen.top/weatherApi?city=成都

返回数据如图

段子类接口

  1. 最新段子:https://api.apiopen.top/getJoke?page=1&count=2&type=video

返回数据如图

  1. 通过ID查段子:https://api.apiopen.top/getSingleJoke?sid=28654780

返回数据如图

  1. 随机推荐热门段子:https://www.apiopen.top/satinApi?type=1&page=1

返回数据如图

  1. 随机推荐热门段子评论列表:https://www.apiopen.top/satinCommentApi?id=27610708&page=1

返回数据如图

新闻类接口

  1. 实时新闻资讯:https://www.apiopen.top/journalismApi

返回数据如图

古诗词类接口

  1. 随机一首诗词推荐:https://api.apiopen.top/recommendPoetry

返回数据如图

  1. 古诗词作者搜索:https://api.apiopen.top/searchAuthors?name=李白

返回数据如图

  1. 模糊搜索(诗词名/作者):https://api.apiopen.top/likePoetry?name=锄禾

返回数据如图

  1. 获取宋朝古诗词:https://api.apiopen.top/getSongPoetry?page=1&count=20

每页20条数据,返回数据如图

  1. 获取唐朝古诗词:https://api.apiopen.top/getTangPoetry?page=1&count=20

每页20条数据,返回数据如图

个性网名接口

  1. 获取个性网名:https://www.apiopen.top/femaleNameApi?page=1

每页20条数据,返回数据如图

总结

以上所有接口我都测试过的,基本能够满足大家的开发需求,如果你在做自己的小项目,需要用到一些数据,可以用这些接口做测试,但是最好不要将这些API用于正式项目,因为有一些不稳定的因素,后期再遇到免费好用的或是我自己写的API还会添加上来,如果你也有可用的接口,可以私发给我,也加进来使其更加丰富。

:本文绝大部分内容来自 有梦想的程序丶猿 的简书,对大佬表示感谢,文章地址 https://www.jianshu.com/p/e6f072839282

整理一些完全免费开放的API接口相关推荐

  1. 开放OCR API接口助力直销银行

    开放OCR API接口助力直销银行 毋庸置疑,这是个互联网金融时代,我们也称之为"懒人经济时代".人们可以坐在电脑旁静观天下股市,也可以利用手机随时随地购买自己的产品.如此方便的获 ...

  2. 支付宝开放平台api接口封装统一调用方式

    在对接支付宝过程中,发现支付宝每个接口例子,都定义了AlipayClient和xxxRequest.xxxResponse. 老的写法就是每次都去写new一个AlipayClient package ...

  3. 淘宝开放平台API接口,接入方案如下

    淘宝开放平台是基于淘宝各类电子商务业务的开放平台,提供外部合作伙伴参与服务淘宝用户的各类原材料,如业务API.账号体系.数据推送,奇门网关等,是淘宝电子商务基础服务的重要开放途径.即淘宝把数据开放进来 ...

  4. 如何快速对接淘宝开放平台API接口(淘宝店铺订单明文接口,淘宝店铺商品上传接口,淘宝店铺订单交易接口)

    很多电商系统的需求场景,都面临淘宝开放平台的接入,但这也是让不少开发者头疼的问题. 那么,如果快速接入呢?东哥的对接经验相信可以帮到不少开发者,快速接入.少走弯路. 1.公共参数 名称 类型 必须 描 ...

  5. 对接极兔速递物流开放平台API接口指南-快递鸟

    什么是快递鸟? 快递鸟是深圳快金数据的一个接口服务品牌,整合1600多家国内外快递物流公司系统,形成统一标准接口,为电商平台.自营商城.打单工具.WMS仓储系统.APP等需要发货的场景,提供专业的物流 ...

  6. 开放平台API接口加密,签名策略

    在设计开放平台接口过程中,往往会涉及接口传输安全性相关的问题,笔者在详细的查阅大量资料后,结合自身的过往经验,对于接口加密及签名的相关知识做了一个系统性的总结,在方便自己查阅的同时也分享给大家做一些参 ...

  7. 百度云开放referer api接口 ,可以获取百度关键词

    百度云现在开放了referer api功能,可以通过 百度refer中的eqid参数来获取百度关键词. 详见:https://cloud.baidu.com/doc/RefererAPI/Produc ...

  8. 如何对接淘宝开放平台API接口(超详细)

    阿里开放平台:https://open.taobao.com/api.htm?docId=54&docType=2 可以看到,不少接口/能力需要"用户授权".很多系统服务商 ...

  9. 【百度智能云】教程:连接百度ai开放平台api接口并完成语音识别的任务

    前言与介绍 本文章介绍了如何在Pycharm上用python语言简单的对连接百度ai开放平台的语音识别功能api端口的调用,并在代码里实现了现录音识别内容. 平台与相关工具 windows10.Pyc ...

最新文章

  1. LTE: 下行HARQ进程数目的来源。
  2. MVC3.0删除数据的时候给提示信息
  3. 基于Python语言使用RabbitMQ消息队列(一)
  4. DeePMD-kit的conda安装方法以及速度慢的解决方案
  5. 【Flink】Flink 如何在本地IDEA恢复检查点 不通过IDEA 不通过 flink run 方法
  6. easyUI +datagirdview加载本地json的方式 笔记
  7. C#基础概念二十五问[转]
  8. ZABBIX Agent2监控docker
  9. 银行客户交易行为预测:如何降低内存的使用量
  10. 【倒计时10day】看雪论坛精华优秀文章分享与点评
  11. Ubuntu解决包依赖关系
  12. Substrings (C++ find函数应用)
  13. fs2410开发板搭建网站服务器,FS2410开发板使用步骤
  14. 使用 String[] values = request.getParameterValues(key);出现的问题 ,Ajax Post 提交数组参数后台无法接收
  15. w7怎么修改服务器dns,win7系统在哪修改dns?win7系统修改dns的详细步骤
  16. 面向过程的结构化程序设计分三种基本结构
  17. 联想LENOVO K2450升级(或全新安装)Windows 10后不能正常关机的解决方案
  18. flowable Activiti7 会签
  19. Chrome 源码剖析
  20. 练习题 William's Colored Pencils

热门文章

  1. 内存分配,任意字节对齐
  2. springCloud - 第4篇 - 消费者调用服务 ( Feign )
  3. 前端VUE工程不占用80端口,浏览器不带端口访问VUE项目的实现
  4. spring boot Redis集成—RedisTemplate
  5. [转载]基于Aaf的数据拆分
  6. 大三了,计算机专业学生的困惑。 [转]
  7. android viewpage预加载和懒加载问题
  8. Hibernate之表间关系
  9. k8s实战之从私有仓库拉取镜像 - kubernetes
  10. jQuery BreakingNews 间歇滚动