Institutional holding list for one crypto
GET/api/v1.0/quote/crypto/institution-holding/listInstitutional holding list for one crypto. Quantities are in coins; ratios are percentages.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
code | string | query | yes | Crypto symbol, e.g. CC.BTC |
institution_type | int | query | no | Institution type; omit for all |
page_flag | string | query | no | Page cursor. Omit or pass empty on the first page; pass back pagination.page_flag. Stop only when pagination.completed is true |
page_size | int | query | no | Page size, default 20, minimum 1, maximum 200. |
Example
bash
curl -X GET 'https://webapi.moomoo.com/api/v1.0/quote/crypto/institution-holding/list?code=US.AAPL' \
-H 'Authorization: Bearer <AccessToken>' | jqResponse parameters
| Name | Type | Description |
|---|---|---|
data.items | object[] | |
data.items[].institution_id | int | Institution ID |
data.items[].institution_type | int | Institution type |
data.items[].holding_count | number | Coins held |
data.items[].holding_change | number | Change in coins held |
data.items[].holding_ratio | string | Share of supply, percent |
data.items[].holding_value | string | Holding value, USD |
pagination.total | int | |
pagination.completed | bool | True when this is the last page. Stop paging only when completed is true |
pagination.page_flag | string | Next page cursor. Pass it back as page_flag while completed is false; empty on the last page |
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": {
"items": [
{
"institution_id": 0,
"institution_type": 0,
"holding_count": 1.2,
"holding_change": 1.2,
"holding_ratio": "example",
"holding_value": "example"
}
]
},
"pagination": {
"page_flag": "",
"completed": true,
"total": 0
}
}