Skip to content

分析师财务预测 ​

GET /api/v1.0/quote/{symbol}/financials/estimate

获取个股未来多期与历史各期的分析师一致财务预测(Consensus Mean)及实际公布值对比。 支持切换预测指标类型(estimate_type:EPS_GAAP=每股收益 / REVENUE=总收入 / EBIT=息税前利润 / NET_INCOME_GAAP=净利润)与预测周期(period_type:QUARTERLY=季度 / SEMI_ANNUAL=半年度 / ANNUAL=年度)。 返回包含:historical_estimates(历史各期预测均值 vs 实际值与预测人数)与 future_estimates(未来各期预测均值与预测人数)。

请求参数 ​

参数类型位置必填说明
symbolstring路径是股票代码(路径参数),例: US.AAPL / US.TSLA / HK.00700
estimate_typestring查询否预测财务指标类型:EPS_GAAP=每股收益(默认)/ REVENUE=总收入 / EBIT=息税前利润 / NET_INCOME_GAAP=净利润
period_typestring查询否预测周期类型:AUTO=自动按有数据周期返回(默认,单季报>半年报>年报)/ QUARTERLY=季度 / SEMI_ANNUAL=半年度 / ANNUAL=年度
hist_countint查询否拉取的历史预测期数,默认 8,最大 20
fut_countint查询否拉取的未来预测期数,默认 4,最大 20

请求示例 ​

bash
curl -X GET 'https://webapi.moomoo.com/api/v1.0/quote/US.AAPL/financials/estimate?estimate_type=1&period_type=1&hist_count=1' \
  -H 'Authorization: Bearer <AccessToken>' | jq

响应参数 ​

参数类型说明
data.period_typeinteger实际返回的预测周期类型
data.currencystring统计货币单位,例: USD / HKD / CNY
data.historical_estimatesobject历史各期预测值与实际值列表
data.historical_estimates[].fiscal_yearinteger财年
data.historical_estimates[].fiscal_quarterinteger财季(1~4)
data.historical_estimates[].period_strstring周期字符串,例: '2025/Q4' / '2025/FY'
data.historical_estimates[].actual_valuestring实际值(原始值已除以 10^4)
data.historical_estimates[].consensus_meanstring分析师一致预测均值(原始值已除以 10^4)
data.historical_estimates[].num_analystsinteger参与预测的分析师人数
data.historical_estimates[].currencystring货币单位
data.future_estimatesobject未来各期分析师一致预测列表
data.future_estimates[].fiscal_yearinteger财年
data.future_estimates[].fiscal_quarterinteger财季(1~4)
data.future_estimates[].period_strstring周期字符串,例: '2025/Q4' / '2025/FY'
data.future_estimates[].actual_valuestring实际值(原始值已除以 10^4)
data.future_estimates[].consensus_meanstring分析师一致预测均值(原始值已除以 10^4)
data.future_estimates[].num_analystsinteger参与预测的分析师人数
data.future_estimates[].currencystring货币单位

错误码 ​

ret_codeerror.code说明
0—成功
-3invalid_parameter参数缺失或不在允许范围内
-7invalid_symbol标的不存在
-8unsupported市场或品类不支持
-9permission_denied没有对应权限
-10no_data没有可返回的数据
-11rate_limited调用过于频繁

响应示例 ​

json
{
  "ret_code": 0,
  "ret_msg": "success",
  "data": {
    "period_type": 0,
    "currency": "example",
    "historical_estimates": "example",
    "future_estimates": "example"
  }
}