Skip to main content

Get Token Rents

Returns one page of the individual rental income payouts a token produced: one row per holder per distribution, across all distributions, newest first. Group the rows by external_id to match them to a distribution in Get Token Deposits.

Required permission: token:transactions:view

Request​

GET /v2/admin/tokens/{token_id}/rents?page=1&per_page=20

Parameters​

NameTypeInDescription
token_idstringpathRequired. Token id.
pageintegerqueryRequired. Page number, starting at 1.
per_pageintegerqueryRequired. Page size, 1 to 100.

Headers​

NameDescription
AuthorizationRequired. Bearer <access_token>

Example​

curl --request GET \
--url '{{baseUrl}}/v2/admin/tokens/67d8774e903bfcbe7eb5d93e/rents?page=1&per_page=20' \
--header 'Authorization: Bearer <access_token>'

Response​

{
"data": [
{
"id": "6a8b6f05f9129816a6cc7b44",
"user_id": "6a2f0b7e1c9d4e3f2a1b0c9d",
"token_id": "67d8774e903bfcbe7eb5d93e",
"deposit_id": "6a8b6f02f9129816a6cc7b30",
"external_id": 3,
"per_price": {
"id": "68fe8c129367fd414b227c7a",
"amount": "0.1",
"decimal": 6,
"symbol": "USDT",
"address": "0x073c0196e516a0e77b1c804d1825fb1bad23895d"
},
"total_price": {
"id": "68fe8c129367fd414b227c7a",
"amount": "2.5",
"decimal": 6,
"symbol": "USDT",
"address": "0x073c0196e516a0e77b1c804d1825fb1bad23895d"
},
"contract_created_at": "2025-05-01T10:00:12.381Z",
"created_at": "2025-05-01T10:00:13.002Z"
}
],
"total": 1,
"page": 1,
"per_page": 20
}

Response Fields​

FieldTypeDescription
data[].idstringPayout id.
data[].user_idstringHolder who was paid.
data[].token_idstringToken id.
data[].deposit_idstringDistribution the payout belongs to.
data[].external_idintegerThe distribution's id on chain; matches the deposit's external_id.
data[].per_priceprice | nullWhat one token earned.
data[].total_priceprice | nullper_price × the holder's quantity at the distribution.
data[].contract_created_atstring | nullWhen the distribution was recorded on chain.
data[].created_atstringWhen the row was created.
totalintegerNumber of payouts.
pageintegerPage number sent in the request.
per_pageintegerPage size sent in the request.

A price is {id, amount, decimal, symbol, address} with amount as a decimal string; see Amounts and Percentages.

Errors​

StatusCodeDescription
40010015Validation failed (page or per_page missing or out of range) — see details
40010016token_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)

See Errors for the error format and common codes.