前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >开放API接口_软件接口开放

开放API接口_软件接口开放

作者头像
全栈程序员站长
发布2022-11-09 16:51:59
2K0
发布2022-11-09 16:51:59
举报

前言

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


代码语言:javascript
复制
各类无次数限制的免费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/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
IP地址查询 
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.html
pullword在线分词服务
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条数据。返回数据如下图

loading
loading

音乐类接口

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

返回数据如图

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

返回数据如图

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

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

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

返回数据如图

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

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

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

返回数据如图

loading
loading

视频类接口

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

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

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

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

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

返回数据如图

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

返回数据如图

loading
loading

小说类接口

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

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

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

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

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

返回数据如图

loading
loading

天气类接口

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

返回数据如图

loading
loading

段子类接口

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

返回数据如图

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

返回数据如图

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

返回数据如图

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

返回数据如图

loading
loading

新闻类接口

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

返回数据如图

loading
loading

古诗词类接口

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

返回数据如图

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

返回数据如图

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

返回数据如图

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

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

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

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

loading
loading

个性网名接口

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

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

loading
loading

总结

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

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

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。

发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/186249.html原文链接:https://javaforall.cn

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2022年10月3日 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 前言
  • 图片类接口
  • 音乐类接口
  • 视频类接口
  • 小说类接口
  • 天气类接口
  • 段子类接口
  • 新闻类接口
  • 古诗词类接口
  • 个性网名接口
  • 总结
相关产品与服务
人脸识别
腾讯云神图·人脸识别(Face Recognition)基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、比对、搜索、验证、五官定位、活体检测等多种功能,为开发者和企业提供高性能高可用的人脸识别服务。 可应用于在线娱乐、在线身份认证等多种应用场景,充分满足各行业客户的人脸属性识别及用户身份确认等需求。
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档