Skip to main content

Get Fee by ID

Reads one fee row by its own ID, whatever scope it was written at (setup, node, network or default). The row's own scope decides who may read it: a node fee (entity 3) needs the node inside your API key's node subtree; an owner or platform-owner fee (entity 1 or 2) needs the platform owner node's API key. See Fees Overview.

An ID that matches no fee answers 200 with the body null.

Required permission: fee:view

Request​

GET /v2/admin/fees/{fee_id}

Parameters​

NameTypeInDescription
fee_idstringpathRequired. Fee row ID (24-character hex)

Headers​

NameDescription
AuthorizationRequired. Bearer <access_token>

Example​

curl --request GET \
--url '{{baseUrl}}/v2/admin/fees/6a5530c19c6088e126a4be9a' \
--header 'Authorization: Bearer <access_token>'

Response​

{
"id": "6a5530c19c6088e126a4be9a",
"entity": 3,
"node_id": "6a4bef2b1e781b11c22e9707",
"setup_id": "6a552db09c6088e126a4be87",
"network_id": "6a4bf0a21e781b11c22e9712",
"value": {
"tokenization": {
"asset_tokenization": { "id": 0, "value": "2.5" },
"tokenized_asset_sales": { "id": 0, "value": "1" },
"management": { "id": 0, "value": "0.5" }
},
"secondary_market": {
"buy_order": { "id": 0, "value": "1" },
"sell_order": { "id": 0, "value": "1" },
"otc_sale": { "id": 0, "value": "1.5" }
},
"lending": {
"borrower": { "id": 0, "value": "0" },
"lending": { "id": 0, "value": "0" },
"liquidation": { "id": 0, "value": "0" }
}
},
"categories": null
}

Response Fields​

FieldTypeDescription
idstringFee row ID
entityinteger1 owner, 2 platform owner, 3 node
platform_owner_idstringOmitted unless the row carries a platform owner scope
node_idstringNode the row is scoped to. Omitted when the row has no node
setup_idstringSetup the row overrides. Omitted for rows that are not setup-scoped
network_idstringNetwork the row is scoped to. Omitted when the row has no network
valueobjectThe nine rates, grouped as tokenization, secondary_market and lending
value.<group>.<leaf>.valuestringRate in percent
value.<group>.<leaf>.idintegerAlways 0 in responses; identify a leaf by its key
categoriesarray or nullPer-category overrides
categories[].idstringCategory ID
categories[].int_idintegerCategory numeric ID
categories[].pathstringCategory path
categories[].valueobjectRates for this category, same shape as value

Errors​

StatusCodeDescription
40010015Validation failed — see details
40010016fee_id is not a 24-character hex ID
40010001 (domain 2)The node the row is scoped to was not found
40310005 (domain 2)The row's node is outside your API key's node subtree
40310003 (domain 9)An owner or platform-owner row was requested by a key that is not the platform owner node's
50010000Unexpected server error

See Errors for the error format and common codes.