个股涨幅榜接口

接口名称:

/updownlist.php

请求方式:

GET

请求参数:

参数 必填 类型 描述
typeCode N string 板块代码,为空返回所有板块的前十个个股涨幅排行,up=所有个股涨幅榜,down=所有个股跌幅榜,swing=所有个股振幅榜,turnover=换手率榜,totalValue=总市值排行,circulationValue=流通市值排行
page N int 页码,默认1
pageSize N int 页大小,默认20
t Y int 十位时间戳
token Y string 签名

请求实列

http://kline.api.shqingsi.cn/v1/updownlist.php

http://kline.api.shqingsi.cn/v1/updownlist.php?typeCode=up

http://kline.api.shqingsi.cn/v1/updownlist.php?typeCode=down

http://kline.api.shqingsi.cn/v1/updownlist.php?typeCode=swing

http://kline.api.shqingsi.cn/v1/updownlist.php?typeCode=turnover

http://kline.api.shqingsi.cn/v1/updownlist.php?typeCode=totalValue

http://kline.api.shqingsi.cn/v1/updownlist.php?typeCode=circulationValue

返回数据:

{
  "error": 0,
  "msg": "",
  "success": true,
  "data": [
    {
      "name": "行业涨幅榜",
      "typeCode": "trade",
      "data": [
        {
          "code": "sh600975",
          "rate": 4.578670463561774,
          "change": 12.94,
          "name": "新五丰",
          "id": "10000025",
          "title": "农林牧渔",
          "changeRate": 10.034013605442174
        },
        {
          "code": "sh600072",
          "rate": 1.257451796820221,
          "change": 16.21,
          "name": "中船科技",
          "id": "1000009",
          "title": "船舶制造",
          "changeRate": 2.8553299492385853
        },
        {
          "code": "sz300783",
          "rate": 1.2363090204026503,
          "change": 28.14,
          "name": "三只松鼠",
          "id": "10000034",
          "title": "次新股",
          "changeRate": 10.007818608287735
        },
        {
          "code": "sh600895",
          "rate": 0.7863712064800922,
          "change": 19.38,
          "name": "张江高科",
          "id": "10000030",
          "title": "开发区",
          "changeRate": 2.4854574299312473
        },
        {
          "code": "sz002741",
          "rate": 0.763492528773142,
          "change": 13.84,
          "name": "光华科技",
          "id": "10000014",
          "title": "化工行业",
          "changeRate": 10.015898251192368
        },
        {
          "code": "sz300402",
          "rate": 0.5187520950478338,
          "change": 11.8,
          "name": "宝色股份",
          "id": "1000005",
          "title": "机械行业",
          "changeRate": 9.972041006523767
        }
      ]
    },
    {
      "name": "概念涨幅榜",
      "typeCode": "gainian",
      "data": [
        {
          "code": "sh600975",
          "rate": 4.126484951639533,
          "change": 12.94,
          "name": "新五丰",
          "id": "11111142",
          "title": "猪肉",
          "changeRate": 10.034013605442174
        },
        {
          "code": "sh600371",
          "rate": 4.04136386852709,
          "change": 11.44,
          "name": "万向德农",
          "id": "11111126",
          "title": "生物燃料",
          "changeRate": 9.999999999999991
        },
        {
          "code": "sz002426",
          "rate": 2.6689667454785813,
          "change": 2.81,
          "name": "胜利精密",
          "id": "11111111",
          "title": "触摸屏",
          "changeRate": 10.196078431372559
        },
        {
          "code": "sh600371",
          "rate": 2.0144705967536667,
          "change": 11.44,
          "name": "万向德农",
          "id": "11111117",
          "title": "生物育种",
          "changeRate": 9.999999999999991
        },
        {
          "code": "sz002119",
          "rate": 1.790433431942343,
          "change": 13.13,
          "name": "康强电子",
          "id": "11111151",
          "title": "电子支付",
          "changeRate": 9.966499162479073
        },
        {
          "code": "sh600371",
          "rate": 1.6439949619673593,
          "change": 11.44,
          "name": "万向德农",
          "id": "11111169",
          "title": "生态农业",
          "changeRate": 9.999999999999991
        }
      ]
    },
    {
      "name": "地域涨幅榜",
      "typeCode": "diyu",
      "data": [
        {
          "code": "sh600469",
          "rate": 3.0360601353959176,
          "change": 5.61,
          "name": "风神股份",
          "id": "22222226",
          "title": "河南省",
          "changeRate": 10.000000000000014
        },
        {
          "code": "sz002157",
          "rate": 0.9917573117392088,
          "change": 21.38,
          "name": "正邦科技",
          "id": "22222229",
          "title": "江西省",
          "changeRate": 5.632411067193679
        },
        {
          "code": "sz300613",
          "rate": 0.5902977665604775,
          "change": 106.16,
          "name": "富瀚微",
          "id": "2222225",
          "title": "上海市",
          "changeRate": 9.998963837944245
        },
        {
          "code": "sz002442",
          "rate": 0.43579992553540337,
          "change": 6.62,
          "name": "龙星化工",
          "id": "22222219",
          "title": "河北省",
          "changeRate": 9.966777408637883
        },
        {
          "code": "sz002185",
          "rate": 0.3307999298055827,
          "change": 4.82,
          "name": "华天科技",
          "id": "22222230",
          "title": "甘肃省",
          "changeRate": 8.803611738148998
        },
        {
          "code": "sh600707",
          "rate": 0.2823692558665518,
          "change": 5.8,
          "name": "彩虹股份",
          "id": "2222226",
          "title": "陕西省",
          "changeRate": 10.056925996204939
        }
      ]
    },
    {
      "name": "涨幅榜",
      "typeCode": "up",
      "data": [
        {
          "code": "sz002426",
          "name": "胜利精密",
          "price": "2.81",
          "changeRate": 10.2
        },
        {
          "code": "sh600707",
          "name": "彩虹股份",
          "price": "5.8",
          "changeRate": 10.06
        },
        {
          "code": "sh603843",
          "name": "正平股份",
          "price": "5.92",
          "changeRate": 10.04
        },
        {
          "code": "sh600975",
          "name": "新五丰",
          "price": "12.94",
          "changeRate": 10.03
        },
        {
          "code": "sz002741",
          "name": "光华科技",
          "price": "13.84",
          "changeRate": 10.02
        },
        {
          "code": "sz300706",
          "name": "阿石创",
          "price": "27.69",
          "changeRate": 10.01
        },
        {
          "code": "sz300783",
          "name": "三只松鼠",
          "price": "28.14",
          "changeRate": 10.01
        },
        {
          "code": "sz300549",
          "name": "优德精密",
          "price": "14.18",
          "changeRate": 10.01
        },
        {
          "code": "sh603236",
          "name": "移远通信",
          "price": "69.59",
          "changeRate": 10.01
        },
        {
          "code": "sz300655",
          "name": "晶瑞股份",
          "price": "17.59",
          "changeRate": 10.01
        }
      ]
    },
    {
      "name": "跌幅榜",
      "typeCode": "down",
      "data": [
        {
          "code": "sh600199",
          "name": "金种子酒",
          "price": "6.81",
          "changeRate": -9.2
        },
        {
          "code": "sh603867",
          "name": "新化股份",
          "price": "37",
          "changeRate": -7.01
        },
        {
          "code": "sz300240",
          "name": "飞力达",
          "price": "7.2",
          "changeRate": -6.74
        },
        {
          "code": "sh603863",
          "name": "松炀资源",
          "price": "25.16",
          "changeRate": -6.33
        },
        {
          "code": "sz002432",
          "name": "九安医疗",
          "price": "6.3",
          "changeRate": -6.11
        },
        {
          "code": "sz002648",
          "name": "卫星石化",
          "price": "14.37",
          "changeRate": -5.83
        },
        {
          "code": "sz300306",
          "name": "远方信息",
          "price": "10.93",
          "changeRate": -5.12
        },
        {
          "code": "sh600485",
          "name": "*ST信威",
          "price": "11.88",
          "changeRate": -5.04
        },
        {
          "code": "sh600119",
          "name": "*ST长投",
          "price": "5.68",
          "changeRate": -5.02
        },
        {
          "code": "sh603810",
          "name": "ST丰山",
          "price": "34.14",
          "changeRate": -5.01
        }
      ]
    },
    {
      "name": "换手率榜",
      "typeCode": "turnover",
      "data": null
    },
    {
      "name": "振幅榜",
      "typeCode": "swing",
      "data": [
        {
          "code": "sz002225",
          "name": "濮耐股份",
          "price": "5.61",
          "changeRate": 12.92
        },
        {
          "code": "sz000727",
          "name": "华东科技",
          "price": "2.39",
          "changeRate": 12.44
        },
        {
          "code": "sz002816",
          "name": "和科达",
          "price": "18.25",
          "changeRate": 11.92
        },
        {
          "code": "sz002870",
          "name": "香山股份",
          "price": "24.12",
          "changeRate": 11.82
        },
        {
          "code": "sz002952",
          "name": "亚世光电",
          "price": "39.2",
          "changeRate": 11.7
        },
        {
          "code": "sz000536",
          "name": "华映科技",
          "price": "3.67",
          "changeRate": 11.68
        },
        {
          "code": "sh601698",
          "name": "中国卫通",
          "price": "11.78",
          "changeRate": 11.65
        },
        {
          "code": "sz000859",
          "name": "国风塑业",
          "price": "5.54",
          "changeRate": 11.45
        },
        {
          "code": "sz002426",
          "name": "胜利精密",
          "price": "2.81",
          "changeRate": 11.37
        },
        {
          "code": "sz300256",
          "name": "星星科技",
          "price": "4.12",
          "changeRate": 11.25
        }
      ]
    },
    {
      "name": "市值排行",
      "typeCode": "totalValue",
      "data": [
        {
          "code": "sh601398",
          "name": "工商银行",
          "price": "5.57",
          "changeRate": 19851.83
        },
        {
          "code": "sh601939",
          "name": "建设银行",
          "price": "7.12",
          "changeRate": 17825.78
        },
        {
          "code": "sh601318",
          "name": "中国平安",
          "price": "86.69",
          "changeRate": 15848.97
        },
        {
          "code": "sh601288",
          "name": "农业银行",
          "price": "3.57",
          "changeRate": 12529.39
        },
        {
          "code": "sh600519",
          "name": "贵州茅台",
          "price": "963.2",
          "changeRate": 12099.45
        },
        {
          "code": "sh601857",
          "name": "中国石油",
          "price": "6.61",
          "changeRate": 12097.69
        },
        {
          "code": "sh601988",
          "name": "中国银行",
          "price": "3.68",
          "changeRate": 10804.03
        },
        {
          "code": "sh600036",
          "name": "招商银行",
          "price": "35.08",
          "changeRate": 8849.64
        },
        {
          "code": "sh601628",
          "name": "中国人寿",
          "price": "30",
          "changeRate": 8479.41
        },
        {
          "code": "sh600028",
          "name": "中国石化",
          "price": "5.28",
          "changeRate": 6392.56
        }
      ]
    },
    {
      "name": "流通市值排行",
      "typeCode": "circulationValue",
      "data": [
        {
          "code": "sh601398",
          "name": "工商银行",
          "price": "5.57",
          "changeRate": 15017.4
        },
        {
          "code": "sh600519",
          "name": "贵州茅台",
          "price": "963.2",
          "changeRate": 12099.45
        },
        {
          "code": "sh601857",
          "name": "中国石油",
          "price": "6.61",
          "changeRate": 10703.05
        },
        {
          "code": "sh601288",
          "name": "农业银行",
          "price": "3.57",
          "changeRate": 10527.18
        },
        {
          "code": "sh601318",
          "name": "中国平安",
          "price": "86.69",
          "changeRate": 9391.92
        },
        {
          "code": "sh601988",
          "name": "中国银行",
          "price": "3.68",
          "changeRate": 7735.09
        },
        {
          "code": "sh600036",
          "name": "招商银行",
          "price": "35.08",
          "changeRate": 7238.7
        },
        {
          "code": "sh601628",
          "name": "中国人寿",
          "price": "30",
          "changeRate": 6247.06
        },
        {
          "code": "sh600028",
          "name": "中国石化",
          "price": "5.28",
          "changeRate": 5045.45
        },
        {
          "code": "sz000858",
          "name": "五粮液",
          "price": "122.68",
          "changeRate": 4656.65
        }
      ]
    }
  ]
}


#字段说明:
id : 板块编号
title : 板块名称
rate :板块涨幅
code :股票代码
name :股票名称
price : 股票当前价格
change :股票涨跌额
changeRate :股票涨跌幅百分比|振幅|换手率|市值