Skip to content

熱門搜索股票 ​

GET /api/v1.0/quote/search-hot-stocks

獲取全市場實時搜索熱股排行列表。 返回包含:標的代碼(code)、市場(market)、名稱(name / sc_name / tc_name)與證券類型(sec_type)。 綜合成交/量比熱度榜請用 quote.rank.hot_list;搜索熱點詞條請用 quote.search_hot_topics。

請求參數 ​

參數類型位置必填說明
marketstring查詢否市場過濾,默認 US
countint查詢否返回條數,默認 10,最大 50

請求示例 ​

bash
curl -X GET 'https://webapi.moomoo.com/api/v1.0/quote/search-hot-stocks?market=1&count=1' \
  -H 'Authorization: Bearer <AccessToken>' | jq

響應參數 ​

參數類型說明
data.itemsobject[]
data.items[].codestring標的代碼,例: US.TSLA
data.items[].marketstring市場代碼
data.items[].namestring英文名稱
data.items[].sc_namestring簡體中文名稱
data.items[].tc_namestring繁體中文名稱
data.items[].sec_typeinteger證券類型

錯誤碼 ​

ret_codeerror.code說明
0—成功
-3invalid_parameter參數缺失或不在允許範圍內
-7invalid_symbol標的不存在
-8unsupported市場或品類不支持
-9permission_denied沒有對應權限
-10no_data沒有可返回的數據
-11rate_limited調用過於頻繁

響應示例 ​

json
{
  "ret_code": 0,
  "ret_msg": "success",
  "data": {
    "items": [
      {
        "code": "example",
        "market": "example",
        "name": "example",
        "sc_name": "example",
        "tc_name": "example",
        "sec_type": 0
      }
    ]
  }
}