当前所在位置:首页>数据接口>数据查询>黄金数据

黄金数据 

黄金品种、最新价、开盘价、最高价等信息

数据ID:22

接口状态:正常

连接应用数:48210

接入服务商:haoservice

/100次 购买套餐

  • API
  • 错误码参照
  • 资费套餐
  • 版本变更
  • 代码示例
  • 其他相关
接口地址: http://apis.haoservice.com/lifeservice/gold/bankgold
支持格式: 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":[{ "variety":"美元账户黄金", /*品种*/ "midpri":"1214.00", /*中间价*/ "buypri":"1212.50", /*买入价*/ "sellpri":"1215.50", /*卖出价*/ "maxpri":"1225.98", /*最高价*/ "minpri":"1209.48", /*最低价*/ "todayopen":"1223.18", /*今开盘*/ "closeyes":"1223.52", /*昨收盘*/ "quantpri":"-11.02", /*涨跌量*/ "time":"2014-10-30 09:25:58" /*更新时间*/ },{ "variety":"美元账户白银", "midpri":"17.22", "buypri":"17.14", "sellpri":"17.29", "maxpri":"17.32", "minpri":"17.06", "todayopen":"17.28", "closeyes":"17.29", "quantpri":"-0.14", "time":"2014-10-30 09:25:58" },{ "variety":"美元账户铂金", "midpri":"1256.50", "buypri":"1250.50", "sellpri":"1262.50", "maxpri":"1271.50", "minpri":"1255.00", "todayopen":"1271.50", "closeyes":"1271.50", "quantpri":"-21.00", "time":"2014-10-30 09:25:58" },{ "variety":"美元账户钯金", "midpri":"789.50", "buypri":"783.50", "sellpri":"795.50", "maxpri":"801.50", "minpri":"786.00", "todayopen":"796.50", "closeyes":"797.50", "quantpri":"-14.00", "time":"2014-10-30 09:25:58" },{ "variety":"人民币账户黄金", "midpri":"238.51", "buypri":"238.16", "sellpri":"238.86", "maxpri":"240.90", "minpri":"237.48", "todayopen":"240.32", "closeyes":"240.33", "quantpri":"-2.17", "time":"2014-10-30 09:25:58" },{ "variety":"人民币账户白银", "midpri":"3.38", "buypri":"3.36", "sellpri":"3.40", "maxpri":"3.40", "minpri":"3.35", "todayopen":"3.40", "closeyes":"3.40", "quantpri":"-0.03", "time":"2014-10-30 09:25:58" },{ "variety":"人民币账户铂金", "midpri":"246.86", "buypri":"245.96", "sellpri":"247.76", "maxpri":"249.91", "minpri":"246.57", "todayopen":"249.81", "closeyes":"249.81", "quantpri":"-3.85", "time":"2014-10-30 09:25:58" },{ "variety":"人民币账户钯金", "midpri":"155.11", "buypri":"154.21", "sellpri":"156.01", "maxpri":"157.47", "minpri":"154.42", "todayopen":"156.49", "closeyes":"156.49", "quantpri":"-2.28", "time":"2014-10-30 09:25:58" }] }
密文JSON返回示例:
hCe2pmNRFnwP3gbrGm9vnobmGI+VZPwJAFJ6xcEkeJGyOQKBipdMSDN1yb3lDI48WoqV7IJHb3tjJABrAc00igyE1dYBYQophG/6anzWjA857/YaMzKj5kfiVxyBavy4a4OudBnMncw=

推荐接口/API

联系客服

010-58436659