当前所在位置:首页>数据接口>数据查询>货币汇率

货币汇率 

支持人民币牌价,外汇汇率查询

数据ID:27

接口状态:正常

连接应用数:47804

接入服务商:haoservice

/100次 购买套餐

  • API
  • 错误码参照
  • 资费套餐
  • 版本变更
  • 代码示例
  • 其他相关
接口地址: http://apis.haoservice.com/lifeservice/exchange/rmbquot
支持格式: JSON/XML
请求方式: GET/POST
明文方式请求参数:
名称 类型 必填 说明
key string API KEY
密文方式请求参数:
名称 类型 必填 说明
IsEncrypt bool 是否密文传输方式
key string API KEY
params string 3des ECB模式 PKCS7填充模式 加密 3des("","openId前24位")
调用样例及调试工具:
返回字段:
明文JSON返回示例:
{ "error_code":"0", "reason":"Success", "result":[ { "data1":{ "name":"英镑", /*货币名称*/ "fBuyPri":"1001.430", /*现汇买入价*/ "mBuyPri":"970.510", /*现钞买入价*/ "fSellPri":"1009.480", /*现汇卖出价*/ "mSellPri":"1009.480", /*现钞卖出价*/ "bankConversionPri":"1014.870", /*中行折算价*/ "date":"2012-12-13", /*发布日期*/ "time":"16:25:49" /*发布时间*/ }, "data2":{ "name":"港币", "fBuyPri":"80.210", "mBuyPri":"79.570", "fSellPri":"80.520", "mSellPri":"80.520", "bankConversionPri":"81.140", "date":"2012-12-13", "time":"16:25:49" }, "data3":{ "name":"美元", "fBuyPri":"621.650", "mBuyPri":"616.670", "fSellPri":"624.150", "mSellPri":"624.150", "bankConversionPri":"628.870", "date":"2012-12-13", "time":"16:25:49" }, "data4":{ "name":"瑞士法郎", "fBuyPri":"670.310", "mBuyPri":"649.620", "fSellPri":"675.700", "mSellPri":"675.700", "bankConversionPri":"674.350", "date":"2012-12-13", "time":"16:25:49" }, "data5":{ "name":"新加坡元", "fBuyPri":"508.300", "mBuyPri":"492.610", "fSellPri":"512.390", "mSellPri":"512.390", "bankConversionPri":"512.000", "date":"2012-12-13", "time":"16:25:49" }, "data6":{ "name":"瑞典克朗", "fBuyPri":"93.340", "mBuyPri":"90.450", "fSellPri":"94.090", "mSellPri":"94.090", "bankConversionPri":"93.770", "date":"2012-12-13", "time":"16:25:49" }, "data7":{ "name":"丹麦克朗", "fBuyPri":"108.920", "mBuyPri":"105.550", "fSellPri":"109.790", "mSellPri":"109.790", "bankConversionPri":"109.430", "date":"2012-12-13", "time":"16:25:49" }, "data8":{ "name":"挪威克朗", "fBuyPri":"110.490", "mBuyPri":"107.080", "fSellPri":"111.380", "mSellPri":"111.380", "bankConversionPri":"111.060", "date":"2012-12-13", "time":"16:25:49" }, "data9":{ "name":"日元", "fBuyPri":"7.431", "mBuyPri":"7.201", "fSellPri":"7.483", "mSellPri":"7.483", "bankConversionPri":"7.531", "date":"2012-12-13", "time":"16:25:49" }, "data10":{ "name":"加拿大元", "fBuyPri":"630.950", "mBuyPri":"611.470", "fSellPri":"636.010", "mSellPri":"636.010", "bankConversionPri":"638.800", "date":"2012-12-13", "time":"16:25:49" }, "data11":{ "name":"澳大利亚元", "fBuyPri":"654.900", "mBuyPri":"634.680", "fSellPri":"660.160", "mSellPri":"660.160", "bankConversionPri":"663.300", "date":"2012-12-13", "time":"16:25:49" }, "data12":{ "name":"欧元", "fBuyPri":"812.520", "mBuyPri":"787.430", "fSellPri":"819.040", "mSellPri":"819.040", "bankConversionPri":"821.960", "date":"2012-12-13", "time":"16:25:49" }, "data13":{ "name":"澳门元", "fBuyPri":"77.910", "mBuyPri":"75.300", "fSellPri":"78.210", "mSellPri":"80.720", "bankConversionPri":"78.320", "date":"2012-12-13", "time":"16:25:49" }, "data14":{ "name":"菲律宾比索", "fBuyPri":"15.100", "mBuyPri":"14.640", "fSellPri":"15.220", "mSellPri":"15.690", "bankConversionPri":"15.220", "date":"2012-12-13", "time":"16:25:49" }, "data15":{ "name":"泰国铢", "fBuyPri":"20.240", "mBuyPri":"19.620", "fSellPri":"20.400", "mSellPri":"21.030", "bankConversionPri":"20.390", "date":"2012-12-13", "time":"16:25:49" }, "data16":{ "name":"新西兰元", "fBuyPri":"524.400", "mBuyPri":"0.000", "fSellPri":"528.610", "mSellPri":"0.000", "bankConversionPri":"526.770", "date":"2012-12-13", "time":"16:25:49" }, "data17":{ "name":"韩国元", "fBuyPri":"0.000", "mBuyPri":"0.560", "fSellPri":"0.000", "mSellPri":"0.608", "bankConversionPri":"0.586", "date":"2012-12-13", "time":"16:25:49" } }] }
密文JSON返回示例:
hCe2pmNRFnwP3gbrGm9vnobmGI+VZPwJAFJ6xcEkeJGyOQKBipdMSDN1yb3lDI48WoqV7IJHb3tjJABrAc00igyE1dYBYQophG/6anzWjA857/YaMzKj5kfiVxyBavy4a4OudBnMncw=

推荐接口/API

联系客服

010-58436659