聚合数据

货币汇率

  • 数据类型: 金融科技
  • 接口状态: 正常
  • 已连接App的数量: 11168
  • 描述: 支持人民币牌价、外汇汇率查询;数据仅供参考,交易时以银行柜台成交价为准

接口地址: http://web.juhe.cn:8080/finance/exchange/rmbquot

支持格式: JSON

请求方式: GET

请求示例: http://web.juhe.cn:8080/finance/exchange/rmbquot?key=您申请的APPKEY

请求参数:

名称 类型 必填 说明
key String APP Key
type int 两种格式(0或者1,默认为0)
bank int (0:工商银行,1:招商银行,2:建设银行,3:中国银行,4:交通银行,5:农业银行,默认为:中国银行)

返回字段:

名称 类型 说明
见JSON返回示例 - -

JSON返回示例:

{
"resultcode":"200",
"reason":"SUCCESSED!",
"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"
    }
    }
    ]
}

XML返回示例:


          

备注:100外币兑人民币,更新时间2分钟,此汇率仅供参考,以中国银行各分行实际交易汇率为准,不构成投资建议。投资者据此买卖,风险自担

服务级错误码参照(error_code):

错误码 说明
202301 查询不到结果

系统级错误码参照:

错误码 说明
10001 错误的请求KEY
10002 该KEY无请求权限
10003 KEY过期
10004 错误的OPENID
10005 应用未审核超时,请提交认证
10007 未知的请求源
10008 被禁止的IP
10009 被禁止的KEY
10011 当前IP请求超过限制
10012 请求超过次数限制
10013 测试KEY超过请求限制
10014 系统内部异常(调用充值类业务时,请务必联系客服或通过订单查询接口检测订单,避免造成损失)
10020 接口维护
10021 接口停用

错误码格式说明(示例:200201):

2 002 01
服务级错误(1为系统级错误) 服务模块代码(即数据ID) 具体错误代码

其他相关内容:

内容 详细
接口测试 API测试工具
技术支持 info@juhe.cn
联系电话 0512-62391880
QQ交流群 264591694
在线客服QQ 1794844675
商务合作QQ 603866358