开发者社区> 科技小能手> 正文

免费Web接口调用大全

简介:
+关注继续查看

天气接口

  • 气象局接口:

    http://m.weather.com.cn/data/101010100.html 解析用例


音乐接口

  • 虾米接口

    http://kuang.xiami.com/app/nineteen/search/key/歌曲名称/diandian/1/page/歌曲当前页?_=当前毫秒&callback=getXiamiData  用例代码解释和下载


  • QQ空间音乐接口

    http://qzone-music.qq.com/fcg-bin/cgi_playlist_xml.fcg?uin=QQ号码&json=1&g_tk=1916754934用例代码解释和下载


  • QQ空间收藏音乐接口

    http://qzone-music.qq.com/fcg-bin/fcg_music_fav_getinfo.fcg?dirinfo=0&dirid=1&uin=QQ号&p=0.519638272547262&g_tk=1284234856


地图接口

  • 阿里云根据地区名获取经纬度接口

    http://gc.ditu.aliyun.com/geocoding?a=苏州市 官方文档
    参数解释: 纬度,经度 type 001 (100代表道路,010代表POI,001代表门址,111可以同时显示前三项)


  • 阿里云根据经纬度获取地区名接口

    http://gc.ditu.aliyun.com/regeocoding?l=39.938133,116.395739&type=001 官方文档


IP接口

  • 新浪接口(ip值为空的时候 获取本地的)

    http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=json&ip=218.4.255.255


  • 淘宝接口

    http://ip.taobao.com/service/getIpInfo.php?ip=63.223.108.42


手机信息查询接口

  • 淘宝网接口

    http://tcc.taobao.com/cc/json/mobile_tel_segment.htm?tel=手机号


  • 拍拍接口

    http://virtual.paipai.com/extinfo/GetMobileProductInfo?mobile=手机号&amount=10000&callname=getPhoneNumInfoExtCallback 用例


  • 百付宝接口

    https://www.baifubao.com/callback?cmd=1059&callback=phone&phone=手机号


  • 115接口

    http://cz.115.com/?ct=index&ac=get_mobile_local&callback=jsonp1333962541001&mobile=手机号


  • 有道接口

    http://www.youdao.com/smartresult-xml/search.s?jsFlag=true&type=mobile&q=手机号


视频信息接口

  • 优酷

    http://v.youku.com/player/getPlayList/VideoIDS/视频ID (比如 http://v.youku.com/v_show/id_XNTQxNzc4ODg0.html的ID就是XNTQxNzc4ODg0)


翻译、词典接口

  • 腾讯

    http://dict.qq.com/dict?q=词语




天气接口城市代码:


























1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
直辖市
    "北京","上海","天津","重庆"
    "101010100","101020100","101030100","101040100"
特别行政区
    "香港","澳门"
    "101320101","101330101"
黑龙江
    "哈尔滨","齐齐哈尔","牡丹江","大庆","伊春","双鸭山","鹤岗","鸡西","佳木斯","七台河","黑河","绥化","大兴安岭"
    "101050101","101050201","101050301","101050901","101050801","101051301","101051201","101051101","101050401","101051002","101050601","101050501","101050701"
       
吉林
    "长春","延吉","吉林","白山","白城","四平","松原","辽源","大安","通化"
    "101060101","101060301","101060201","101060901","101060601","101060401","101060801","101060701","101060603","101060501"
       
辽宁
    "沈阳","大连","葫芦岛","盘锦","本溪","抚顺","铁岭","辽阳","营口","阜新","朝阳","锦州","丹东","鞍山"
    "101070101","101070201","101071401","101071301","101070501","101070401","101071101","101071001","101070801","101070901","101071201","101070701","101070601","101070301"
       
内蒙古
    "呼和浩特","呼伦贝尔","锡林浩特","包头","赤峰","海拉尔","乌海","鄂尔多斯","通辽"
    "101080101","101081000","101080901","101080201","101080601","101081001","101080301","101080701","101080501"
河北
    "石家庄","唐山","张家口","廊坊","邢台","邯郸","沧州","衡水","承德","保定","秦皇岛"
    "101090101","101090501","101090301","101090601","101090901","101091001","101090701","101090801","101090402","101090201","101091101"
       
河南
    "郑州","开封","洛阳","平顶山","焦作","鹤壁","新乡","安阳","濮阳","许昌","漯河","三门峡","南阳","商丘","信阳","周口","驻马店"
    "101180101","101180801","101180901","101180501","101181101","101181201","101180301","101180201","101181301","101180401","101181501","101181701","101180701","101181001","101180601","101181401","101181601"
       
