欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

常用生活应用api接口小结

程序员文章站 2022-06-10 19:00:06
...
常用生活应用api接口小结

001. 天气预报接口

city:城市名,传递时须做urlencode http://apix.sinaapp.com/weather/?appkey=trialuser&city=深圳
lat:纬度 lng:经度 http://apix.sinaapp.com/weather2/?appkey=trialuser&lat=39.915&lng=116.404

002. 空气质量指数接口 [20130901]

city:城市名,传递时须做urlencode http://apix.sinaapp.com/airquality/?appkey=trialuser&city=深圳

003. 快递查询接口 [20130901]

company:快递公司英文代码 点击查看英文代码列表 number:快递单号 http://apix.sinaapp.com/express/?appkey=trialuser&company=yuantong&number=3143490877

004. 智能快递查询接口 [20130901]

number:快递单号 http://apix.sinaapp.com/expressauto/?appkey=trialuser&number=3143490877 备注:支持EMS,申通快递,圆通快递,中通快递,汇通快递,天天快递,韵达快递,顺丰快递,宅急送,速尔快递,德邦物流,联昊通物流,全峰快递,中国邮政,如风达

005. 股票查询接口 [20130901]

code:股票代码[通达信代码] http://apix.sinaapp.com/stock/?appkey=trialuser&code=000063

006. 股票分析接口 [20131004]

code:股票代码 http://apix.sinaapp.com/stockanalysis/?appkey=trialuser&code=000063

007. 公交线路接口 [20131004]

city:城市名,传递时须做urlencode line:线路,传递时须做urlencode http://apix.sinaapp.com/busline/?appkey=trailuser&city=深圳&line=209

008. 公交、地铁换乘接口 [20131004]

city:城市名,传递时须做urlencode start:起点,传递时须做urlencode end:终点,传递时须做urlencode http://apix.sinaapp.com/bus/?appkey=trailuser&city=深圳&start=世界之窗&end=竹子林

009. 地铁查询接口 [20131004]

http://apix.sinaapp.com/subway/?appkey=trialuser

010. 火车查询 [20131004]

http://apix.sinaapp.com/train/?appkey=trialuser

011. 汽车查询接口 [20131004]

http://apix.sinaapp.com/coach/?appkey=trialuser

012. 自驾线路 [20131004]

startcity:起点城市,传递时须做urlencode startplace:起点地名,传递时须做urlencode endcity:终点城市,传递时须做urlencode endplace:终点地名,传递时须做urlencode http://apix.sinaapp.com/driving/?appkey=trailuser&startcity=北京&startplace=清华大学&endcity=北京&endplace=*

013. 出租车费用 [20131004]

city:城市名,传递时须做urlencode start:起点,传递时须做urlencode end:终点,传递时须做urlencode http://apix.sinaapp.com/taxi/?appkey=trailuser&city=北京&start=清华大学&end=*

014. 航班状态接口 [20131004]

number:航班号 http://apix.sinaapp.com/flight/?appkey=trialuser&number=ca1111

015. 笑话接口 [20131004]

http://apix.sinaapp.com/joke/?appkey=trialuser

016. 周公解梦接口 [20131004]

content: 梦见内容,传递时须做urlencode http://apix.sinaapp.com/dream/?appkey=trialuser&content=老师

017. 中英互译 [20131104]

content: 翻译内容,传递时须做urlencode http://apix.sinaapp.com/translate/?appkey=trialuser&content=表示

018. 星座运势接口 [20131104]

name: 星座名,传递时须做urlencode http://apix.sinaapp.com/astrology/?appkey=trialuser&name=白羊座

019. 彩票开奖结果接口 [20131104]

name:彩票名称,传递时须做urlencode http://apix.sinaapp.com/lottery/?appkey=trailuser&name=双色球 备注:支持双色球,大乐透,3D,排列3,排列5,七星彩,七乐彩,胜负彩,任选九,六场半全场,四场进球

020. 苹果IMEI/序列号查询接口 [20131104]

number: IMEI号或序列号 http://apix.sinaapp.com/apple/?appkey=trialuser&number=358031058974471

021. 百科全书接口 [20131204]

word: 词条,传递时须做urlencode http://apix.sinaapp.com/encyclopedia/?appkey=trialuser&word=微信

022. 图书介绍 [20131104]

name: 图书名,传递时须做urlencode http://apix.sinaapp.com/book/?appkey=trialuser&name=盗墓笔记

023. 歌曲介绍 [20131104]

name: 音乐名,传递时须做urlencode http://apix.sinaapp.com/song/?appkey=trialuser&name=新年好

024. 影片介绍 [20131104]

name: 电影名,传递时须做urlencode http://apix.sinaapp.com/movie/?appkey=trialuser&name=龙猫

025. 历史上的今天接口 [20140104]

