Analyst target-price range
GET/api/v1.0/quote/{code}/research/target-priceAnalyst target-price range (high / average / low) and analyst count. Same source as the target fields of get_research_analyst_consensus.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
code | string | path | yes | Symbol, e.g. US.AAPL |
need_plot | bool | query | no | Include the 1-year close plot |
Example
bash
curl -X GET 'https://webapi.moomoo.com/api/v1.0/quote/US.AAPL/research/target-price' \
-H 'Authorization: Bearer <AccessToken>' | jqResponse parameters
| Name | Type | Description |
|---|---|---|
data.highest | number | Highest target |
data.average | number | Average target |
data.lowest | number | Lowest target |
data.analyst_count | int | Number of analysts |
data.update_time | int | Update time, Unix microseconds |
Errors
| ret_code | error.code | Description |
|---|---|---|
| 0 | — | Success |
| -3 | invalid_parameter | Missing or invalid parameter |
| -8 | unsupported | Not supported |
| -10 | no_data | No data |
Response example
json
{
"ret_code": 0,
"ret_msg": "success",
"data": {
"highest": 1.2,
"average": 1.2,
"lowest": 1.2,
"analyst_count": 0,
"update_time": 1710000000000000
}
}