Search rating institutions or analysts
GET/api/v1.0/quote/research/rating-searchSearch rating institutions or analysts. search_type: INSTITUTION / ANALYST.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
keyword | string | query | yes | Keyword Max length 64 |
search_type | string | query | no | Search type, default INSTITUTION Default "INSTITUTION"; Values INSTITUTION, ANALYST |
market | string | query | no | Market Default "US"; Values US, CA |
count | int | query | no | Page size, default 10, minimum 1, maximum 20. ≥ 1; ≤ 20; Default 10 |
Example
bash
curl -X GET 'https://webapi.moomoo.com/api/v1.0/quote/research/rating-search?keyword=value&market=US' \
-H 'Authorization: Bearer <AccessToken>' | jqResponse parameters
| Name | Type | Description |
|---|---|---|
data | object | |
data.institutions | object[] | Institution hits |
data.analysts | object[] | Analyst hits. 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": {
"institutions": [],
"analysts": []
}
}