山东
    "济南","青岛","淄博","威海","曲阜","临沂","烟台","枣庄","聊城","济宁","菏泽","泰安","日照","东营","德州","滨州","莱芜","潍坊"
    "101120101","101120201","101120301","101121301","101120710","101120901","101120501","101121401","101121701","101120701","101121001","101120801","101121501","101121201","101120401","101121101","101121601","101120601"
       
山西
    "太原","阳泉","晋城","晋中","临汾","运城","长治","朔州","忻州","大同","吕梁"
    "101100101","101100301","101100601","101100401","101100701","101100801","101100501","101100901","101101001","101100201","101101101"
       
江苏
    "南京","苏州","昆山","南通","太仓","吴县","徐州","宜兴","镇江","淮安","常熟","盐城","泰州","无锡","连云港","扬州","常州","宿迁"
    "101190101","101190401","101190404","101190501","101190408","101190406","101190801","101190203","101190301","101190901","101190402","101190701","101191201","101190201","101191001","101190601","101191101","101191301"
       
安徽
    "合肥","巢湖","蚌埠","安庆","六安","滁州","马鞍山","阜阳","宣城","铜陵","淮北","芜湖","毫州","宿州","淮南","池州"
    "101220101","101221601","101220201","101220601","101221501","101221101","101220501","101220801","101221401","101221301","101221201","101220301","101220901","101220701","101220401","101221701"
       
陕西
    "西安","韩城","安康","汉中","宝鸡","咸阳","榆林","渭南","商洛","铜川","延安"
    "101110101","101110510","101110701","101110801","101110901","101110200","101110401","101110501","101110601","101111001","101110300"
       
宁夏
    "银川","固原","中卫","石嘴山","吴忠"
    "101170101","101170401","101170501","101170201","101170301"
       
甘肃
    "兰州","白银","庆阳","酒泉","天水","武威","张掖","甘南","临夏","平凉","定西","金昌"
    "101160101","101161301","101160401","101160801","101160901","101160501","101160701","101050204","101161101","101160301","101160201","101160601"
       
青海
    "西宁","海北","海西","黄南","果洛","玉树","海东","海南"
    "101150101","101150801","101150701","101150301","101150501","101150601","101150201","101150401"
       
湖北
    "武汉","宜昌","黄冈","恩施","荆州","神农架","十堰","咸宁","襄阳","孝感","随州","黄石","荆门","鄂州"
"101200101","101200901","101200501","101201001","101200801","101201201","101201101","101200701","101200201","101200401","101201301","101200601","101201401","101200301"
       
湖南
    "长沙","邵阳","常德","郴州","吉首","株洲","娄底","湘潭","益阳","永州","岳阳","衡阳","怀化","韶山","张家界"
    "101250101","101250901","101250601","101250501","101251501","101250301","101250801","101250201","101250701","101251401","101251001","101250401","101251201","101250202","101251101"
       
浙江
    "杭州","湖州","金华","宁波","丽水","绍兴","衢州","嘉兴","台州","舟山","温州"
    "101210101","101210201","101210901","101210401","101210801","101210501","101211001","101210301","101210601","101211101","101210701"
       
江西
    "南昌","萍乡","九江","上饶","抚州","吉安","鹰潭","宜春","新余","景德镇","赣州"
    "101240101","101240901","101240201","101240301","101240401","101240601","101241101","101240501","101241001","101240801","101240701"
       
福建
    "福州","厦门","龙岩","南平","宁德","莆田","泉州","三明","漳州"
    "101230101","101230201","101230701","101230901","101230301","101230401","101230501","101230801","101230601"
       
贵州
    "贵阳","安顺","赤水","遵义","铜仁","六盘水","毕节","凯里","都匀"
    "101260101","101260301","101260208","101260201","101260601","101260801","101260701","101260501","101260401"
       
四川
    "成都","泸州","内江","凉山","阿坝","巴中","广元","乐山","绵阳","德阳","攀枝花","雅安","宜宾","自贡","甘孜州","达州","资阳","广安","遂宁","眉山","南充"
    "101270101","101271001","101271201","101271601","101271901","101270901","101272101","101271401","101270401","101272001","101270201","101271701","101271101","101270301","101271801","101270601","101271301","101270801","101270701","101271501","101270501"
       
广东
    "广州","深圳","潮州","韶关","湛江","惠州","清远","东莞","江门","茂名","肇庆","汕尾","河源","揭阳","梅州","中山","德庆","阳江","云浮","珠海","汕头","佛山"
    "101280101","101280601","101281501","101280201","101281001","101280301","101281301","101281601","101281101","101282001","101280901","101282101","101281201","101281901","101280401","101281701","101280905","101281801","101281401","101280701","101280501","101280800"
       
