黄金价格

上海黄金交易所、上海期货交易所、伦敦金、银价格等市场黄金价格行情,提供AU9999、黄金995、黄金延期、迷你黄金延期、延期单金、延期双金、沪金100G、沪金50G、沪金95、沪金99、IAU100G、IAU99.5、IAU99.99、IAU99.9、M黄金延期、沪铂95等品种的买入价、卖出价、最低价、最高价、成交量等数据。

接口文档

接口地址: https://api.jisuapi.com/gold/shgold

返回格式: JSON

请求方式: GET

请求示例:https://api.jisuapi.com/gold/shgold?appkey=yourappkey

接口id:1

备注:扫码关注公众号获取APIKEY

请求参数:

参数类型必填说明
appkeystringappkey

返回参数说明:

参数类型说明
typestring品种代号
typenamestring品种名称
pricestring最新价
openingpricestring开盘价
maxpricestring最高价
minpricestring最低价
changepercentstring涨跌幅
lastclosingpricestring昨收盘价
tradeamountstring总成交量
updatetimestring更新时间

返回示例:

JSON返回示例

{
  "status": 0,
  "msg": "ok",
  "result": [
    {
      "type": "Au(T+D)",
      "typename": "黄金延期",
      "price": "238.05",
      "openingprice": "241.00",
      "maxprice": "241.50",
      "minprice": "237.50",
      "changepercent": "-0.90%",
      "lastclosingprice": "240.22",
      "tradeamount": "45998.0000",
      "updatetime": "2015-10-26 15:29:13"
    },
    {
      "type": "Au99.99",
      "typename": "沪金99",
      "price": "238.30",
      "openingprice": "241.48",
      "maxprice": "241.48",
      "minprice": "238.00",
      "changepercent": "-0.91%",
      "lastclosingprice": "240.49",
      "tradeamount": "25400.9800",
      "updatetime": "2015-10-26 15:29:15"
    }
  ]
}