Skip to content

市場熱議/熱度榜 ​

GET /api/v1.0/quote/rank/hot-list

市場熱議/熱度榜。按交易熱度、搜索熱度、資訊熱度或綜合熱度排序,返回四類熱度及較上次增減,以及關聯社區/資訊標題。 支持市場 HK/US/CN/SG/AU/CA/JP/MY;可選市值上下限;offset+count 分頁,count 默認 10、最大 200。 盤中漲跌榜請用 quote.rank.top_movers。

請求參數 ​

參數類型位置必填說明
marketstring查詢是市場代碼。CN=A 股(滬深合併)
sort_fieldstring查詢否排序字段。TRADE_HEAT=交易熱度(默認)/ SEARCH_HEAT=搜索熱度 / NEWS_HEAT=資訊熱度 / AVERAGE_HEAT=綜合熱度
sort_dirstring查詢否排序方向,默認 DESCENDING
page_flagstring查詢否翻頁標記。首頁不傳或傳空串;下一頁回傳上一頁響應 pagination.page_flag。只有 pagination.completed 為 true 時停止
page_sizeint查詢否返回條數,默認 10,最大 200
market_cap_minnumber查詢否最小市值(上市貨幣,元),不傳不限制
market_cap_maxnumber查詢否最大市值(上市貨幣,元),不傳不限制

請求示例 ​

bash
curl -X GET 'https://webapi.moomoo.com/api/v1.0/quote/rank/hot-list?market=HK' \
  -H 'Authorization: Bearer <AccessToken>' | jq

響應參數 ​

參數類型說明
data.itemsobject[]
data.items[].codestring標的代碼,例: US.NVDA
data.items[].namestring標的名稱
data.items[].trade_heatnumber交易熱度
data.items[].trade_heat_changenumber交易熱度較上次增減
data.items[].search_heatnumber搜索熱度
data.items[].search_heat_changenumber搜索熱度較上次增減
data.items[].news_heatnumber資訊熱度
data.items[].news_heat_changenumber資訊熱度較上次增減
data.items[].average_heatnumber綜合熱度
data.items[].average_heat_changenumber綜合熱度較上次增減
data.items[].news_typeint關聯內容類型:Community=社區討論 / News=資訊
data.items[].news_titlestring關聯標題
data.items[].news_urlstring關聯資訊 URL(資訊類型時有效)
pagination.totalint
pagination.completedbool是否已到末頁。只有 true 時停止翻頁
pagination.page_flagstring下一頁標記。completed 為 false 時回傳為下一次請求的 page_flag;末頁為空串

錯誤碼 ​

ret_codeerror.code說明
0—成功
-3invalid_parameter參數不合法
-8unsupported不支持
-10no_data沒有數據

響應示例 ​

json
{
  "ret_code": 0,
  "ret_msg": "success",
  "data": {
    "items": [
      {
        "code": "US.AAPL",
        "name": "example",
        "trade_heat": 1.2,
        "trade_heat_change": 1.2,
        "search_heat": 1.2,
        "search_heat_change": 1.2,
        "news_heat": 1.2,
        "news_heat_change": 1.2,
        "average_heat": 1.2,
        "average_heat_change": 1.2,
        "news_type": 0,
        "news_title": "example",
        "news_url": "example"
      }
    ]
  },
  "pagination": {
    "page_flag": "",
    "completed": true,
    "total": 0
  }
}