Skip to content

One industrial chain's node tree and information links ​

GET /api/v1.0/quote/industrial-chain/detail

Get one industrial chain's node tree and information links. Returns chain_id / chain_type / name, layer-order nodes (layer / parent_node_id / plate_id), and articles. For constituents use quote.industrial_plate.stock?chain_id=; for a node plate summary use quote.industrial_plate.info.

Parameters ​

NameTypeInRequiredDescription
chain_idintqueryyesIndustrial chain ID from quote.industrial_chain.list

Example ​

bash
curl -X GET 'https://webapi.moomoo.com/api/v1.0/quote/industrial-chain/detail?chain_id=1' \
  -H 'Authorization: Bearer <AccessToken>' | jq

Response parameters ​

NameTypeDescription
data.chain_idintIndustrial chain ID
data.chain_typeintChain type: CHAIN / PARALLEL / UP_MID_DOWN
data.namestringChain name
data.nodesobject[]Nodes in layer order (all layer-1 nodes, then layer-2, and so on)
data.nodes[].node_idintNode ID
data.nodes[].parent_node_idintParent node ID; 0 for layer-1 nodes
data.nodes[].layerintNode layer, starting at 1
data.nodes[].namestringNode name
data.nodes[].plate_idintLinked industrial plate ID; 0 if none
data.articlesobject[]Information links
data.articles[].titlestringTitle
data.articles[].urlstringURL

Errors ​

ret_codeerror.codeDescription
0—Success
-3invalid_parameterMissing or invalid parameter
-8unsupportedNot supported
-10no_dataNo data

Response example ​

json
{
  "ret_code": 0,
  "ret_msg": "success",
  "data": {
    "chain_id": 0,
    "chain_type": 0,
    "name": "example",
    "nodes": [
      {
        "node_id": 0,
        "parent_node_id": 0,
        "layer": 0,
        "name": "example",
        "plate_id": 0
      }
    ],
    "articles": [
      {
        "title": "example",
        "url": "example"
      }
    ]
  }
}