Skip to main content

List Children Nodes

Searches for child nodes of a specific parent node with pagination support.

Request

POST /v2/admin/node/{node_id}/children/search

Parameters

NameTypeInDescription
node_idstringpathRequired. The ID of the parent node to search children for

Headers

NameDescription
AuthorizationRequired. Bearer token for authentication
Content-TypeRequired. Must be application/json

Request Body

NameTypeDescription
pagenumberPage number for pagination (defaults to 1)
per_pagenumberNumber of results per page (defaults to 20)

Example

curl --request POST \
--url '\{\{baseUrl\}\}/v2/admin/node/67d1887219270f00501b8d3f/children/search' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...' \
--header 'Content-Type: application/json' \
--data '{
"page": 1,
"per_page": 20
}'

Response

{
"data": [
{
"id": "67d6c447f47ff3adafda700d",
"parent_id": "67a68d4462dd1d00073d0af3",
"parent_name": null,
"name": "Tostik 5",
"type": 2,
"status": 1,
"contract": {
"wallet": {
"public_key": "0xAF4bf547c4d354266449dB91fe0c4d8861cFfc0E"
},
"fee_contract_address": "0x1bD038546274fbE5656711d4E5371EE1bABCd126",
"listing_contract_address": "0xb6627b1685d1199E3087D2247d5F432fb1721c34",
"rent_contract_address": "0x57327F5C456B661Fc0D337473ec8F14a4ADccfb3",
"burn_contract_address": "0x222CB82947be52A91a88B1A2E116abf4D9bA6eed",
"secondary_contract_address": "0x8B3a9f9Ea0fA265f56D28AD9Ea0416E5b6a32011"
},
"meta": null,
"int_id": 38,
"path": "1.38",
"listed_token_count": 0,
"supervisor_count": 0,
"created_at": "2025-03-16T12:29:59.46Z"
}
],
"total": 10,
"page": 1,
"per_page": 20
}

Response Fields

FieldTypeDescription
dataarrayList of child nodes
data[].idstringUnique identifier for the child node
data[].parent_idstringID of the parent node
data[].parent_namestringName of the parent node (null if not available)
data[].namestringName of the child node
data[].typenumberType code for the node
data[].statusnumberStatus code for the node
data[].contractobjectContract information for the node
data[].contract.wallet.public_keystringPublic key of the node's wallet
data[].contract.fee_contract_addressstringAddress of the fee contract
data[].contract.listing_contract_addressstringAddress of the listing contract
data[].contract.rent_contract_addressstringAddress of the rent contract
data[].contract.burn_contract_addressstringAddress of the burn contract (null if not available)
data[].contract.secondary_contract_addressstringAddress of the secondary contract
data[].metaobjectMetadata for the node (null if not available)
data[].int_idnumberInternal ID of the node
data[].pathstringPath hierarchy of the node
data[].listed_token_countnumberCount of listed tokens
data[].supervisor_countnumberCount of supervisors for the node
data[].created_atstringCreation timestamp of the node
totalnumberTotal number of child nodes
pagenumberCurrent page number
per_pagenumberNumber of items per page

Status Codes

Status CodeDescription
200Success
400Bad Request - Invalid request body
401Unauthorized - Invalid or missing authentication token
404Not Found - Parent node ID does not exist
500Internal Server Error