http://apix.sinaapp.com/history/?appkey=trialuser

026. 经济指标

027. 财经大事

028. 手机充值

http://apix.sinaapp.com/recharge/?appkey=trialuser 备注:腾讯财付通官方网站充值接口,基于微信安全支付

029. 城市团购 [20140104]

city: 城市名,传递时须做urlencode,你可以指定一个固定城市 查看支持城市列表 keyword:关键字,传递时须做urlencode,可为商户名、商品名、地址等 http://apix.sinaapp.com/groupon/?appkey=trialuser&city=深圳&keyword=华强北

030. 城市优惠

031. 黄金

032. 白银

033. 外汇

034. 图片检索

035. 视频检索

036. 地图位置服务 [20140104]

lat:纬度 lng:经度 entity:查询名称,传递时须做urlencode http://apix.sinaapp.com/map/?appkey=trialuser&lat=39.915&lng=116.404&entity=医院

037. 菜谱 [20140104]

name: 菜谱名称,传递时须做urlencode http://apix.sinaapp.com/recipe/?appkey=trialuser&name=剁椒鱼头

038. 手机号码归属地查询接口 [20140105]

number: 手机号码 http://apix.sinaapp.com/mobilephone/?appkey=trialuser&number=13456789000

039. 身份证归属查询查询接口 [20140105]

number: 15或18位身份证号码 http://apix.sinaapp.com/idcard/?appkey=trialuser&number=542621201212210003

040. 电视节目表 [20140116]

http://apix.sinaapp.com/tvprogram/?appkey=trialuser

041. IP地址查询接口 [20140116]

http://apix.sinaapp.com/ip/?appkey=trialuser&ip=202.203.208.80

042. 每日宜忌查询接口 [20140116]

http://apix.sinaapp.com/almanac/?appkey=trialuser

043. 疾病查询 [20140121]

name: 疾病名,传递时须做urlencode http://apix.sinaapp.com/illness/?appkey=trailuser&name=感冒

044. 号码吉凶

045. 邮政编码

code:邮政编码 http://apix.sinaapp.com/postcode/?appkey=trailuser&code=518057

046. 产品比价查询接口 [20140118]

name: 商品名,传递时须做urlencode http://apix.sinaapp.com/price/?appkey=trialuser&name=iphone 5s

047. 食物热量查询接口 [20140120]

name:食物名 http://apix.sinaapp.com/calorie/?appkey=trailuser&name=鸡蛋

048. 人品计算 [20140118]

name: 人名,传递时须做urlencode http://apix.sinaapp.com/moral/?appkey=trialuser&name=张三

049. 违章查询 [20140118]

http://apix.sinaapp.com/peccancy/?appkey=trialuser

050. 药物查询 [20140117]

name: 药物名,传递时须做urlencode http://apix.sinaapp.com/medicine/?appkey=trialuser&name=青霉素

051. 周易算命 [20140117]

name: 人名,传递时须做urlencode http://apix.sinaapp.com/fortune/?appkey=trailuser&name=张三

052. 机票查询 [20140118]

http://apix.sinaapp.com/airline/?appkey=trialuser

053. 酒店查询 [20140119]

http://apix.sinaapp.com/hotel/?appkey=trialuser

054. 驾照模拟考试 [20140119]

http://apix.sinaapp.com/drivingtest/?appkey=trialuser

056. 在线点歌查询接口 [20140119]

singer: 歌手名,传递时须做urlencode song: 歌曲名,传递时须做urlencode http://apix.sinaapp.com/music/?appkey=trialuser&singer=凤凰传奇&song=最炫民族风

057. 车牌归属地吉凶 [20140119]

number:车牌号码。例如:湘C12345,传递时须做urlencode http://apix.sinaapp.com/platenumber/?appkey=trialuser&number=湘C12345

058. 冬吴相对论 [20140120]

number:节目期号 http://apix.sinaapp.com/dongwu/?appkey=trialuser&number=123

059. 每日英语 [20140120]

type:类型,目前支持translation, listening http://apix.sinaapp.com/daily/?appkey=trailuser&type=translation

060. 实时路况 [20140120]

http://apix.sinaapp.com/traffic/?appkey=trialuser

061. 菜价查询 [20140121]

http://apix.sinaapp.com/foodprice/?appkey=trialuser

062. 成语词典 [20140121]

word:成语名,传递时须做urlencode http://apix.sinaapp.com/idiom/?appkey=trailuser&word=方兴未艾

063. 人脸识别接口 [20140315]

picurl:图片地址,传递时须做urlencode http://apix.sinaapp.com/face/?appkey=trialuser&picurl=http://www.ineiyi.com/uploads/allimg/1312/79-131213142315.jpg

064. 四六级成绩查询接口 [20140317]

http://apix.sinaapp.com/cet/?appkey=trialuser

相关标签: api接口