MobSDK
  • 快速集成推送服务
  • 用数据驱动产品
  • 快速拥有手机短信验证功能
  • 实现Web与App的无缝链接
  • 轻松实现社会化功能
  • 最完美手游录像方案
  • 实现即时聊天功能
  • Discuz论坛移动化解决方案
  • 更方便的集成第三方支付
  • 快速搭建您的商城系统
  • 零成本搭建APP用户系统
  • 一步生成您的新闻APP
  • 为开发者提供各种数据
  • 解决用户快速增长与变现

黄金数据 永久免费 支持HTTPS

期货黄金,现货黄金数据查询。

API

  • 上海期货交易所行情
  • 上海黄金交易所行情

错误码参照

  • 上海期货交易所行情
  • 上海黄金交易所行情

价格套餐

  • 上海期货交易所行情
  • 上海黄金交易所行情

上海期货交易所行情

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

支持格式:JSON

请求方式:GET

请求示例:http://apicloud.mob.com/gold/future/query?key=appkey

备注说明:期货黄金数据查询接口

请求参数:

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

返回字段:

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

JSON返回示例:

                            {
    "msg": "success",
    "result": [
        {
            "buyNumber": "56",
            "buyPic": "262.95",
            "closePri": "263.05",
            "code": "AU0",
            "date": "2016-03-01",
            "dynamicSettle": "261.20",
            "highPic": "263.65",
            "limit": "1.60%",
            "lowPic": "259.00",
            "name": "黄金连续",
            "openPri": "260.10",
            "positionNum": "351736",
            "sellNumber": "16",
            "sellPic": "263.05",
            "totalVol": "552970",
            "yesDayPic": "259.40",
            "yesDaySettle": "258.90"
        },
        {
            "buyNumber": "1",
            "buyPic": "248.00",
            "closePri": "262.45",
            "code": "AU1602",
            "date": "2016-02-15",
            "dynamicSettle": "0.00",
            "highPic": "262.45",
            "limit": "0.83%",
            "lowPic": "262.45",
            "name": "黄金1602",
            "openPri": "0.00",
            "positionNum": "12",
            "sellNumber": "6",
            "sellPic": "266.80",
            "totalVol": "0",
            "yesDayPic": "262.45",
            "yesDaySettle": "260.30"
        },
        {
            "buyNumber": "3",
            "buyPic": "247.35",
            "closePri": "257.95",
            "code": "AU1603",
            "date": "2016-03-01",
            "dynamicSettle": "255.05",
            "highPic": "257.95",
            "limit": "1.14%",
            "lowPic": "257.95",
            "name": "黄金1603",
            "openPri": "0.00",
            "positionNum": "0",
            "sellNumber": "3",
            "sellPic": "267.75",
            "totalVol": "0",
            "yesDayPic": "257.95",
            "yesDaySettle": "255.05"
        },
        {
            "buyNumber": "5",
            "buyPic": "252.35",
            "closePri": "261.75",
            "code": "AU1604",
            "date": "2016-03-01",
            "dynamicSettle": "261.30",
            "highPic": "262.00",
            "limit": "1.53%",
            "lowPic": "258.60",
            "name": "黄金1604",
            "openPri": "259.70",
            "positionNum": "62",
            "sellNumber": "8",
            "sellPic": "270.65",
            "totalVol": "44",
            "yesDayPic": "258.00",
            "yesDaySettle": "257.80"
        },
        {
            "buyNumber": "1",
            "buyPic": "261.10",
            "closePri": "262.40",
            "code": "AU1605",
            "date": "2016-03-01",
            "dynamicSettle": "261.30",
            "highPic": "262.80",
            "limit": "1.39%",
            "lowPic": "258.95",
            "name": "黄金1605",
            "openPri": "259.80",
            "positionNum": "50",
            "sellNumber": "1",
            "sellPic": "263.10",
            "totalVol": "70",
            "yesDayPic": "259.05",
            "yesDaySettle": "258.80"
        }
    ],
    "retCode": "200"
}
                        

错误代码:

name type N D value

价格套餐:

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

上海黄金交易所行情

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

支持格式:JSON

请求方式:GET

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

