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
      }
    ]
  }
}