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

黄金数据 

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

数据ID:22

接口状态:正常

连接应用数:48217

接入服务商:haoservice

/100次 购买套餐

  • API
  • 错误码参照
  • 资费套餐
  • 版本变更
  • 代码示例
  • 其他相关
接口地址: http://apis.haoservice.com/lifeservice/gold/MetricGold
支持格式: 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": "235.4", "change": "-0.57", "limit": "-0.24", "buypri": "235.35", "sellpri": "235.4", "openpri": "235.71", "yespri": "235.97", "maxpri": "237.27", "minpri": "235.35", "time": "2014-11-25 22:04:44", "tradvol": "15835" }, { "name": "伦敦黄金", "latestpri": "236.72", "change": "0.57", "limit": "0.24", "buypri": "236.72", "sellpri": "236.82", "openpri": "236.44", "yespri": "236.15", "maxpri": "237.33", "minpri": "236.72", "time": "2014-11-25 23:21:09", "tradvol": "0" }, { "name": "纽约期金(近月)", "latestpri": "236.52", "change": "0.61", "limit": "0.26", "buypri": "236.52", "sellpri": "236.54", "openpri": "236.31", "yespri": "235.91", "maxpri": "237.19", "minpri": "236.52", "time": "2014-11-25 23:21:03", "tradvol": "133146" }, { "name": "台湾黄金", "latestpri": "236.74", "change": "0.56", "limit": "0.24", "buypri": "236.74", "sellpri": "236.84", "openpri": "236.47", "yespri": "236.18", "maxpri": "237.36", "minpri": "236.74", "time": "2014-11-25 23:21:09", "tradvol": "0" }, { "name": "香港黄金", "latestpri": "235.95", "change": "0.38", "limit": "0.16", "buypri": "235.95", "sellpri": "236.08", "openpri": "235.68", "yespri": "235.57", "maxpri": "236.61", "minpri": "235.95", "time": "2014-11-25 23:21:05", "tradvol": "0" } ] }
密文JSON返回示例:
hCe2pmNRFnwP3gbrGm9vnobmGI+VZPwJAFJ6xcEkeJGyOQKBipdMSDN1yb3lDI48WoqV7IJHb3tjJABrAc00igyE1dYBYQophG/6anzWjA857/YaMzKj5kfiVxyBavy4a4OudBnMncw=

推荐接口/API

联系客服

010-58436659