評級機構資料
GET/api/v1.0/quote/research/institution-info按機構 UID 查詢評級機構資料。uids 逗號分隔。
請求參數
| 參數 | 類型 | 位置 | 必填 | 說明 |
|---|---|---|---|---|
uids | string | 查詢 | 是 | 機構 UID,逗號分隔 |
請求示例
bash
curl -X GET 'https://webapi.moomoo.com/api/v1.0/quote/research/institution-info?uids=value' \
-H 'Authorization: Bearer <AccessToken>' | jq響應參數
| 參數 | 類型 | 說明 |
|---|---|---|
data.items | object[] | |
data.items[].institution_uid | string | 機構 UID |
data.items[].institution_name | string | 機構名稱 |
data.items[].picture_url | string | 圖片 |
錯誤碼
| ret_code | error.code | 說明 |
|---|---|---|
| 0 | — | 成功 |
| -3 | invalid_parameter | 參數不合法 |
| -8 | unsupported | 不支持 |
| -10 | no_data | 沒有數據 |
響應示例
json
{
"ret_code": 0,
"ret_msg": "success",
"data": {
"items": [
{
"institution_uid": "example",
"institution_name": "example",
"picture_url": "example"
}
]
}
}