Industrial chains for a market
GET/api/v1.0/quote/industrial-chain/listList industrial chains for a market, with optional keyword search and offset+count pagination. Returns chain_id / chain_type (CHAIN / PARALLEL / UP_MID_DOWN) / name / detail / market cap / constituent count / related securities. count defaults to 20 (max 50). Omit keyword to use the server default order. For node structure use quote.industrial_chain.detail; for plate-to-chain lookup use quote.industrial_chain.by_plate.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
market | string | query | yes | Market code. SH / SZ both map to the CN industrial-chain universe |
keyword | string | query | no | Search keyword; omit to return the default ordered list |
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, max 50 |
Example
bash
curl -X GET 'https://webapi.moomoo.com/api/v1.0/quote/industrial-chain/list?market=HK&keyword=value' \
-H 'Authorization: Bearer <AccessToken>' | jqResponse parameters
| Name | Type | Description |
|---|---|---|
data.items | object[] | |
data.items[].chain_id | int | Industrial chain ID |
data.items[].chain_type | int | Chain type: CHAIN / PARALLEL / UP_MID_DOWN |
data.items[].name | string | Chain name |
data.items[].detail | string | Chain description |
data.items[].market_cap | number | Related market cap in listing currency |
data.items[].stocks_num | int | Constituent count |
data.items[].related_securities | string | Related security symbols |
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": [
{
"chain_id": 0,
"chain_type": 0,
"name": "example",
"detail": "example",
"market_cap": 1.2,
"stocks_num": 0,
"related_securities": "example"
}
]
},
"pagination": {
"page_flag": "",
"completed": true,
"total": 0
}
}