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

黄金数据 

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

数据ID:22

接口状态:正常

连接应用数:48212

接入服务商:haoservice

/100次 购买套餐

  • API
  • 错误码参照
  • 资费套餐
  • 版本变更
  • 代码示例
  • 其他相关
接口地址: http://apis.haoservice.com/lifeservice/gold/InternationalGold
支持格式: 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": [{ "name": "台湾黄金", "latestpri": "42958.00", "change": "-55.00", "limit": "-0.13", "buypri": "42958.00", "sellpri": "42973.00", "openpri": "42811.00", "yespri": "43013.00", "maxpri": "43090.00", "minpri": "42616.00", "time": "2014-11-03 21:22:15 " }, { "name": "现货钯金", "latestpri": "803.50", "change": "15.40", "limit": "1.95", "buypri": "803.50", "sellpri": "806.50", "openpri": "788.34", "yespri": "788.10", "maxpri": "808.00", "minpri": "784.99", "time": "2014-11-03 21:22:14 " }, { "name": "现货白银", "latestpri": "16.03", "change": "-0.11", "limit": "-0.68", "buypri": "16.03", "sellpri": "16.07", "openpri": "16.14", "yespri": "16.14", "maxpri": "16.15", "minpri": "15.72", "time": "2014-11-03 21:22:15 " }, { "name": "现货铂金", "latestpri": "1237.00", "change": "4.50", "limit": "0.37", "buypri": "1237.00", "sellpri": "1240.00", "openpri": "1232.31", "yespri": "1232.50", "maxpri": "1243.50", "minpri": "1219.25", "time": "2014-11-03 21:22:15 " }, { "name": "现货黄金", "latestpri": "1170.10", "change": "-2.50", "limit": "-0.21", "buypri": "1170.10", "sellpri": "1170.50", "openpri": "1173.68", "yespri": "1172.60", "maxpri": "1173.70", "minpri": "1161.70", "time": "2014-11-03 21:22:14 " }, { "name": "香港黄金", "latestpri": "10898.00", "change": "3.00", "limit": "0.03", "buypri": "10898.00", "sellpri": "10903.00", "openpri": "10901.00", "yespri": "10895.00", "maxpri": "10930.00", "minpri": "10826.00", "time": "2014-11-03 21:22:10 " }] }
密文JSON返回示例:
hCe2pmNRFnwP3gbrGm9vnobmGI+VZPwJAFJ6xcEkeJGyOQKBipdMSDN1yb3lDI48WoqV7IJHb3tjJABrAc00igyE1dYBYQophG/6anzWjA857/YaMzKj5kfiVxyBavy4a4OudBnMncw=

推荐接口/API

联系客服

010-58436659