MobSDK

白银数据 永久免费 支持HTTPS

上海交易所现货白银数据行情,提供白银延期、白银9999、白银连续等品种的最新价、最高价、涨跌幅、最低价、开盘价、成交量、成交额等数据。

API

  • 现货白银数据查询
  • 期货白银数据查询

错误码参照

  • 现货白银数据查询
  • 期货白银数据查询

价格套餐

  • 现货白银数据查询
  • 期货白银数据查询

现货白银数据查询

接口地址:http://apicloud.mob.com/gold/silver/spot/query

支持格式:JSON

请求方式:GET

请求示例:http://apicloud.mob.com/gold/silver/spot/query?key=appke

备注说明:上海交易所现货白银数据查询接口

请求参数:

name type N D value
key string 用户申请的key

返回字段:

name type N D value
retCode string 返回码
msg string 返回说明
result string 返回结果集
closePri string 最新价
highPic string 最高价
limit string 涨跌幅
lowPic string 最低价
name string 名称
openPri string 开盘价
time string 时间
totalTurnover string 总成交额
totalVol string 总成交量
variety string 品种
yesDayPic string 昨收价

JSON返回示例:

                            {
    "msg": "success",
    "result": [
        {
            "closePri": "3634.00",
            "highPic": "3697.00",
            "limit": "1.59%",
            "lowPic": "3582.00",
            "name": "白银延期",
            "openPri": "3583.00",
            "time": "2016-04-2015:29:57",
            "totalTurnover": "36002865152.00",
            "totalVol": "9885466.00",
            "variety": "Ag(T+D)",
            "yesDayPic": "3513.00"
        },
        {
            "closePri": "3648.00",
            "highPic": "3648.00",
            "limit": "5.43%",
            "lowPic": "3648.00",
            "name": "白银9999",
            "openPri": "3648.00",
            "time": "2016-04-2015:21:11",
            "totalTurnover": "21888.00",
            "totalVol": "6.00",
            "variety": "Ag99.99",
            "yesDayPic": "3460.00"
        }
    ],
    "retCode": "200"
}
                        

错误代码:

name type N D value
22701 查询不到数据

价格套餐:

name type N D value
免费套餐 免费 无限次

期货白银数据查询

接口地址:http://apicloud.mob.com/finance/silver/shfuture/query

支持格式:JSON

请求方式:GET

请求示例:http://apicloud.mob.com/finance/silver/shfuture/query?key=appke

备注说明:上海交易所期货白银数据查询接口

请求参数:

name type N D value
key string 用户申请的appkey

返回字段:

name type N D value
retCode string 返回码
msg string 返回说明
result string 返回结果集
buyNumber string 买量
buyPic string 买入价
code string 代码
date string 日期
dynamicSettle string 动态结算
highPic string 最高价
limit string 涨跌幅
lowPic string 最低价
name string 名称
openPri string 开盘价
positionNum string 持仓量
sellPic string 卖出价
totalVol string 成交量
yesDayPic string 昨收价
yesDaySettle string 昨日结算价

JSON返回示例:

                            {
    "msg": "success",
    "result": [
        {
            "buyNumber": "28",
            "buyPic": "3679",
            "closePri": "3679",
            "code": "AG0",
            "date": "2016-04-20",
            "dynamicSettle": "3695",
            "highPic": "3755",
            "limit": "3.84%",
            "lowPic": "3650",
            "name": "白银连续",
            "openPri": "3689",
            "positionNum": "712300",
            "sellNumber": "48",
            "sellPic": "3680",
            "totalVol": "1648032",
            "yesDayPic": "3646",
            "yesDaySettle": "3543"
        },
        {
            "buyNumber": "1",
            "buyPic": "3555",
            "closePri": "3620",
            "code": "AG1604",
            "date": "2016-04-15",
            "dynamicSettle": "0",
            "highPic": "3620",
            "limit": "0.00%",
            "lowPic": "3620",
            "name": "白银1604",
            "openPri": "0",
            "positionNum": "20132",
            "sellNumber": "3",
            "sellPic": "3949",
            "totalVol": "0",
            "yesDayPic": "3620",
            "yesDaySettle": "3620"
        }
    ],
    "retCode": "200"
}
                        

错误代码:

name type N D value
22701 查询不到数据

价格套餐:

name type N D value
免费套餐 免费 无限次
MobSDK后台打包中:
查看
MobSDK打包中
正在根据你选择的SDK打包中:
取消下载
免费咨询
扫一扫添加公众号
24小时在线免费咨询