维度评级摘要
GET/api/v1.0/quote/research/dimension-summary按机构或分析师 UID 拉取其覆盖标的的评级摘要(多条历史)。 dimension:INSTITUTION / ANALYST。 offset/count 按标的分页(count 最大 20)。 每只标的近一年的评级从 rating_items 摊平进 items,因此 items 条数可以大于 count。
请求参数
| 参数 | 类型 | 位置 | 必填 | 说明 |
|---|---|---|---|---|
dimension | string | 查询 | 否 | 维度 |
uid | string | 查询 | 是 | 机构或分析师 UID |
market | string | 查询 | 否 | 市场 |
page_flag | string | 查询 | 否 | 翻页标记。首页不传或传空串;下一页回传上一页响应 pagination.page_flag。只有 pagination.completed 为 true 时停止 |
page_size | int | 查询 | 否 | 标的数,最大 20。历史评级摊平后,items 可以多于该值 |
请求示例
bash
curl -X GET 'https://webapi.moomoo.com/api/v1.0/quote/research/dimension-summary?uid=value&market=US' \
-H 'Authorization: Bearer <AccessToken>' | jq响应参数
| 参数 | 类型 | 说明 |
|---|---|---|
data.items | object[] | |
data.items[].code | string | 标的 |
data.items[].rating | int | 评级 |
data.items[].target_price | string | 目标价 |
data.items[].recommendation_date | string | 建议日期,YYYY-MM-DD,时区随标的市场 |
pagination.completed | bool | 是否已到末页。只有 true 时停止翻页 |
pagination.page_flag | string | 下一页标记。completed 为 false 时回传为下一次请求的 page_flag;末页为空串 |
错误码
| ret_code | error.code | 说明 |
|---|---|---|
| 0 | — | 成功 |
| -3 | invalid_parameter | 参数不合法 |
| -8 | unsupported | 不支持 |
| -10 | no_data | 没有数据 |
响应示例
json
{
"ret_code": 0,
"ret_msg": "success",
"data": {
"items": [
{
"code": "US.AAPL",
"rating": 0,
"target_price": "example",
"recommendation_date": "2026-10-16"
}
]
},
"pagination": {
"page_flag": "",
"completed": true
}
}