Skip to main content

Get Token Investor

Returns one holder of a token, in the shape of a row of Get Token Investors. The holding is what is looked up: a user who holds none of the token, including one who sold their whole position, is reported as not found.

Required permission: token:view

Request​

GET /v2/admin/tokens/{token_id}/investors/{investor_id}

Parameters​

NameTypeInDescription
token_idstringpathRequired. Token id.
investor_idstringpathRequired. User id of the investor.

Headers​

NameDescription
AuthorizationRequired. Bearer <access_token>

Example​

curl --request GET \
--url '{{baseUrl}}/v2/admin/tokens/67d8774e903bfcbe7eb5d93e/investors/6a2f0b7e1c9d4e3f2a1b0c9d' \
--header 'Authorization: Bearer <access_token>'

Response​

{
"id": "6a2f0b7e1c9d4e3f2a1b0c9d",
"email": "investor@example.com",
"name": "Ayse",
"surname": "Yilmaz",
"has_kyc_token": true,
"created_at": "2025-02-11T14:20:05.118Z",
"holding": {
"remaining_quantity": 25,
"total_purchased": 40,
"total_purchased_amount": "384",
"wallet_count": 2
}
}

Response Fields​

FieldTypeDescription
idstringUser id.
emailstringEmail.
namestringFirst name. Absent when not on record.
surnamestringSurname. Absent when not on record.
has_kyc_tokenbooleanAt least one of the user's wallets holds a KYC token.
created_atstringWhen the user registered.
holding.remaining_quantityintegerTokens held now, summed over the user's wallets.
holding.total_purchasedintegerTokens ever bought.
holding.total_purchased_amountstringAmount paid for total_purchased, a decimal string.
holding.wallet_countintegerHow many of the user's wallets hold the token.

Errors​

StatusCodeDescription
40010016token_id or investor_id is not a valid id
40010001Token not found (token domain 5)
40310005The caller's node does not cover the token's node (node domain 2)
40010001The user does not hold the token, or does not exist (user domain 1)

See Errors for the error format and common codes.