广西
    "南宁","桂林","阳朔","柳州","梧州","玉林","桂平","贺州","钦州","贵港","防城港","百色","北海","河池","来宾","崇左"
    "101300101","101300501","101300510","101300301","101300601","101300901","101300802","101300701","101301101","101300801","101301401","101301001","101301301","101301201","101300401","101300201"
       
云南
    "昆明","保山","楚雄","德宏","红河","临沧","怒江","曲靖","思茅","文山","玉溪","昭通","丽江","大理"
    "101290101","101290501","101290801","101291501","101290301","101291101","101291201","101290401","101290901","101290601","101290701","101291001","101291401","101290201"
       
海南
    "海口","三亚","儋州","琼山","通什","文昌"
    "101310101","101310201","101310205","101310102","101310222","101310212"
       
新疆
    "乌鲁木齐","阿勒泰","阿克苏","昌吉","哈密","和田","喀什","克拉玛依","石河子","塔城","库尔勒","吐鲁番","伊宁"
    "101130101","101131401","101130801","101130401","101131201","101131301","101130901","101130201","101130301","101131101","101130601","101130501","101131001"
       
西藏
    "拉萨","阿里","昌都","那曲","日喀则","山南","林芝"
    "101140101","101140701","101140501","101140601","101140201","101140301","101140401"
       
台湾
    "台北","高雄"
    "101340102","101340201"        



本文转自 梦朝思夕 51CTO博客,原文链接:http://blog.51cto.com/qiangmzsx/1228779

   

版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。

相关文章
IIS支持的web认证方法
IIS支持的web认证方法
13 0
什么是web3.0?web3.0技术系统开发详情分析
Web3就是一个去中心化的互联网,旨在打造出一个全新的合约系统,并颠覆个人和机构达成协议的方式。Web3复刻了第一版互联网(即Web 1.0)的去中心化基础架构,Web 1.0的特色是用户自己架设博客网站以及RSS feed。在此基础上,Web3还结合了Web 2.0丰富的交互体验,比如社交媒体平台。Web 1.0和Web 2.0相结合,就形成了Web3的数字化生态,在其中用户可以真正拥有自己的数据,并且交易受到了加密技术保障。用户无需再信任品牌背书,而是可以依赖确定的软件代码逻辑来严格执行协议。
172 0
WebAPI学习(一)——创建Web API程序
WebAPI学习(一)——创建Web API程序
157 0
5分钟快速上线Web应用和API(Vercel)
上周有个童鞋问我如何快速搭建一个Web应用,想拿来练手,就不考虑购置服务器。我推荐了前段时间很火的Vercel,接下来我带你5分钟上手!
773 0
通过Web方式登录USG6000V
eNSP中防火墙USG6000V用Web方式登录
313 0
阿里云Web应用托管服务(web+)如何进行环境配置变更?
今天我们来介绍一下如何在控制台部署环境进行配置变更。首先,在Web+的控制台首页上,点击查看全部,进入应用及部署环境列表界面。 在该列表中,我们选择一个需要进行变更的应用。点击链接进入该应用的详情页面。
1730 0
24、【支付模块开发】——将下载下来的支付宝API Demo运行在web上
上一篇23、【支付模块快发】——Java对接支付宝步骤(沙箱环境)我们讲解了怎么配置相关配置文件,下面我们调试一下怎么使其在IDEA的web项目中跑起来,然后在浏览器中进行操作 我们用IDEA导入支付宝对接Demo的是时候发现不能运行,下面讲解一下怎么...
1401 0
K/3 Cloud Web API接口说明文
K/3 Cloud Web API接口说明文 目的 三方集成,提供第三方系统与Cloud集成调用接口。   技术实现 HTTP + Json   提供标准接口   编号 名称 说明 1 Kingdee.
1751 0
WEB API已成为构建客户端服务的利器?
云计算通过虚拟化技术把很多资源整合起来,软件开发理念不断向更高维度抽象。从虚拟机到集群,再到容器,再抽象成函数计算,软件开发越来越聚焦在业务核心上。这样的演进,必然带来效率的提升。基于云计算环境的软件,不可避免地需要通过各种API来进行资源管理。
6892 0
+关注
科技小能手
文章
问答
视频
文章排行榜
最热
最新
相关电子书
更多
PWA移动Web的现在与未来
立即下载
低代码开发师(初级)实战教程
立即下载
阿里巴巴DevOps 最佳实践手册
立即下载
相关实验场景
更多