• 23
  • 8863
  • 256

货币汇率

聚合数据 免费

支持人民币牌价、外汇汇率查询;数据仅供参考,交易时以银行柜台成交价为准

  • API文档
  • 错误码参照
  • 示例代码
  • 联系我们
立即调用
接口地址:http://web.juhe.cn:8080/finance/exchange/rmbquot
返回格式:json
请求方式:get
请求示例:http://web.juhe.cn:8080/finance/exchange/rmbquot?key=您申请的APPKEY
接口备注:100外币兑人民币,更新时间2分钟,此汇率仅供参考,以中国银行各分行实际交易汇率为准,不构成投资建议。投资者据此买卖,风险自担

请求参数说明:

名称 必填 类型 说明
  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"
    }
    }
    ]
}

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

  错误码 说明

系统级错误码参照:

  错误码 说明 旧版本(resultcode)

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

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

完整教学代码示例:

  语言 标题 提供者 时间

常见问题:

  内容 详细
  常见问题: http://www.juhe.cn/qa/index/1548230386

联系我们

  内容 详细
  接口测试: API测试工具
  技术支持: info@juhe.cn
  联系电话: 400-882-7715
  在线客服QQ: 800076065

现在注册,百款接口免费测试

免费注册