Skip to content

分析师一致预期 ​

GET /api/v1.0/quote/{symbol}/research/analyst-consensus

获取股票的分析师一致预期及目标价。 返回包含:综合评级 rating(1-5,5=Strong Buy)、覆盖分析师总数 total、各档评级比例(强烈买入/买入/持有/跑输大盘/卖出,单位 %)、平均/最高/最低目标价(按报告币种)、数据更新时间(秒时间戳与日期串)。 仅返回汇总数据,不含逐条机构/分析师评级。 逐机构/分析师评级清单请用 quote.research_rating_summary;晨星评级报告请用 quote.research_morningstar_report。

请求参数 ​

参数类型位置必填说明
symbolstring路径是股票代码(路径参数),例: HK.00700 / US.AAPL

请求示例 ​

bash
curl 'https://webapi.moomoo.com/api/v1.0/quote/US.AAPL/research/analyst-consensus' | jq

响应字段 ​

参数类型说明
data.ratingint综合评级(1-5,5=强烈买入),例: 5
data.totalint覆盖该股票的分析师总数,例: 44
data.strong_buynumber强烈买入比例(%),例: 77.273
data.buynumber买入比例(%),例: 22.727
data.holdnumber持有比例(%),例: 0
data.underperformnumber跑输大盘比例(%),例: 0
data.sellnumber卖出比例(%),例: 0
data.averagenumber平均目标价(按报告币种),例: 686.71
data.highestnumber最高目标价,例: 794.73
data.lowestnumber最低目标价,例: 560
data.num_of_target_analystsint给出目标价预测的分析师人数(区别于 total 评级人数;无目标价数据时缺省),例: 38
data.update_timeint评级数据更新时间,秒级时间戳,例: 1780194341
data.update_time_strstring评级数据更新日期字符串(按市场时区),格式 yyyy-MM-dd,例: 2026-05-31

错误码 ​

ret_codeerror.code说明
0—成功
-3invalid_parameter参数缺失或不在允许范围内
-7invalid_symbol标的在证券库中不存在
-8unsupported市场或品类不在本接口范围内
-9permission_denied已登录但没有对应行情权限
-10no_data当前没有可返回的数据
-11rate_limited调用过于频繁

响应示例 ​

json
{
  "ret_code": 0,
  "ret_msg": "success",
  "data": {
    "rating": 0,
    "total": 0,
    "strong_buy": 1.2,
    "buy": 1.2,
    "hold": 1.2,
    "underperform": 1.2,
    "sell": 1.2,
    "average": 1.2,
    "highest": 1.2,
    "lowest": 1.2,
    "num_of_target_analysts": 1710000000000000,
    "update_time": 1710000000000000,
    "update_time_str": "example"
  }
}