备注说明:现货黄金交易数据查询接口

请求参数:

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

返回字段:

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

JSON返回示例:

                            {
    "msg": "success",
    "result": [
        {
            "closePri": "261.12",
            "highPic": "262.70",
            "limit": "0.87%",
            "lowPic": "181.20",
            "name": "AU9999",
            "openPri": "258.00",
            "time": "2016-03-0115:29:42",
            "totalTurnover": "396704384000.00",
            "totalVol": "1521164.00",
            "variety": "AU99.99",
            "yesDayPic": "258.86"
        },
        {
            "closePri": "--",
            "highPic": "--",
            "limit": "--",
            "lowPic": "--",
            "name": "黄金995",
            "openPri": "--",
            "time": "2016-02-2920:00:00",
            "totalTurnover": "--",
            "totalVol": "--",
            "variety": "AU995",
            "yesDayPic": "244.15"
        },
        {
            "closePri": "3282.00",
            "highPic": "3300.00",
            "limit": "0.34%",
            "lowPic": "3256.00",
            "name": "白银延期",
            "openPri": "3278.00",
            "time": "2016-03-0115:29:57",
            "totalTurnover": "8082533376.00",
            "totalVol": "2463436.00",
            "variety": "Ag(T+D)",
            "yesDayPic": "3290.00"
        },
        {
            "closePri": "3294.00",
            "highPic": "3305.00",
            "limit": "-0.45%",
            "lowPic": "3294.00",
            "name": "白银9999",
            "openPri": "3300.00",
            "time": "2016-03-0115:27:10",
            "totalTurnover": "475258.00",
            "totalVol": "144.00",
            "variety": "Ag99.99",
            "yesDayPic": "3309.00"
        },
        {
            "closePri": "261.20",
            "highPic": "262.60",
            "limit": "0.92%",
            "lowPic": "258.28",
            "name": "黄金延期",
            "openPri": "259.00",
            "time": "2016-03-0115:29:57",
            "totalTurnover": "23900538000.00",
            "totalVol": "91594.00",
            "variety": "Au(T+D)",
            "yesDayPic": "258.26"
        },
        {
            "closePri": "262.00",
            "highPic": "263.20",
            "limit": "1.00%",
            "lowPic": "258.85",
            "name": "延期单金",
            "openPri": "259.70",
            "time": "2016-03-0115:28:58",
            "totalTurnover": "21287500000.00",
            "totalVol": "81250.00",
            "variety": "Au(T+N1)",
            "yesDayPic": "259.40"
        },
        {
            "closePri": "264.10",
            "highPic": "265.00",
            "limit": "1.23%",
            "lowPic": "261.00",
            "name": "延期双金",
            "openPri": "261.00",
            "time": "2016-03-0115:28:58",
            "totalTurnover": "21331396000.00",
            "totalVol": "80648.00",
            "variety": "Au(T+N2)",
            "yesDayPic": "260.90"
        },
        {
            "closePri": "261.51",
            "highPic": "262.82",
            "limit": "1.00%",
            "lowPic": "258.30",
            "name": "沪金100G",
            "openPri": "259.60",
            "time": "2016-03-0115:28:59",
            "totalTurnover": "206340109.40",
            "totalVol": "790.00",
            "variety": "Au100g",
            "yesDayPic": "258.92"
        },
        {
            "closePri": "--",
            "highPic": "--",
            "limit": "0.00%",
            "lowPic": "--",
            "name": "沪条50G",
            "openPri": "--",
            "time": "2016-02-2920:00:00",
            "totalTurnover": "--",
            "totalVol": "--",
            "variety": "Au50g",
            "yesDayPic": "--"
        },
        {
            "closePri": "261.60",
            "highPic": "262.50",
            "limit": "1.06%",
            "lowPic": "260.00",
            "name": "沪金95",
            "openPri": "260.00",
            "time": "2016-03-0115:29:52",
            "totalTurnover": "515478218.80",
            "totalVol": "1968.00",
            "variety": "Au99.95",
            "yesDayPic": "258.86"
        }
    ],
    "retCode": "200"
}
                        

错误代码:

name type N D value

价格套餐:

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