上海黄金交易所黄金价格接口

黄金价格接口可以查询上海黄金交易所交易的黄金品种、最新价、开盘价、最高价等信息

接口名称:黄金价格接口

接口平台:api接口

接口地址:http://web.juhe.cn:8080/finance/gold/shgold

支持格式:JSON

请求方式:GET

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

接口备注:周末市场没有开放,故周末无数据

黄金价格接口调用代码JSON返回示例:

{
"resultcode":"200",
"reason":"SUCCESSED!",
"result":[
{
"1":{
"variety":"Ag(T+D)",  /*品种*/
"latestpri":"6585.00",  /*最新价*/
"openpri":"6712.00",  /*开盘价*/
"maxpri":"6721.00",  /*最高价*/
"minpri":"6581.00",  /*最低价*/
"limit":"-1.98%",  /*涨跌幅*/
"yespri":"6718.00",  /*昨收价*/
"totalvol":"1564524.0000", /*总成交量*/
"time":"2012-12-19 15:29:59" /*更新时间*/
},
...... 
"2":{
"variety":"Au(T+D)",
"latestpri":"336.60",
"openpri":"341.00",
"maxpri":"341.40",
"minpri":"336.00",
"limit":"-1.52%",
"yespri":"341.81",
"totalvol":"22842.0000",
"time":"2012-12-19 15:29:30"
},
"7":{
"variety":"Au99.99",
"latestpri":"336.77",
"openpri":"342.00",
"maxpri":"342.00",
"minpri":"336.40",
"limit":"-1.53%",
"yespri":"342.00",
"totalvol":"6936.2000",
"time":"2012-12-19 15:29:53"
}
......
}
]
}


你可能感兴趣的:(黄金价格,黄金价格接口)